CORVO-AI commited on
Commit
f4d3a98
·
verified ·
1 Parent(s): 221fa5e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -83,7 +83,7 @@ def install_bot_integration(bot_id, workspace_id):
83
  # Integration payload
84
  payload = {
85
  "integrations": {
86
- "intver_01JN7C46RQXD380E6XNH094WHJ": {
87
  "enabled": True
88
  }
89
  }
@@ -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": "anthropic:generateContent",
171
  "input": {
172
  "model": {
173
- "id": "claude-3-7-sonnet-20250219"
174
  },
175
  "systemPrompt": system_prompt,
176
  "messages": messages,
 
83
  # Integration payload
84
  payload = {
85
  "integrations": {
86
+ "intver_01JRTRGWBFDXPMCGYM47DCR78E": {
87
  "enabled": True
88
  }
89
  }
 
167
 
168
  # Prepare the payload for the new API
169
  payload = {
170
+ "type": "openai:generateContent",
171
  "input": {
172
  "model": {
173
+ "id": "gpt-4.1-2025-04-14"
174
  },
175
  "systemPrompt": system_prompt,
176
  "messages": messages,