### Cortex version v1.0.12 ### Describe the issue and expected behaviour Cortex blocks preflighted request if `api_keys` is set ### Steps to Reproduce 1. Configure `api_keys` ``` cortex config --api_keys test ``` 2. Start server ``` cortex start ``` 3. Send an OPTIONS request ``` curl -X OPTIONS 127.0.0.1:39281/v1/models ``` Response ``` {"message":"Invalid API Key"} ``` Expected: Receive 200_OK status with additional information in header ### Screenshots / Logs _No response_ ### What is your OS? - [ ] Windows - [ ] Mac Silicon - [ ] Mac Intel - [x] Linux / Ubuntu ### What engine are you running? - [x] cortex.llamacpp (default) - [ ] cortex.tensorrt-llm (Nvidia GPUs) - [ ] cortex.onnx (NPUs, DirectML) ### Hardware Specs eg OS version, GPU _No response_
Cortex version
v1.0.12
Describe the issue and expected behaviour
Cortex blocks preflighted request if
api_keysis setSteps to Reproduce
api_keysResponse
Expected:
Receive 200_OK status with additional information in header
Screenshots / Logs
No response
What is your OS?
What engine are you running?
Hardware Specs eg OS version, GPU
No response