Manavraj commited on
Commit
b490652
·
verified ·
1 Parent(s): fcbbddd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -17,13 +17,15 @@ def call_mcp_server(message):
17
 
18
  # Initialize CodeAgent
19
  agent = CodeAgent(
20
- tools=[], # No tools needed - server handles everything
21
  model="microsoft/DialoGPT-medium",
22
  system_prompt="""You are a Technical Support AI Agent connected to an MCP server.
23
 
24
  Your goal is to help users with technical problems by routing their requests to the appropriate server tools and providing clear, helpful responses.
25
 
26
- The MCP server has knowledge base search, web search, and response formatting capabilities. Simply process user queries and provide helpful technical support."""
 
 
27
  )
28
 
29
  def chat_interface(message, history):
 
17
 
18
  # Initialize CodeAgent
19
  agent = CodeAgent(
20
+ tools=[],
21
  model="microsoft/DialoGPT-medium",
22
  system_prompt="""You are a Technical Support AI Agent connected to an MCP server.
23
 
24
  Your goal is to help users with technical problems by routing their requests to the appropriate server tools and providing clear, helpful responses.
25
 
26
+ The MCP server has knowledge base search, web search, and response formatting capabilities. Simply process user queries and provide helpful technical support.
27
+
28
+ {{authorized_imports}}"""
29
  )
30
 
31
  def chat_interface(message, history):