Skip to content

Adding nebius provider to roocode #3807

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

arafatkatze
Copy link

@arafatkatze arafatkatze commented May 22, 2025

Related GitHub Issue

cline#2789

Closes: #

Description

This PR adds nebius provider to roocode

Test Procedure

  • Run this PR with a debugger and set the API key

Type of Change

  • 🐛 Bug Fix: Non-breaking change that fixes an issue.
  • New Feature: Non-breaking change that adds functionality.
  • 💥 Breaking Change: Fix or feature that would cause existing functionality to not work as expected.
  • ♻️ Refactor: Code change that neither fixes a bug nor adds a feature.
  • 💅 Style: Changes that do not affect the meaning of the code (white-space, formatting, etc.).
  • 📚 Documentation: Updates to documentation files.
  • ⚙️ Build/CI: Changes to the build process or CI configuration.
  • 🧹 Chore: Other changes that don't modify src or test files.

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.
  • Code Quality:
    • My code adheres to the project's style guidelines.
    • There are no new linting errors or warnings (npm run lint).
    • All debug code (e.g., console.log) has been removed.
  • Testing:
    • New and/or updated tests have been added to cover my changes.
    • All tests pass locally (npm test).
    • The application builds successfully with my changes.
  • Branch Hygiene: My branch is up-to-date (rebased) with the main branch.
  • Documentation Impact: I have considered if my changes require documentation updates (see "Documentation Updates" section below).
  • Changeset: A changeset has been created using npm run changeset if this PR includes user-facing changes or dependency updates.
  • Contribution Guidelines: I have read and agree to the Contributor Guidelines.

Screenshots / Videos

image

Documentation Updates

Additional Notes

Get in Touch


Important

Adds Nebius as a new provider with model selection and configuration support across the codebase.

  • Behavior:
    • Adds nebius as a new provider option in ApiOptions.tsx, ModelPicker.tsx, and constants.ts.
    • Implements Nebius component in providers/Nebius.tsx for handling Nebius-specific settings.
    • Updates useSelectedModel.ts to support Nebius model selection.
  • Schemas and Types:
    • Updates providerNames and providerSettingsSchema in schemas/index.ts to include nebius.
    • Adds Nebius-related types and default model info in api.ts.
  • Validation:
    • Adds validation for nebiusApiKey in validate.ts.
  • Misc:
    • Updates providerSettingsEntrySchema and providerSettingsSchemaDiscriminated in schemas/index.ts to include nebius.
    • Adds Nebius to MODELS_BY_PROVIDER in constants.ts.

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

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
@hannesrudolph hannesrudolph moved this from New to PR [Pre Approval Review] in Roo Code Roadmap May 22, 2025
@hannesrudolph hannesrudolph moved this from PR [Needs Review] to TEMP in Roo Code Roadmap May 26, 2025
@daniel-lxs daniel-lxs moved this from TEMP to PR [Needs Review] in Roo Code Roadmap May 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Needs Preliminary Review
Development

Successfully merging this pull request may close these issues.

2 participants