update to 20k
Browse files- anycoder_app/deploy.py +8 -1
anycoder_app/deploy.py
CHANGED
|
@@ -473,7 +473,14 @@ Generate the exact search/replace blocks needed to make these changes."""
|
|
| 473 |
|
| 474 |
else:
|
| 475 |
# Poe expects model id "GPT-5" and uses max_tokens
|
| 476 |
-
if _current_model["id"] == "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 477 |
completion = client.chat.completions.create(
|
| 478 |
model="GPT-5",
|
| 479 |
messages=messages,
|
|
|
|
| 473 |
|
| 474 |
else:
|
| 475 |
# Poe expects model id "GPT-5" and uses max_tokens
|
| 476 |
+
if _current_model["id"] == "gemini-3.0-pro":
|
| 477 |
+
completion = client.chat.completions.create(
|
| 478 |
+
model="Gemini-3.0-Pro",
|
| 479 |
+
messages=messages,
|
| 480 |
+
stream=True,
|
| 481 |
+
max_tokens=20000
|
| 482 |
+
)
|
| 483 |
+
elif _current_model["id"] == "gpt-5":
|
| 484 |
completion = client.chat.completions.create(
|
| 485 |
model="GPT-5",
|
| 486 |
messages=messages,
|