mirror of
https://github.com/Finesssee/ProxyPilot.git
synced 2026-11-19 02:17:46 +00:00
866 B
866 B
Cursor IDE Integration
CLIProxyAPI can be used as a local OpenAI-compatible endpoint for Cursor.
1) Start CLIProxyAPI
Run the server and note the listening address (default: http://localhost:8318).
2) Configure Cursor
In Cursor settings:
- API base URL:
http://localhost:8318(recommended)- Alternatively:
http://localhost:8318/v1(CLIProxyAPI also provides non-/v1aliases for this case)
- Alternatively:
- API key: use one of the keys from
config.yamlunderapi-keys- Example:
your-cli-proxy-api-key
- Example:
3) Model selection
Cursor will query GET /v1/models (or /models when base URL ends with /v1).
Pick any model exposed by your configured providers.
Notes
POST /v1/embeddingsis implemented and returns deterministic synthetic embeddings to keep IDE features working even when an embeddings backend is not configured.