diff --git a/ui/web/src/pages/agents/agent-detail/agent-config-tab.tsx b/ui/web/src/pages/agents/agent-detail/agent-config-tab.tsx index 15c3b4e7..37a8aca6 100644 --- a/ui/web/src/pages/agents/agent-detail/agent-config-tab.tsx +++ b/ui/web/src/pages/agents/agent-detail/agent-config-tab.tsx @@ -78,7 +78,7 @@ export function AgentConfigTab({ agent, onUpdate }: AgentConfigTabProps) { const updates: Record = { subagents_config: subEnabled ? sub : null, tools_config: toolsEnabled - ? { profile: tools.profile, allow: tools.allow, deny: tools.deny, alsoAllow: tools.alsoAllow } + ? { profile: tools.profile, allow: tools.allow, deny: tools.deny, alsoAllow: tools.alsoAllow, byProvider: tools.byProvider } : {}, compaction_config: comp, context_pruning: pruneEnabled ? prune : null, diff --git a/ui/web/src/types/agent.ts b/ui/web/src/types/agent.ts index 6c2ca070..56f3125a 100644 --- a/ui/web/src/types/agent.ts +++ b/ui/web/src/types/agent.ts @@ -7,6 +7,7 @@ export interface ToolPolicyConfig { allow?: string[]; deny?: string[]; alsoAllow?: string[]; + byProvider?: Record; } export interface SubagentsConfig {