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