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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -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": "openai:generateContent",
171
  "input": {
172
  "model": {
173
- "id": "gpt-4.1-2025-04-14"
174
  },
175
  "systemPrompt": system_prompt,
176
  "messages": messages,
 
167
 
168
  # Prepare the payload for the new API
169
  payload = {
170
+ "type": "google-ai:generateContent",
171
  "input": {
172
  "model": {
173
+ "id": "models/gemini-2.0-flash"
174
  },
175
  "systemPrompt": system_prompt,
176
  "messages": messages,