-
Notifications
You must be signed in to change notification settings - Fork 9
Description
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.