chore: wire Ask LLM models into Cursor cloud environment config - #1676
Conversation
Co-authored-by: Michael Sukkarieh <msukkari@users.noreply.github.com>
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Essentials Run ID: 📒 Files selected for processing (1)
Included review availability: Your plan provides up to 8 included reviews per hour; 5 remain after this review. WalkthroughThe environment installation script now generates an Anthropic Claude Sonnet 4.5 model configuration using ChangesModel Configuration
Priority: ⬇️ Low Estimated code review effort: 1 (Trivial) | ~2 minutes Change: Feature Merge Risk: ⚪ Minimal · up to The environment configuration adds the requested Anthropic model while preserving the existing repository connection, so it is ready to merge with normal checks. 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
Co-authored-by: Michael Sukkarieh <msukkari@users.noreply.github.com>
This reverts commit 5562177.
|
@msukkari your pull request is missing a changelog! |
Co-authored-by: Michael Sukkarieh <msukkari@users.noreply.github.com>
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using high effort and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 70d6078. Configure here.

Adds the Anthropic language model provider to the install-time
config.jsongenerated by.cursor/environment.json, while preserving the existinggithub-publicconnection.The configured model is
claude-sonnet-4-5and references the runtime environment variableANTHROPIC_API_KEYonly. OpenAI is intentionally not configured becauseOPENAI_API_KEYis not present in the Sourcebot Cursor environment.The Runtime Secret must be set on the Cursor environment for Ask to call Anthropic. Listing a model in config can make it appear in the Ask selector; this change does not claim that a provider call succeeds without its secret.
Validation: the extracted generated config validates against the repository v3 schema and contains an Anthropic-only models array.
Summary by cubic
Adds the Anthropic model provider to the install-time
config.jsongenerated by.cursor/environment.json, so Cursor cloud environments can call Ask with Claude Sonnet 4.5. OpenAI is intentionally not wired in.ANTHROPIC_API_KEYenvironment variable; set it as a Runtime Secret on the Cursor environment for Ask to call the provider.github-publicconnection untouched.Written for commit 70d6078. Summary will update on new commits.
Summary by CodeRabbit