Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -43,7 +43,7 @@ def call_mcp_server(message, tool_type="knowledge_base"):
|
|
43 |
logger.error(f"MCP call failed: {str(e)}")
|
44 |
return f"Error: {str(e)}"
|
45 |
|
46 |
-
# Initialize CodeAgent with proper system prompt including required
|
47 |
agent = CodeAgent(
|
48 |
tools=[], # No tools defined here as they're in MCP
|
49 |
model="microsoft/DialoGPT-medium",
|
@@ -51,6 +51,8 @@ agent = CodeAgent(
|
|
51 |
- requests for API calls
|
52 |
- standard Python libraries
|
53 |
|
|
|
|
|
54 |
You are an advanced Technical Support Assistant with these capabilities:
|
55 |
1. Troubleshooting technical issues (wifi, hardware, software)
|
56 |
2. Finding information through web search
|
|
|
43 |
logger.error(f"MCP call failed: {str(e)}")
|
44 |
return f"Error: {str(e)}"
|
45 |
|
46 |
+
# Initialize CodeAgent with proper system prompt including required tags
|
47 |
agent = CodeAgent(
|
48 |
tools=[], # No tools defined here as they're in MCP
|
49 |
model="microsoft/DialoGPT-medium",
|
|
|
51 |
- requests for API calls
|
52 |
- standard Python libraries
|
53 |
|
54 |
+
{{managed_agents_descriptions}}
|
55 |
+
|
56 |
You are an advanced Technical Support Assistant with these capabilities:
|
57 |
1. Troubleshooting technical issues (wifi, hardware, software)
|
58 |
2. Finding information through web search
|