Spaces:
Building
Building
Update app.py
Browse files
app.py
CHANGED
@@ -98,7 +98,7 @@ def respond(message, history):
|
|
98 |
response = response.replace('\\"', '"')
|
99 |
print(f"\n{response}")
|
100 |
|
101 |
-
messages.append({"role": "assistant", "content": f"<functioncall>{
|
102 |
|
103 |
# Process and return the response based on the function call
|
104 |
try:
|
|
|
98 |
response = response.replace('\\"', '"')
|
99 |
print(f"\n{response}")
|
100 |
|
101 |
+
messages.append({"role": "assistant", "content": f"<functioncall>{response}</functioncall>"})
|
102 |
|
103 |
# Process and return the response based on the function call
|
104 |
try:
|