mirror of
https://github.com/songquanpeng/one-api.git
synced 2025-10-19 01:54:06 +00:00
fix: fix model list
This commit is contained in:
@@ -58,6 +58,9 @@ func init() {
|
|||||||
})
|
})
|
||||||
// https://platform.openai.com/docs/models/model-endpoint-compatibility
|
// https://platform.openai.com/docs/models/model-endpoint-compatibility
|
||||||
for i := 0; i < constant.APITypeDummy; i++ {
|
for i := 0; i < constant.APITypeDummy; i++ {
|
||||||
|
if i == constant.APITypeAIProxyLibrary {
|
||||||
|
continue
|
||||||
|
}
|
||||||
adaptor := helper.GetAdaptor(i)
|
adaptor := helper.GetAdaptor(i)
|
||||||
channelName := adaptor.GetChannelName()
|
channelName := adaptor.GetChannelName()
|
||||||
modelNames := adaptor.GetModelList()
|
modelNames := adaptor.GetModelList()
|
||||||
|
Reference in New Issue
Block a user