KingNish commited on
Commit
ae0b491
1 Parent(s): 611f01a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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>{str(response)}</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: