fix: make HTTP user agents configurable and remove tool identifiers

This commit is contained in:
ji ruo committed 2026-11-11 18:56:33 +08:00
1 parent 40746901db
commit 17c2fc5e08
30 files changed
+1204 -26

No files matched your search

+1 -1
View File
@@ -488,7 +488,7 @@ func (w *Worker) execute(ctx context.Context, name string, taskID int64, as *db.
noaSession := WorkerSessionID(ts.ID(), intent.ID)
enableNoa(&opts, w.noaEnabledFn, w.workDir, noaSession, noaWarn(noaSession))
ctx = attachSideCapture(ctx, &opts)
s := agentcore.NewSession(opts)
s := newAgentSession(opts)
defer s.Close() // release the session's background-task manager (temp dir + processes)
// Resume prior conversation if this intent was paused/blocked/exhausted and is