Using Roo Code With CBorg

1. Install Roo Code

Install the Roo Code Extension for VS Code.

2. Configure Provider

  1. Open the Settings menu.
  2. Go to Providers
  3. Click + to create a new profile
  4. Name the profile something appropriate, e.g. ‘CBorg Claude Sonnet’ (can be changed later)
  5. For API Provider select LiteLLM
  6. Set Base URL to https://api.cborg.lbl.gov
  7. Add your CBORG_API_KEY to LiteLLM API Key
  8. Click Refresh Models
  9. Select the desired model (recommended: anthropic/claude-sonnet)

Note: With the LiteLLM provider, Roo Code will display accurate calculations of the cost of each operation and supports prompt caching for Anthropic models. Do not use “OpenAI Compatible” as the provider, as this will result in a reduced feature set.

For more information please consult the RooCode documentation: Using LiteLLM with RooCode

Advanced users may wish to configure multiple profiles for different tasks.