Skip to content

Conversation

@roomote
Copy link
Contributor

@roomote roomote bot commented Jul 22, 2025

This PR adds SambaNova as a new LLM provider to Roo Code, addressing issue #6077.

Changes Made

  • Added SambaNova types with 13 supported models including Llama, Qwen, and DeepSeek variants
  • Created SambaNova handler extending BaseOpenAiCompatibleProvider for OpenAI-compatible API integration
  • Added UI components for SambaNova provider settings in the webview
  • Updated all configuration files to include SambaNova as a provider option
  • Added translations for all 17 supported locales
  • Implemented comprehensive tests for the SambaNova provider with 100% coverage

Implementation Details

The implementation follows the existing pattern used by other providers like Groq:

  • Uses the OpenAI-compatible API endpoint at https://api.sambanova.ai/v1
  • Supports all major SambaNova models including vision models and reasoning models
  • Integrates seamlessly with the existing provider selection UI

Testing

  • All tests pass successfully
  • Type checking passes
  • Linting passes

Closes #6077


Important

Adds SambaNova provider integration with UI, configuration, and testing updates for 13 models.

  • Behavior:
    • Adds SambaNova as a new LLM provider with 13 models, including Llama, Qwen, and DeepSeek variants.
    • Implements SambaNovaHandler extending BaseOpenAiCompatibleProvider for API integration.
    • Updates UI components in ApiOptions.tsx and SambaNova.tsx for provider settings.
  • Configuration:
    • Updates provider-settings.ts and index.ts to include SambaNova.
    • Adds translations for 17 locales.
  • Testing:
    • Adds sambanova.spec.ts for comprehensive testing with 100% coverage.
  • Misc:
    • Adds sambanova.ts to define models and default settings.

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

roomote added 2 commits July 22, 2025 20:48
- Add SambaNova types with supported models
- Create SambaNova handler extending BaseOpenAiCompatibleProvider
- Add SambaNova UI component for settings
- Update provider configurations and exports
- Add translations for all supported locales
- Add comprehensive tests for SambaNova provider

Closes #6077
@roomote roomote bot requested review from cte, jr and mrubens as code owners July 22, 2025 20:51
@dosubot dosubot bot added size:L This PR changes 100-499 lines, ignoring generated files. enhancement New feature or request labels Jul 22, 2025
@roomote roomote bot mentioned this pull request Jul 22, 2025
4 tasks
@hannesrudolph hannesrudolph added the Issue/PR - Triage New issue. Needs quick review to confirm validity and assign labels. label Jul 22, 2025
Copy link
Contributor

@snova-jorgep snova-jorgep left a comment

Choose a reason for hiding this comment

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

available models list in sambanova cloud is outdated see (https://docs.sambanova.ai/cloud/docs/get-started/supported-models)

@daniel-lxs
Copy link
Member

@snova-jorgep I'll close this automated PR, feel free to create a new one!

@daniel-lxs daniel-lxs closed this Jul 23, 2025
@github-project-automation github-project-automation bot moved this from Triage to Done in Roo Code Roadmap Jul 23, 2025
@github-project-automation github-project-automation bot moved this from New to Done in Roo Code Roadmap Jul 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request Issue/PR - Triage New issue. Needs quick review to confirm validity and assign labels. size:L This PR changes 100-499 lines, ignoring generated files.

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

SambaNova Integration

5 participants