fix: remove --agent Onboarding flag from opencode launch#704
fix: remove --agent Onboarding flag from opencode launch#704marcusquinn merged 1 commit intomainfrom
Conversation
On first run, opencode.json doesn't exist yet so the 'Onboarding' agent hasn't been configured by generate-opencode-agents.sh. Passing --agent 'Onboarding' causes a fatal error. Use --prompt '/onboarding' only, which works with any default agent.
|
Warning You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again! |
|
Warning Rate limit exceeded
⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ✨ Finishing touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
🔍 Code Quality Report�[0;35m[MONITOR]�[0m Code Review Monitoring Report �[0;34m[INFO]�[0m Latest Quality Status: �[0;34m[INFO]�[0m Recent monitoring activity: 📈 Current Quality Metrics
Generated on: Mon Feb 9 01:37:45 UTC 2026 Generated by AI DevOps Framework Code Review Monitoring |
|



Summary
Fixes
Agent not found: "Onboarding"error on first-run opencode launch after setup.Root cause
setup.shlaunched opencode with--agent "Onboarding" --prompt "/onboarding". The "Onboarding" agent only exists aftergenerate-opencode-agents.shwrites it intoopencode.json. But on first run,opencode.jsondoesn't exist yet (it's created on firstopencodelaunch), so the agent generator skips agent config. Result: fatal error.Fix
Use
opencode --prompt "/onboarding"only. The/onboardingcommand file exists (created bygenerate-opencode-commands.shwhich doesn't needopencode.json) and works with whatever default agent is active. Also removes the model detection logic which depended on auth state — OpenCode picks its own default model.