fix: update section name and correct path for MCP server configuration
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user