Skip to content
This repository was archived by the owner on Jul 4, 2025. It is now read-only.
This repository was archived by the owner on Jul 4, 2025. It is now read-only.

bug: cortex blocks preflighted request #2176

@vansangpfiev

Description

@vansangpfiev

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
  1. Start server
cortex start
  1. 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

Metadata

Metadata

Assignees

Labels

type: bugSomething isn't working

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions