fix(agent): keep media routing scoped to current turn
This commit is contained in:
1 parent
adb89a16b9
commit
f3d4555bc9
9 files changed
+369
-46
No files matched your search
@@ -296,7 +296,7 @@ func registerSharedTools(
|
||||
// This keeps subagent vision support working even when the optimized
|
||||
// sub-turn spawner path is unavailable.
|
||||
subagentManager.SetMediaResolver(func(msgs []providers.Message) []providers.Message {
|
||||
return resolveMediaRefs(msgs, al.mediaStore, cfg.Agents.Defaults.GetMaxMediaSize())
|
||||
return resolveMediaRefs(msgs, al.mediaStore, cfg.Agents.Defaults.GetMaxMediaSize(), 0)
|
||||
})
|
||||
|
||||
// Set the spawner that links into AgentLoop's turnState
|
||||
|
||||
Reference in new issue
Block a user