Skip to content
This repository was archived by the owner on Feb 25, 2026. It is now read-only.
This repository was archived by the owner on Feb 25, 2026. It is now read-only.

sub agent toggle on a agent from mcp server is not pulled as new config in on 'Edit' Agent button #524

@johnda98

Description

@johnda98

The reason the engine specialist keeps saying “I don’t have a YouTube search API” is that delegated agents run with whatever configuration is stored on the LangGraph server. Runtime overrides from the chat sidebar only reach the supervisor agent; sub‑agents such as delegate_to_engine_tech continue using their last saved config. Because the sidebar’s Save button was only writing the “general” fields (configsByAgentId[agentId]) and ignored the tool/RAG/supervisor sections that live under agentId:selected-tools, agentId:rag, etc., the YouTube tool never made it into the persisted config, so downstream agents still believed they had no access.

I updated the sidebar so it now saves the merged configuration returned by getAgentConfig(agentId) instead of just the base slice. This patch in index.tsx (lines 15, 210‑233) means your tool toggles, RAG collections, and supervisor selections are now included whenever you click Save. Once they’re persisted, every delegated agent invoked by the supervisor will receive the same tool list the UI shows.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions