Update app.py
Browse files
app.py
CHANGED
|
@@ -107,7 +107,7 @@ def install_bot_integration(bot_id, workspace_id):
|
|
| 107 |
# Integration payload
|
| 108 |
payload = {
|
| 109 |
"integrations": {
|
| 110 |
-
"
|
| 111 |
"enabled": True
|
| 112 |
}
|
| 113 |
}
|
|
@@ -220,10 +220,10 @@ def chat_with_assistant(user_input, chat_history, bot_id, workspace_id, temperat
|
|
| 220 |
|
| 221 |
# Prepare the payload for the API
|
| 222 |
payload = {
|
| 223 |
-
"type": "
|
| 224 |
"input": {
|
| 225 |
"model": {
|
| 226 |
-
"id": "
|
| 227 |
},
|
| 228 |
"systemPrompt": system_prompt,
|
| 229 |
"messages": messages,
|
|
|
|
| 107 |
# Integration payload
|
| 108 |
payload = {
|
| 109 |
"integrations": {
|
| 110 |
+
"intver_01JZTWCQ87B3HS0GVF9JNNYR1W": {
|
| 111 |
"enabled": True
|
| 112 |
}
|
| 113 |
}
|
|
|
|
| 220 |
|
| 221 |
# Prepare the payload for the API
|
| 222 |
payload = {
|
| 223 |
+
"type": "openai:generateContent",
|
| 224 |
"input": {
|
| 225 |
"model": {
|
| 226 |
+
"id": "o3-2025-04-16"
|
| 227 |
},
|
| 228 |
"systemPrompt": system_prompt,
|
| 229 |
"messages": messages,
|