Fix desktop AI failures and streamline empty-workspace setup - #60
Merged
Conversation
Cursor dashboard keys are Cloud Agents only — remove the dead local gateway default, surface actionable network errors, and make Test AI save-then-probe with visible status. Empty create can seed the EM; Home shows a single setup checklist instead of an empty command center. Co-authored-by: Damon <Modsofthenation@users.noreply.github.com>
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (11)
📝 WalkthroughWalkthroughThe API now handles AI gateway resolution, provider errors, and connection-test results. The UI updates AI settings and empty-workspace onboarding. Workspace initialization can create an Engineering Manager from an optional name. ChangesAI provider configuration and testing
Workspace onboarding
Estimated code review effort: 4 (Complex) | ~45 minutes Possibly related PRs
Suggested reviewers: ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
Modsofthenation
marked this pull request as ready for review
August 10, 2026 22:54
This was referenced Aug 10, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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
Two product issues on packaged desktop:
crsr_…) as a chat API and defaulted to a dead local gateway (127.0.0.1:18789). Test connection also gave little/no visible feedback.AI fixes
crsr_keys are Cloud Agents only18789default — require an explicit gateway URL (or use Anthropic / OpenAI / Ollama)Onboarding fixes
How to use AI after this
Prefer Anthropic, OpenAI, or Ollama. Only use OpenAI-compatible if you already run a
/v1/chat/completionsgateway.Test plan
pnpm --filter @prm/api testpnpm --filter @prm/api typecheckpnpm --filter @prm/ui typecheckcrsr_alone → expect clear error (not opaque “fetch failed”)Summary by CodeRabbit
New Features
Improvements
Documentation