修复deepseek无法对话的bug

This commit is contained in:
李琦
2026-08-15 17:05:22 +08:00
parent d7e382f2e7
commit 59a35db285
9 changed files with 428 additions and 79 deletions

View File

@@ -48,7 +48,9 @@ func NewEnhancerHandler(svc *service.EnhancerService) *EnhancerHandler {
// {
// "code": 200,
// "data": {
// "content": "...",
// "content": "...", // 第一份成功(兼容)
// "contents": ["..."], // 仅成功内容
// "results": [{index,ok,content,error,steps}], // 多份时按槽位
// "provider": "spark",
// "model": "spark-max",
// "steps": [...],