ionosphere commited on
Commit
a2d959f
1 Parent(s): 7af6bd2

Fix missing parameter

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -12,7 +12,7 @@ api_key = os.environ.get("MISTRAL_API_KEY")
12
  client = MistralClient(api_key=api_key)
13
  model = 'mistral-small'
14
 
15
- def chat_with_mistral(user_input):
16
  messages = [ChatMessage(role="user", content=user_input)]
17
 
18
  chat_response = client.chat(model=model, messages=messages)
 
12
  client = MistralClient(api_key=api_key)
13
  model = 'mistral-small'
14
 
15
+ def chat_with_mistral(user_input, history):
16
  messages = [ChatMessage(role="user", content=user_input)]
17
 
18
  chat_response = client.chat(model=model, messages=messages)