Skip to content

Conversation

@osdakira
Copy link

@osdakira osdakira commented Dec 17, 2025

Related GitHub Issue

Continues: #8321
Closes: #8087

Description

This PR continues the work from #8321 to add IBM watsonx AI provider support to Roo Code.

Changes from original PR:

  • Rebased onto latest main branch (v3.36.8+)
  • Resolved merge conflicts with recent provider architecture changes
  • Updated dependencies to latest versions
  • All tests passing

Original PR context:
The original PR #8321 by @PrasangAPrajapati added IBM watsonx as a new AI provider with:

  • Full integration including configuration, validation, UI support, and testing
  • Support for both ibmCloud and cloudPak platforms with different authentication methods
  • Comprehensive localization across all supported languages

Test Procedure

Follow the test procedure from the original PR #8321:

  • Start with free trial: https://dataplatform.cloud.ibm.com/registration/stepone?context=wx
  • Sign up with Google (not RedHat)
  • Add address and credit card info (no charges)
  • Create watsonx.ai runtime resource (Dallas region, Lite plan)
  • Launch IBM watsonx and create project
  • Generate API key and note project ID
  • Use credentials in Roo Code IBM watsonx provider

Pre-Submission Checklist

Screenshots / Videos

See original PR #8321 for screenshots

Documentation Updates

Documentation page will be created at https://docs.roocode.com/providers/ibm-watsonx as planned in original PR

Additional Notes

This PR respects and continues the excellent work done by @PrasangAPrajapati in #8321. The original PR became stale due to merge conflicts with main branch updates. This continuation ensures the IBM watsonx provider integration can be merged into the codebase.

Credit for the implementation goes to the original author @PrasangAPrajapati and reviewers including @daniel-lxs who provided code quality improvements.

Formatting Changes Automatically Resolved

The following files had formatting-only differences compared to upstream/main:

  • apps/web-roo-code/src/app/cloud/page.tsx
  • apps/web-roo-code/src/app/pricing/page.tsx
  • locales/ (multiple README.md files)
  • src/api/providers/fetchers/chutes.ts
  • src/core/tools/__tests__/editFileTool.spec.ts
  • webview-ui/src/components/marketplace/MarketplaceView.tsx
  • README.md

These files were temporarily reverted to match upstream/main, but the pre-commit hook with Prettier automatically reformatted them back to the same state, resulting in no net changes. This indicates that the formatting differences were automatically handled by the project's Prettier configuration.


Important

Add IBM watsonx AI provider with support for ibmCloud and cloudPak platforms, including configuration, validation, UI updates, and tests.

  • Behavior:
    • Adds IBM watsonx AI provider with support for ibmCloud and cloudPak platforms in ibm-watsonx.ts.
    • Implements authentication methods and model fetching in fetchers/ibm-watsonx.ts.
    • Adds validation for IBM watsonx configurations in validate.ts.
  • UI and Localization:
    • Updates UI components to support IBM watsonx in ApiOptions.tsx and providers/ibm-watsonx.tsx.
    • Adds localization strings for IBM watsonx in multiple locales files.
  • Testing:
    • Adds tests for IBM watsonx provider in __tests__/ibm-watsonx.spec.ts.
    • Updates validate.spec.ts to include IBM watsonx in mock data.

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

@roomote
Copy link
Contributor

roomote bot commented Dec 17, 2025

Rooviewer Clock   See task on Roo Cloud

All previously identified issues have been resolved. No new issues found. PR is ready for approval.

  • Fix handlePlatformChange default region: uses "us-south" but REGION_TO_URL expects city names like "Dallas"
  • Fix getCurrentRegion() fallback: returns "us-south" but should return "Dallas" to match REGION_TO_URL keys
Previous reviews

Mention @roomote in a comment to request specific changes to this pull request or fix all unresolved issues.

@hannesrudolph hannesrudolph added the Issue/PR - Triage New issue. Needs quick review to confirm validity and assign labels. label Dec 17, 2025
PrasangAPrajapati and others added 19 commits December 18, 2025 11:22
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>
Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>
@hannesrudolph hannesrudolph changed the title Add IBM watsonx AI provider (Continue) COM-110 Add IBM watsonx AI provider (Continue) Jan 8, 2026
@hannesrudolph hannesrudolph changed the title COM-110 Add IBM watsonx AI provider (Continue) Add IBM watsonx AI provider (Continue) Jan 8, 2026
@hannesrudolph hannesrudolph changed the title Add IBM watsonx AI provider (Continue) Add IBM watsonx AI provider (Continue) COM-110 Jan 8, 2026
@hannesrudolph hannesrudolph changed the title Add IBM watsonx AI provider (Continue) COM-110 Add IBM watsonx AI provider (Continue) [COM-110] Jan 8, 2026
@osdakira
Copy link
Author

I’ll merge the latest main and update it for the native tool calls, so I’m moving it back to draft.

@osdakira osdakira marked this pull request as draft January 13, 2026 05:46
@daniel-lxs daniel-lxs moved this from PR [Needs Prelim Review] to PR [Draft / In Progress] in Roo Code Roadmap Jan 13, 2026
@osdakira osdakira force-pushed the continue-watsonx-ai-provider branch from a61abb5 to fabb8b8 Compare January 15, 2026 04:40
@osdakira osdakira force-pushed the continue-watsonx-ai-provider branch from fabb8b8 to 8964144 Compare January 15, 2026 07:50
@osdakira osdakira force-pushed the continue-watsonx-ai-provider branch from 8964144 to 37dd6d7 Compare January 15, 2026 07:54
@osdakira osdakira marked this pull request as ready for review January 15, 2026 08:04
@dosubot dosubot bot added size:XL This PR changes 500-999 lines, ignoring generated files. and removed size:XXL This PR changes 1000+ lines, ignoring generated files. labels Jan 15, 2026
@roomote
Copy link
Contributor

roomote bot commented Jan 15, 2026

Rooviewer Clock   See task on Roo Cloud

All previously identified issues have been resolved. No new issues found. PR is ready for approval.

  • Fix handlePlatformChange default region: uses "us-south" but REGION_TO_URL expects city names like "Dallas"
  • Fix getCurrentRegion() fallback: returns "us-south" but should return "Dallas" to match REGION_TO_URL keys
Previous reviews

Mention @roomote in a comment to request specific changes to this pull request or fix all unresolved issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Enhancement New feature or request PR - Needs Preliminary Review size:XL This PR changes 500-999 lines, ignoring generated files.

Projects

Status: PR [Draft / In Progress]

Development

Successfully merging this pull request may close these issues.

[ENHANCEMENT] Add IBM watsonx AI provider in the list of providers to connect to IBM hosted LLMs

5 participants