Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -167,10 +167,10 @@ def chat_with_assistant(user_input, chat_history, bot_id, workspace_id):
|
|
| 167 |
|
| 168 |
# Prepare the payload for the new API
|
| 169 |
payload = {
|
| 170 |
-
"type": "
|
| 171 |
"input": {
|
| 172 |
"model": {
|
| 173 |
-
"id": "
|
| 174 |
},
|
| 175 |
"systemPrompt": system_prompt,
|
| 176 |
"messages": messages,
|
|
|
|
| 167 |
|
| 168 |
# Prepare the payload for the new API
|
| 169 |
payload = {
|
| 170 |
+
"type": "anthropic:generateContent",
|
| 171 |
"input": {
|
| 172 |
"model": {
|
| 173 |
+
"id": "claude-3-7-sonnet-20250219"
|
| 174 |
},
|
| 175 |
"systemPrompt": system_prompt,
|
| 176 |
"messages": messages,
|