feat: sync remaining channel and relay updates
This commit is contained in:
@@ -291,6 +291,8 @@ func fetchChannelUpstreamModelIDs(channel *model.Channel) ([]string, error) {
|
||||
} else {
|
||||
url = fmt.Sprintf("%s/v1/models", baseURL)
|
||||
}
|
||||
case constant.ChannelTypeCodexCLIProxy, constant.ChannelTypeGeminiCLIProxy:
|
||||
url = fmt.Sprintf("%s/models", baseURL)
|
||||
default:
|
||||
url = fmt.Sprintf("%s/v1/models", baseURL)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user