Feat/custom byok connections - #64
Merged
Merged
Conversation
AlexBybye
commented
Sep 10, 2026
Owner
# 一次很有意义的更新
起初为了限定产品规模,采用了固定四家API-key provider,但实际上,我们很多情景会用到更多的模型及其供应商,考虑到学生是初学者,前端UI封装了点击按钮询问/models并返回模型及其名称的接口,这些都是从deepseekharness抄的现成的,不得不说真的很有产品思维。
Cherry-picked and isolated from b990162; excludes the bounded Agent Action experiment and AB metrics.
…per connection(DSH idea) - Introduced StoredByokModel dataclass to represent individual BYOK models. - Updated StoredModelCredential to include a tuple of models. - Enhanced JSON schemas for model credential list and upsert to support multiple models. - Added tests for registering and using multiple models under a single BYOK connection. - Updated frontend components to manage and display multiple models in the BYOK credentials panel. - Implemented discovery functionality to fetch models from the specified endpoint.
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.