Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -17,13 +17,15 @@ def call_mcp_server(message):
|
|
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 |
|
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):
|