Update modules/chatbot/chat_process.py
Browse files
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 |
|