randydev commited on
Commit
0ef7f4d
·
verified ·
1 Parent(s): e4bc349
Files changed (1) hide show
  1. chatbot/plugins/chat.py +1 -1
chatbot/plugins/chat.py CHANGED
@@ -183,7 +183,7 @@ async def search_auto_by_cohere(user_id, prompt):
183
  model='command-r-08-2024',
184
  message=prompt,
185
  temperature=0.3,
186
- chat_history=chat_history,
187
  prompt_truncation='AUTO',
188
  connectors=[{"id":"web-search"}]
189
  )
 
183
  model='command-r-08-2024',
184
  message=prompt,
185
  temperature=0.3,
186
+ chat_history=[],
187
  prompt_truncation='AUTO',
188
  connectors=[{"id":"web-search"}]
189
  )