llama-stack-mirror/llama_stack/providers/inline/agents
Sébastien Han df6ce8befa
fix: only load mcp when enabled in tool_group (#2621)
# What does this PR do?

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 20:27:05 +05:30
..
meta_reference fix: only load mcp when enabled in tool_group (#2621) 2025-07-04 20:27:05 +05:30
__init__.py add missing inits 2024-11-08 17:54:24 -08:00