AIdeaText commited on
Commit
b0d7f21
·
verified ·
1 Parent(s): de81808

Update modules/chatbot/chat_process.py

Browse files
Files changed (1) hide show
  1. modules/chatbot/chat_process.py +1 -0
modules/chatbot/chat_process.py CHANGED
@@ -26,6 +26,7 @@ class ChatProcessor:
26
  response = self.client.messages.create(
27
  model="claude-3.5-sonnet-20241022",
28
  messages=self.conversation_history,
 
29
  temperature=0.7,
30
  )
31
 
 
26
  response = self.client.messages.create(
27
  model="claude-3.5-sonnet-20241022",
28
  messages=self.conversation_history,
29
+ max_tokens=8000, # Añadimos este parámetro requerido
30
  temperature=0.7,
31
  )
32