Manavraj commited on
Commit
1125ba5
·
verified ·
1 Parent(s): c8164e7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
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 tag
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