llama-stack-mirror/llama_stack/providers/inline/agents
Sébastien Han 4e5a155dc7
fix: only load mcp when enabled in tool_group
The agent code is currently importing MCP modules even when MCP isn’t
enabled. Do we consider this worth fixing, or are we treating MCP as a
first-class dependency? I believe we should treat it as such.

If everyone agrees, let’s go ahead and close this.

Note: The current setup breaks if someone builds a distro without
including MCP in tool_group but still serves the agent API.

Also, we should bump the MCP version to support streamable responses, as
SSE is being deprecated.

Signed-off-by: Sébastien Han <seb@redhat.com>
2025-07-04 11:16:34 +02:00
..
meta_reference fix: only load mcp when enabled in tool_group 2025-07-04 11:16:34 +02:00
__init__.py add missing inits 2024-11-08 17:54:24 -08:00