ausername-12345 commited on
Commit
d6ecf4e
·
1 Parent(s): cfe2661

back to KeylessAI (completions.me 401)

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -163,9 +163,9 @@ async def validation_handler(request: Request, exc: RequestValidationError):
163
  print(f"Errors: {exc.errors()}")
164
  return JSONResponse(status_code=422, content={"detail": exc.errors()})
165
 
166
- INFERENCE_PORT_API_KEY = os.environ.get("INFERENCE_PORT_API_KEY", "sk-cp_722bc45e39228067d1b282863ce552f62fa06b975fcfba34")
167
- INFERENCE_PORT_URL = "https://completions.me/api/v1/chat/completions"
168
- MODEL = "gpt-5.2"
169
 
170
  _history = []
171
  MAX_HISTORY = 20
 
163
  print(f"Errors: {exc.errors()}")
164
  return JSONResponse(status_code=422, content={"detail": exc.errors()})
165
 
166
+ INFERENCE_PORT_API_KEY = os.environ.get("INFERENCE_PORT_API_KEY", "")
167
+ INFERENCE_PORT_URL = "https://keylessai.thryx.workers.dev/v1/chat/completions"
168
+ MODEL = "gpt-4o"
169
 
170
  _history = []
171
  MAX_HISTORY = 20