Skip to content

Feature Request: Pass through auto model identifier to Cursor API #7

@sxin0

Description

@sxin0

Summary

When Claude Code CLI sends API requests with model: "auto", the proxy should forward the request to Cursor's API also with model:
"auto", instead of blocking or rejecting it.

Current Behavior

Claude Code CLI uses auto as the model identifier in its API requests. When these requests go through cursor-api-proxy, the proxy
fails to handle the auto value and the request errors out.

Expected Behavior

The proxy should pass auto through to the Cursor API as-is, since Cursor's API natively supports auto as a valid model identifier. No
mapping or transformation is needed — just let it pass through.

Use Case

Claude Code CLI → cursor-api-proxy → Cursor API (with model: "auto")

This is a straightforward passthrough that would allow Claude Code users to seamlessly use Cursor's API via this proxy.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions