CORVO-AI commited on
Commit
67974b7
·
verified ·
1 Parent(s): 84ce8d0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -93,7 +93,7 @@ def install_bot_integration(bot_id, workspace_id):
93
  # Integration payload
94
  payload = {
95
  "integrations": {
96
- "intver_01JN7C5S1SHM0EC647KWF8AZ0T": {
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": "openai:generateContent",
185
  "input": {
186
  "model": {
187
- "id": "o3-mini-2025-01-31"
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,