Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -93,7 +93,7 @@ def install_bot_integration(bot_id, workspace_id):
|
|
| 93 |
# Integration payload
|
| 94 |
payload = {
|
| 95 |
"integrations": {
|
| 96 |
-
"
|
| 97 |
"enabled": True
|
| 98 |
}
|
| 99 |
}
|
|
@@ -181,10 +181,10 @@ def chat_with_assistant(user_input, chat_history, bot_id, workspace_id):
|
|
| 181 |
|
| 182 |
# Prepare the payload for the new API
|
| 183 |
payload = {
|
| 184 |
-
"type": "
|
| 185 |
"input": {
|
| 186 |
"model": {
|
| 187 |
-
"id": "
|
| 188 |
},
|
| 189 |
"systemPrompt": system_prompt,
|
| 190 |
"messages": messages,
|
|
|
|
| 93 |
# Integration payload
|
| 94 |
payload = {
|
| 95 |
"integrations": {
|
| 96 |
+
"intver_01JN7C46RQXD380E6XNH094WHJ": {
|
| 97 |
"enabled": True
|
| 98 |
}
|
| 99 |
}
|
|
|
|
| 181 |
|
| 182 |
# Prepare the payload for the new API
|
| 183 |
payload = {
|
| 184 |
+
"type": "anthropic:generateContent",
|
| 185 |
"input": {
|
| 186 |
"model": {
|
| 187 |
+
"id": "claude-3-7-sonnet-reasoning-20250219"
|
| 188 |
},
|
| 189 |
"systemPrompt": system_prompt,
|
| 190 |
"messages": messages,
|