fix: update section name and correct path for MCP server configuration
This commit is contained in:
@@ -3,5 +3,5 @@ api_key = YOUR_API_KEY
|
||||
base_url = CUSTOM_BASE_URL
|
||||
model = YOUR_MODEL_ID
|
||||
|
||||
[dolphin-mcp]
|
||||
servers_json = mcp_config.json
|
||||
[mcp]
|
||||
servers_json = config/mcp_config.json
|
||||
|
||||
@@ -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