mirror of
https://github.com/whit3rabbit/anyllm-proxy.git
synced 2026-09-22 00:00:50 +00:00
ToolEngineState and McpServerManager were hardcoded to None. Now: - SimpleParsed carries a ToolStartupConfig with the three tool sections - LoadResult exposes that config to main.rs - main.rs constructs ToolEngineState (registry, policy, loop config) when any tool section is present; MCP servers are discovered async at startup with a warning on failure (no panic) - tool_engine and mcp_manager on SharedState are populated from the same Arc so both proxy handlers and admin API share the same instance Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>