Seth0330 commited on
Commit
17fc679
·
verified ·
1 Parent(s): 5b72a23

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -173,7 +173,7 @@ def send_message():
173
  "https://api.openai.com/v1/chat/completions",
174
  headers=HEADERS,
175
  json={
176
- "model": "gpt-4o",
177
  "messages": chat_messages,
178
  "functions": function_schema,
179
  "function_call": "auto",
@@ -216,7 +216,7 @@ def send_message():
216
  "https://api.openai.com/v1/chat/completions",
217
  headers=HEADERS,
218
  json={
219
- "model": "gpt-4o",
220
  "messages": followup_messages,
221
  "temperature": 0,
222
  "max_tokens": 1500,
 
173
  "https://api.openai.com/v1/chat/completions",
174
  headers=HEADERS,
175
  json={
176
+ "model": "gpt-4.1",
177
  "messages": chat_messages,
178
  "functions": function_schema,
179
  "function_call": "auto",
 
216
  "https://api.openai.com/v1/chat/completions",
217
  headers=HEADERS,
218
  json={
219
+ "model": "gpt-4.1",
220
  "messages": followup_messages,
221
  "temperature": 0,
222
  "max_tokens": 1500,