Seth0330 commited on
Commit
f73d69f
·
verified ·
1 Parent(s): b04e373

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -249,7 +249,7 @@ def send_message():
249
  "https://api.openai.com/v1/chat/completions",
250
  headers=HEADERS,
251
  json={
252
- "model": "gpt-4o",
253
  "messages": chat_messages,
254
  "functions": function_schema,
255
  "function_call": "auto",
@@ -299,7 +299,7 @@ def send_message():
299
  "https://api.openai.com/v1/chat/completions",
300
  headers=HEADERS,
301
  json={
302
- "model": "gpt-4o",
303
  "messages": followup_messages,
304
  "temperature": 0,
305
  "max_tokens": 1200,
 
249
  "https://api.openai.com/v1/chat/completions",
250
  headers=HEADERS,
251
  json={
252
+ "model": "gpt-4.1",
253
  "messages": chat_messages,
254
  "functions": function_schema,
255
  "function_call": "auto",
 
299
  "https://api.openai.com/v1/chat/completions",
300
  headers=HEADERS,
301
  json={
302
+ "model": "gpt-4.1",
303
  "messages": followup_messages,
304
  "temperature": 0,
305
  "max_tokens": 1200,