-
Notifications
You must be signed in to change notification settings - Fork 2.5k
(feat): Add Baseten Provider #9461
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
AlexKer
wants to merge
9
commits into
RooCodeInc:main
Choose a base branch
from
AlexKer:baseten-provider
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
+379
−10
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- Add Baseten model definitions (10 models) in packages/types/src/providers/baseten.ts - Implement BasetenHandler extending BaseOpenAiCompatibleProvider - Add Baseten UI component for API key input - Add basetenApiKey to SECRET_STATE_KEYS (critical fix for welcome screen) - Register Baseten in provider settings, API handlers, and UI components - Add validation and translation support - Baseten appears last in provider dropdown as requested
- Add Baseten provider type definitions with 10 models - Implement BasetenHandler extending BaseOpenAiCompatibleProvider - Add Baseten UI component for API key configuration - Add validation logic for Baseten API key - Include Baseten in provider settings schema and constants - Add Baseten translations (basetenApiKey, getBasetenApiKey) - Add basetenApiKey to SECRET_STATE_KEYS for proper storage - Add Baseten provider documentation - Default model: moonshotai/Kimi-K2-Thinking
Contributor
Re-review completed. No new issues found. The recent changes improve reasoning content parsing by supporting both
Mention @roomote in a comment to request specific changes to this pull request or fix all unresolved issues. |
Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
documentation
Improvements or additions to documentation
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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Related GitHub Issue
Similar to #3034
No issue. This is direct message request from Roo Code team (Matt Rubens)
Description
Test Procedure
Build and run the extension from the add-baseten-provider branch.
Open the Roo Code extension view.
Navigate to the Settings panel.
In the "Providers" section, select "Baseten" from the "API Provider" dropdown.
Verify: The label for the API key input field reads "Base API Key" and the button below it reads "Get Baseten API Key".
Run Roo Code.
Pre-Submission Checklist
Documentation Updates
Does this PR necessitate updates to user-facing documentation?
New docs are added in this PR.
Important
Add Baseten provider integration with model definitions, UI components, and API key configuration.
BasetenHandlerinsrc/api/providers/baseten.tsextendingBaseOpenAiCompatibleProvider.BasetenHandlerinsrc/api/index.tsandsrc/api/providers/index.ts.basetenModelsandBasetenModelInfoinpackages/types/src/providers/baseten.ts.Basetencomponent inwebview-ui/src/components/settings/providers/Baseten.tsxfor API key input.ApiOptions.tsxto include Baseten in provider selection.webview-ui/src/i18n/locales/en/settings.json.basetenApiKeytoSECRET_STATE_KEYSinpackages/types/src/global-settings.ts.providerSettingsSchemainpackages/types/src/provider-settings.ts.basetenApiKeyinwebview-ui/src/utils/validate.ts.docs/providers/baseten.mdfor Baseten provider setup and usage.This description was created by
for 2fef8f4. You can customize this summary. It will automatically update as commits are pushed.