Skip to content

Commit

Permalink
fix: fix model list
Browse files Browse the repository at this point in the history
  • Loading branch information
songquanpeng committed Feb 19, 2024
1 parent 2a5468e commit cece77e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions controller/model.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,9 @@ func init() {
})
// https://platform.openai.com/docs/models/model-endpoint-compatibility
for i := 0; i < constant.APITypeDummy; i++ {
if i == constant.APITypeAIProxyLibrary {
continue
}
adaptor := helper.GetAdaptor(i)
channelName := adaptor.GetChannelName()
modelNames := adaptor.GetModelList()
Expand Down

0 comments on commit cece77e

Please sign in to comment.