fix: update section name and correct path for MCP server configuration

This commit is contained in:
2025-03-26 06:12:40 +00:00
parent ddc0151272
commit ccd0a1e45b
2 changed files with 4 additions and 4 deletions

View File

@@ -25,8 +25,8 @@ class OpenAIClient:
# Initialize MCP manager if configured
self.mcp_manager = None
if self.config.has_section("dolphin-mcp"):
mcp_config_path = self.config["dolphin-mcp"].get("servers_json", "config/mcp_config.json")
if self.config.has_section("mcp"):
mcp_config_path = self.config["mcp"].get("servers_json", "config/mcp_config.json")
self.mcp_manager = SyncMCPManager(mcp_config_path)
def get_chat_response(self, messages):