Update main.py
Browse files
main.py
CHANGED
|
@@ -212,7 +212,7 @@ async def chat_completions(
|
|
| 212 |
try:
|
| 213 |
async with client.stream(
|
| 214 |
'POST',
|
| 215 |
-
'https://sider.ai/api/
|
| 216 |
headers=OUTGOING_HEADERS,
|
| 217 |
json=json_data,
|
| 218 |
timeout=120.0
|
|
|
|
| 212 |
try:
|
| 213 |
async with client.stream(
|
| 214 |
'POST',
|
| 215 |
+
'https://sider.ai/api/v2/completion/text', # Updated endpoint
|
| 216 |
headers=OUTGOING_HEADERS,
|
| 217 |
json=json_data,
|
| 218 |
timeout=120.0
|