CORVO-AI commited on
Commit
d138ec4
·
verified ·
1 Parent(s): 6b2fac4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -107,7 +107,7 @@ def install_bot_integration(bot_id, workspace_id):
107
  # Integration payload
108
  payload = {
109
  "integrations": {
110
- "intver_01JWS59JM0ARD3GB4NVZ7YA0CX": {
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": "anthropic:generateContent",
224
  "input": {
225
  "model": {
226
- "id": "claude-3-7-sonnet-20250219"
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,