Skip to content

fix: remove --agent Onboarding flag from opencode launch#704

Merged
marcusquinn merged 1 commit intomainfrom
bugfix/remove-onboarding-agent-flag
Feb 9, 2026
Merged

fix: remove --agent Onboarding flag from opencode launch#704
marcusquinn merged 1 commit intomainfrom
bugfix/remove-onboarding-agent-flag

Conversation

@marcusquinn
Copy link
Owner

Summary

Fixes Agent not found: "Onboarding" error on first-run opencode launch after setup.

Root cause

setup.sh launched opencode with --agent "Onboarding" --prompt "/onboarding". The "Onboarding" agent only exists after generate-opencode-agents.sh writes it into opencode.json. But on first run, opencode.json doesn't exist yet (it's created on first opencode launch), so the agent generator skips agent config. Result: fatal error.

Fix

Use opencode --prompt "/onboarding" only. The /onboarding command file exists (created by generate-opencode-commands.sh which doesn't need opencode.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.

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.
@gemini-code-assist
Copy link

Warning

You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again!

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Feb 9, 2026

Warning

Rate limit exceeded

@marcusquinn has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 20 minutes and 1 seconds before requesting another review.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

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)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch bugfix/remove-onboarding-agent-flag

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@github-actions
Copy link

github-actions bot commented Feb 9, 2026

🔍 Code Quality Report

�[0;35m[MONITOR]�[0m Code Review Monitoring Report

�[0;34m[INFO]�[0m Latest Quality Status:
SonarCloud: 0 bugs, 0 vulnerabilities, 45 code smells

�[0;34m[INFO]�[0m Recent monitoring activity:
Mon Feb 9 01:37:43 UTC 2026: Code review monitoring started
Mon Feb 9 01:37:43 UTC 2026: SonarCloud - Bugs: 0, Vulnerabilities: 0, Code Smells: 45

📈 Current Quality Metrics

  • BUGS: 0
  • CODE SMELLS: 45
  • VULNERABILITIES: 0

Generated on: Mon Feb 9 01:37:45 UTC 2026


Generated by AI DevOps Framework Code Review Monitoring

@sonarqubecloud
Copy link

sonarqubecloud bot commented Feb 9, 2026

@marcusquinn marcusquinn merged commit 9be441c into main Feb 9, 2026
11 checks passed
@marcusquinn marcusquinn deleted the bugfix/remove-onboarding-agent-flag branch February 21, 2026 01:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant