fix: Init 前 AcquireRoundtableRoom
与 Java 对齐,避免新版 Gateway「会商会话标识缺失」。 Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
5dd5049298
commit
6ef395a7f5
2 files changed
+68
-1
No files matched your search
@@ -88,6 +88,12 @@ func (r *LiveChainRunner) Run(job *domain.AnalysisJob) {
|
||||
if dfTaskID == "" {
|
||||
dfTaskID = job.TaskID
|
||||
}
|
||||
putProgress(job, 3, "正在占用会商房间…")
|
||||
r.flush(job)
|
||||
if err := r.DF.AcquireRoundtableRoom(job.DraftID, dfTaskID, roomSessionID); err != nil {
|
||||
r.fail(job, err.Error())
|
||||
return
|
||||
}
|
||||
tids, err := r.DF.InitMultiAgent(agentNames, r.Coord, job.Model, deerflow.InitMultiAgentOpts{
|
||||
DraftID: job.DraftID,
|
||||
TaskID: dfTaskID,
|
||||
|
||||
Reference in new issue
Block a user