mirror of
https://github.com/router-for-me/CLIProxyAPIPlus.git
synced 2026-05-08 04:56:04 +08:00
feat(registry): add kiro channel support for model definitions
Add kiro as a new supported channel in GetStaticModelDefinitionsByChannel function, enabling retrieval of Kiro model definitions alongside existing providers like qwen, iflow, and github-copilot.
This commit is contained in:
@@ -19,6 +19,7 @@ import (
|
||||
// - codex
|
||||
// - qwen
|
||||
// - iflow
|
||||
// - kiro
|
||||
// - github-copilot
|
||||
// - antigravity (returns static overrides only)
|
||||
func GetStaticModelDefinitionsByChannel(channel string) []*ModelInfo {
|
||||
@@ -40,6 +41,8 @@ func GetStaticModelDefinitionsByChannel(channel string) []*ModelInfo {
|
||||
return GetQwenModels()
|
||||
case "iflow":
|
||||
return GetIFlowModels()
|
||||
case "kiro":
|
||||
return GetKiroModels()
|
||||
case "github-copilot":
|
||||
return GetGitHubCopilotModels()
|
||||
case "antigravity":
|
||||
|
||||
Reference in New Issue
Block a user