mirror of
https://github.com/Ed1s0nZ/CyberStrikeAI.git
synced 2026-10-02 14:10:30 +02:00
fix: make Eino exit and transfer work on AgenticMessage state
Official ExitTool still writes classic Message react state, which breaks supervisor delivery on the Agentic path. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
8da3c8c51b
commit
3aa9274675
7 files changed
+338
-10
No files matched your search
@@ -464,6 +464,7 @@ func RunDeepAgent(
|
||||
},
|
||||
EmitInternalEvents: true,
|
||||
}
|
||||
attachAgenticBuiltinActionToolMiddleware(&mainToolsCfg)
|
||||
|
||||
deepAgenticOutKey, agenticTaskGen := deepAgenticExtrasFromConfig(ma)
|
||||
|
||||
@@ -545,7 +546,7 @@ func RunDeepAgent(
|
||||
ToolsConfig: mainToolsCfg,
|
||||
MaxIterations: deepMaxIter,
|
||||
Handlers: supHandlers,
|
||||
Exit: &adk.ExitTool{},
|
||||
Exit: agenticCompatibleExitTool{},
|
||||
ModelRetryConfig: agenticModelRetryCfg,
|
||||
ModelFailoverConfig: agenticModelFailoverCfg,
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user