From a6b0bb0183ce6a58e34d2016ad3cd311d54b6105 Mon Sep 17 00:00:00 2001 From: Cyberes Date: Wed, 23 Aug 2023 16:09:36 -0600 Subject: [PATCH] actually we want 500 --- llm_server/routes/v1/info.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llm_server/routes/v1/info.py b/llm_server/routes/v1/info.py index 084f38f..0b77357 100644 --- a/llm_server/routes/v1/info.py +++ b/llm_server/routes/v1/info.py @@ -28,7 +28,7 @@ def get_model(): 'code': 502, 'error': 'failed to reach backend', 'type': error.__class__.__name__ - }), 502 + }), 500 # return 500 so Cloudflare doesn't intercept us else: return jsonify({ 'result': model,