Niansuh commited on
Commit
7939e38
·
verified ·
1 Parent(s): 429c825

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
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/v3/completion/text', # Updated endpoint
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