mirror of
https://github.com/CJackHwang/ds2api.git
synced 2026-05-08 02:15:27 +08:00
feat: Enhance DeepSeek API compatibility by updating SSE parsing, standardizing error responses, and improving API key management in the tester UI.
This commit is contained in:
@@ -593,7 +593,7 @@ Or manual deploy required:
|
||||
|
||||
Error payload formats are not fully unified in current code:
|
||||
|
||||
- OpenAI routes often return: `{"error":"..."}`
|
||||
- OpenAI routes return: `{"error":{"message":"...","type":"..."}}`
|
||||
- Claude routes often return: `{"error":{"type":"...","message":"..."}}`
|
||||
- Admin routes often return: `{"detail":"..."}`
|
||||
|
||||
|
||||
Reference in New Issue
Block a user