Add Cursor IDE support via /v1/models endpoint #34
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
This PR implements support for Cursor IDE and other OpenAI-compatible clients by adding the
/v1/modelsendpoint to the api-gateway repository.What Changed
Implementation (in api-gateway repository)
The actual code changes were made in the api-gateway repository:
/v1/modelsendpoint for model discovery/v1/models/:modelendpoint for individual model infoImplementation PR: deep-assistant/api-gateway#3
Documentation (in this repository)
This PR contains:
How It Works
Users can now configure Cursor IDE to use the Deep Assistant API Gateway:
https://api.deep-foundation.tech/v1Cursor will automatically discover all available models via the new
/v1/modelsendpoint.Available Models
Access to 40+ models including:
Technical Details
New Endpoints
GET /v1/models
{ "object": "list", "data": [ { "id": "gpt-4o", "object": "model", "created": 1234567890, "owned_by": "openai" } ] }GET /v1/models/:model
Returns individual model info or 404 if not found.
Benefits
Testing
Related Links
CURSOR_SETUP.mdin api-gateway PRARCHITECTURE.mdupdates in api-gateway PRISSUE-8-SOLUTION.mdin this PRNext Steps
Fixes #8
🤖 Generated with Claude Code