ChenyuRabbitLove
commited on
Commit
•
9881b92
1
Parent(s):
94e7b46
Update app.py
Browse files
app.py
CHANGED
@@ -61,7 +61,7 @@ def respond(
|
|
61 |
message,
|
62 |
history: list[tuple[str, str]],
|
63 |
):
|
64 |
-
messages = [{"role": "system", "content": [{'type': 'text', 'text': ''}]}]
|
65 |
messages.append({"role": "user", "content": [{'type': 'text', 'text': message}]})
|
66 |
|
67 |
response = chat_completion_request(messages, tools=tools, tool_choice='auto')
|
|
|
61 |
message,
|
62 |
history: list[tuple[str, str]],
|
63 |
):
|
64 |
+
messages = [{"role": "system", "content": [{'type': 'text', 'text': 'You are a helpful agent'}]}]
|
65 |
messages.append({"role": "user", "content": [{'type': 'text', 'text': message}]})
|
66 |
|
67 |
response = chat_completion_request(messages, tools=tools, tool_choice='auto')
|