Update app.py
Browse files
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-
|
| 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-
|
| 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,
|