mirror of
https://github.com/linux-do/new-api.git
synced 2025-12-25 16:15:56 +08:00
refactor: audio relay
This commit is contained in:
@@ -131,7 +131,7 @@ func init() {
|
||||
}
|
||||
meta := &relaycommon.RelayInfo{ChannelType: i}
|
||||
adaptor := relay.GetAdaptor(apiType)
|
||||
adaptor.Init(meta, dto.GeneralOpenAIRequest{})
|
||||
adaptor.Init(meta)
|
||||
channelId2Models[i] = adaptor.GetModelList()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user