Skip to content
This repository was archived by the owner on May 15, 2026. It is now read-only.

Add IBM watsonx AI provider in the list of providers to connect to IBM hosted LLMs#8321

Closed
PrasangAPrajapati wants to merge 33 commits into
RooCodeInc:mainfrom
PrasangAPrajapati:watsonx-ai-provider
Closed

Add IBM watsonx AI provider in the list of providers to connect to IBM hosted LLMs#8321
PrasangAPrajapati wants to merge 33 commits into
RooCodeInc:mainfrom
PrasangAPrajapati:watsonx-ai-provider

Conversation

@PrasangAPrajapati

@PrasangAPrajapati PrasangAPrajapati commented Sep 25, 2025

Copy link
Copy Markdown

Related GitHub Issue

Closes: #8087

Roo Code Task Context (Optional)

Description

  • Added IBM watsonx AI provider in the list of providers in the Roo Code VS Code extension to connect to IBM watsonx-hosted LLMs.

Test Procedure

  • You can start with the free trial: https://dataplatform.cloud.ibm.com/registration/stepone?context=wx
  • Sign up with Google (Do not use RedHat) - If you already have an account, just use Log In
  • Once you're logged in to the IBM Cloud, you'll be asked to add the address and the credit card information (Don't worry, you won't get charged)
  • Go to the Resources list from the left sidebar menu
  • Click on the Create resource button
  • Go to the Category - AI/Machine Learning
  • Click on watsonx.ai runtime
  • Select the Region (Dallas) and Lite plan, which is free
  • You can give the service name, and the resource group will be the default.
  • Accept terms and conditions and hit create
  • Now there is a button called Launch In -> Select IBM watsonx from the drop-down - it will create a watsonx instance
  • Go down on the page and create a project by clicking on the + icon (it may create automatically)
  • Go to Manage and click on the Services and integrations from the left menu bar (make sure the created watsonx.ai runtime is associated)
  • Go back to the home page by clicking on the top left IBM watsonx
  • Select your project from the drop-down shown in the Developer access area
  • Click on the Create API key and save the API key (you won't be able to see that again)
  • Note project ID and api key
  • Use the project ID and api key in the Roo Code IBM watsonx provider

Pre-Submission Checklist

  • Issue Linked: This PR is linked to an approved GitHub Issue (see "Related GitHub Issue" above).
  • Scope: My changes are focused on the linked issue (one major feature/fix per PR).
  • Self-Review: I have performed a thorough self-review of my code.
  • Testing: New and/or updated tests have been added to cover my changes (if applicable).
  • Documentation Impact: I have considered if my changes require documentation updates (see "Documentation Updates" section below).
  • Contribution Guidelines: I have read and agree to the Contributor Guidelines.

Screenshots / Videos

Screenshot 2025-09-25 at 6 43 30 PM

Documentation Updates

Additional Notes

Get in Touch

  • Let's use the GH PR only for communication.

Important

Adds IBM watsonx as a new AI provider with full integration, including configuration, validation, UI support, and testing.

  • Behavior:
    • Adds IBM watsonx as a new AI provider in provider-settings.ts and global-settings.ts.
    • Introduces WatsonxAIHandler in ibm-watsonx.ts for handling API interactions.
    • Supports both ibmCloud and cloudPak platforms with different authentication methods.
  • Validation:
    • Updates validate.ts to include validation for IBM watsonx configurations.
    • Adds validation tests in validate.test.ts for IBM watsonx.
  • UI:
    • Updates UI components in ApiOptions.tsx and providers/ibm-watsonx.tsx to support IBM watsonx configurations.
    • Adds localization strings for IBM watsonx in multiple language files.
  • Testing:
    • Adds unit tests for WatsonxAIHandler in ibm-watsonx.spec.ts.
    • Updates webviewMessageHandler.spec.ts and ClineProvider.spec.ts to include IBM watsonx.

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

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

Labels

Enhancement New feature or request PR - Draft / In Progress size:XXL This PR changes 1000+ lines, ignoring generated files.

Projects

No open projects
Archived in project

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

4 participants