Skip to content

Conversation

@daniel-lxs
Copy link
Member

@daniel-lxs daniel-lxs commented Aug 20, 2025

Fixes the 'Let's go' button not working for Roo Code Cloud provider on the welcome screen.

Added 'roo' to the special case list in checkExistApiConfig.ts since it uses cloud authentication instead of API keys.


Important

Adds 'roo' to special case list in checkExistApiConfig.ts to fix 'Let's go' button for Roo Code Cloud provider.

  • Behavior:
    • Fixes 'Let's go' button for Roo Code Cloud provider by adding 'roo' to special case list in checkExistApiConfig.ts.
    • 'roo' now bypasses configuration check like 'human-relay', 'fake-ai', and 'claude-code'.

This description was created by Ellipsis for a1a0f44. You can customize this summary. It will automatically update as commits are pushed.

- Added 'roo' to the special case list in checkExistApiConfig.ts
- This allows the welcome screen to dismiss properly for Roo Code Cloud provider
- Roo provider uses cloud authentication instead of API keys, so it doesn't need configuration
@daniel-lxs daniel-lxs requested a review from mrubens as a code owner August 20, 2025 02:09
@daniel-lxs daniel-lxs requested review from cte and jr as code owners August 20, 2025 02:09
@dosubot dosubot bot added size:XS This PR changes 0-9 lines, ignoring generated files. bug Something isn't working labels Aug 20, 2025
@daniel-lxs daniel-lxs moved this from Triage to PR [Needs Review] in Roo Code Roadmap Aug 20, 2025
@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Aug 20, 2025
Copy link
Contributor

@roomote roomote bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for your contribution! The change correctly adds 'roo' to the special case list, which aligns with how the RooHandler uses CloudService session tokens for authentication instead of API keys. This should resolve the 'Let's go' button issue for the Roo Code Cloud provider. I've left some suggestions inline that could improve the implementation.

// Special case for human-relay, fake-ai, and claude-code providers which don't need any configuration.
if (config.apiProvider && ["human-relay", "fake-ai", "claude-code"].includes(config.apiProvider)) {
// Special case for human-relay, fake-ai, claude-code, and roo providers which don't need any configuration.
if (config.apiProvider && ["human-relay", "fake-ai", "claude-code", "roo"].includes(config.apiProvider)) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would it be helpful to add test coverage for these special case providers? I noticed the test file doesn't include any tests verifying that 'roo' (and the other special providers) return true without requiring configuration.

// Special case for human-relay, fake-ai, and claude-code providers which don't need any configuration.
if (config.apiProvider && ["human-relay", "fake-ai", "claude-code"].includes(config.apiProvider)) {
// Special case for human-relay, fake-ai, claude-code, and roo providers which don't need any configuration.
if (config.apiProvider && ["human-relay", "fake-ai", "claude-code", "roo"].includes(config.apiProvider)) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Consider extracting this array as a constant like NO_CONFIG_REQUIRED_PROVIDERS to improve maintainability. This would make it easier to find all providers that don't require configuration and could be reused if needed elsewhere:

Suggested change
if (config.apiProvider && ["human-relay", "fake-ai", "claude-code", "roo"].includes(config.apiProvider)) {
const NO_CONFIG_REQUIRED_PROVIDERS = ["human-relay", "fake-ai", "claude-code", "roo"]
// Special case for providers that use alternative authentication methods instead of API keys.
if (config.apiProvider && NO_CONFIG_REQUIRED_PROVIDERS.includes(config.apiProvider)) {


// Special case for human-relay, fake-ai, and claude-code providers which don't need any configuration.
if (config.apiProvider && ["human-relay", "fake-ai", "claude-code"].includes(config.apiProvider)) {
// Special case for human-relay, fake-ai, claude-code, and roo providers which don't need any configuration.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The comment could be more specific about why these providers are special. Perhaps something like: "Special case for providers that use alternative authentication methods (session tokens, relay, etc.) instead of API keys"?

@mrubens mrubens merged commit 912eefd into main Aug 20, 2025
21 checks passed
@mrubens mrubens deleted the fix-roo-provider-welcome-screen branch August 20, 2025 02:13
@github-project-automation github-project-automation bot moved this from PR [Needs Review] to Done in Roo Code Roadmap Aug 20, 2025
@github-project-automation github-project-automation bot moved this from New to Done in Roo Code Roadmap Aug 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working lgtm This PR has been approved by a maintainer size:XS This PR changes 0-9 lines, ignoring generated files.

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

3 participants