Seth0330 commited on
Commit
97017a0
·
verified ·
1 Parent(s): 8b91f01

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -213,7 +213,7 @@ def send_message():
213
  "https://api.openai.com/v1/chat/completions",
214
  headers=HEADERS,
215
  json={
216
- "model": "gpt-4o",
217
  "messages": chat_messages,
218
  "functions": function_schema,
219
  "function_call": "auto",
@@ -256,7 +256,7 @@ def send_message():
256
  "https://api.openai.com/v1/chat/completions",
257
  headers=HEADERS,
258
  json={
259
- "model": "gpt-4o",
260
  "messages": followup_messages,
261
  "temperature": 0,
262
  "max_tokens": 1500,
 
213
  "https://api.openai.com/v1/chat/completions",
214
  headers=HEADERS,
215
  json={
216
+ "model": "gpt-4.1",
217
  "messages": chat_messages,
218
  "functions": function_schema,
219
  "function_call": "auto",
 
256
  "https://api.openai.com/v1/chat/completions",
257
  headers=HEADERS,
258
  json={
259
+ "model": "gpt-4.1",
260
  "messages": followup_messages,
261
  "temperature": 0,
262
  "max_tokens": 1500,