Update app.py
Browse files
app.py
CHANGED
|
@@ -1343,7 +1343,6 @@ def handsome_chat_completions():
|
|
| 1343 |
except requests.exceptions.RequestException as e:
|
| 1344 |
logging.error(f"请求转发异常: {e}")
|
| 1345 |
return jsonify({"error": str(e)}), 500
|
| 1346 |
-
return jsonify({"error": "model not supported"}), 400
|
| 1347 |
else:
|
| 1348 |
try:
|
| 1349 |
start_time = time.time()
|
|
|
|
| 1343 |
except requests.exceptions.RequestException as e:
|
| 1344 |
logging.error(f"请求转发异常: {e}")
|
| 1345 |
return jsonify({"error": str(e)}), 500
|
|
|
|
| 1346 |
else:
|
| 1347 |
try:
|
| 1348 |
start_time = time.time()
|