Spaces:
Running
Running
Update turbowarp-server/gpt.py
Browse files- turbowarp-server/gpt.py +2 -2
turbowarp-server/gpt.py
CHANGED
|
@@ -95,9 +95,9 @@ def remove_used(i):
|
|
| 95 |
def ask_gpt(history):
|
| 96 |
messages = [SYSTEM_PROMPT] + history
|
| 97 |
r = requests.post(
|
| 98 |
-
"https://izuemon-g4f-api-2.hf.space/v1/chat/completions?provider=
|
| 99 |
json={
|
| 100 |
-
"model": "
|
| 101 |
"messages": messages
|
| 102 |
},
|
| 103 |
timeout=30
|
|
|
|
| 95 |
def ask_gpt(history):
|
| 96 |
messages = [SYSTEM_PROMPT] + history
|
| 97 |
r = requests.post(
|
| 98 |
+
"https://izuemon-g4f-api-2.hf.space/v1/chat/completions?provider=srv_mm0u3dj0b6a1d9becaaf",
|
| 99 |
json={
|
| 100 |
+
"model": "o4-mini-2025-04-16",
|
| 101 |
"messages": messages
|
| 102 |
},
|
| 103 |
timeout=30
|