Closed
Description
Cortex version
v1.0.12
Describe the issue and expected behaviour
Cortex blocks preflighted request if api_keys
is set
Steps to Reproduce
- Configure
api_keys
cortex config --api_keys test
- Start server
cortex start
- 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
- Linux / Ubuntu
What engine are you running?
- cortex.llamacpp (default)
- cortex.tensorrt-llm (Nvidia GPUs)
- cortex.onnx (NPUs, DirectML)
Hardware Specs eg OS version, GPU
No response