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