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:
CJACK committed 2026-02-16 15:17:42 +08:00
1 parent 57f2041edb
commit c7ffcd76e6
10 files changed
+195 -26

No files matched your search

+1 -1
View File
@@ -621,7 +621,7 @@ data: {"type":"message_stop"}
不同模块错误格式不完全一致(按当前实现):
- OpenAI 接口常见:`{"error":"..."}`
- OpenAI 接口:`{"error":{"message":"...","type":"..."}}`
- Claude 接口常见:`{"error":{"type":"...","message":"..."}}`
- Admin 接口常见:`{"detail":"..."}`