feat(dashboard): default mode.#198
Open
kevin5251984 wants to merge 1 commit into
Open
Conversation
When the requested model is not on the whitelist, this model will be used instead. Leave it blank to reject requests outside the whitelist.
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.
When the requested model is not on the whitelist, this model will be used instead. Leave it blank to reject requests outside the whitelist.
改了什么 / What changed
新增「默認模型」(default model) 功能:當請求的模型不在白名單中時,系統會自動使用配置的默認模型代替直接拒絕請求。在 Dashboard 的模型訪問控制區域新增了默認模型輸入框。
为什么 / Why
解決白名單外模型請求被拒絕的問題。用戶現在可以設置一個 fallback 模型,讓不在白名單中的模型請求自動轉向該默認模型,而不是返回錯誤。這提高了系統的靈活性和用戶體驗。
测试 / Testing
Checklist