refactor(asynch): 重构异步模型配置和队列管理

This commit is contained in:
WangLiZhao
2026-06-02 20:26:45 +08:00
parent c7e9eb889b
commit 52124385a1
18 changed files with 725 additions and 1005 deletions
-11
View File
@@ -77,14 +77,3 @@ func SetTaskHeadersToCtx(ctx context.Context, headers map[string]string) context
}
return ctx
}
// ParseStoredPayload 解析入库的 request_payload,拆出模型调用核心数据
func ParseStoredPayload(v map[string]any) map[string]any {
if v == nil {
return nil
}
if p, ok := v["payload"]; ok {
return gconv.Map(p)
}
return v
}