Skip to content

feat: add SambaNova provider integration #6080

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

roomote[bot]
Copy link

@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.

- 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 mrubens, cte and jr 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

@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)

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
Status: Triage
Development

Successfully merging this pull request may close these issues.

SambaNova Integration
3 participants