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,