refactor(prompt): 优化任务等待机制并改进数据结构

This commit is contained in:
2026-05-21 14:23:34 +08:00
parent 15f5761000
commit a34eb4ea61
4 changed files with 228 additions and 120 deletions

View File

@@ -21,8 +21,8 @@ type ComposeMessagesRes struct {
// MultiRoundResult 多轮返回结果
type MultiRoundResult struct {
TotalRounds int `json:"total_rounds"` // 总轮数
Rounds []any `json:"rounds"` // 每轮详情(动态类型)
TotalRounds int `json:"total_rounds"` // 总轮数
Rounds []map[string]any `json:"rounds"` // 每轮详情(动态类型)
}
type CallbackReq struct {