CORVO-AI commited on
Commit
5e44289
·
verified ·
1 Parent(s): 799070a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -105,7 +105,7 @@ def install_bot_integration(bot_id, workspace_id):
105
  # Integration payload
106
  payload = {
107
  "integrations": {
108
- "intver_01JSERFV00FYHW4SM6TEKZ9RWS": {
109
  "enabled": True
110
  }
111
  }
@@ -214,10 +214,10 @@ def chat_with_assistant(user_input, chat_history, bot_id, workspace_id, temperat
214
 
215
  # Prepare the payload for the API
216
  payload = {
217
- "type": "openai:generateContent",
218
  "input": {
219
  "model": {
220
- "id": "gpt-4.1-mini-2025-04-14"
221
  },
222
  "systemPrompt": system_prompt,
223
  "messages": messages,
 
105
  # Integration payload
106
  payload = {
107
  "integrations": {
108
+ "intver_01JSERDW0MD5Z7ZY1SSWG97AR1": {
109
  "enabled": True
110
  }
111
  }
 
214
 
215
  # Prepare the payload for the API
216
  payload = {
217
+ "type": "anthropic:generateContent",
218
  "input": {
219
  "model": {
220
+ "id": "claude-3-5-sonnet-20241022"
221
  },
222
  "systemPrompt": system_prompt,
223
  "messages": messages,