AlyssaD commited on
Commit
920467a
·
verified ·
1 Parent(s): d5052bc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -99,7 +99,7 @@ def respond(message, history):
99
 
100
  messages.append({"role": "user", "content": message})
101
 
102
- response = client.chat_completion(messages, max_tokens=100)
103
 
104
  if hasattr(response, 'choices') and response.choices:
105
  return response.choices[0].message.content.strip()
 
99
 
100
  messages.append({"role": "user", "content": message})
101
 
102
+ response = client.chat_completion(messages)
103
 
104
  if hasattr(response, 'choices') and response.choices:
105
  return response.choices[0].message.content.strip()