15 lines
580 B
Go
15 lines
580 B
Go
package service
|
|
|
|
import (
|
|
"github.com/heicode/manager/service/openaicompat"
|
|
"github.com/heicode/manager/setting/model_setting"
|
|
)
|
|
|
|
func ShouldChatCompletionsUseResponsesPolicy(policy model_setting.ChatCompletionsToResponsesPolicy, channelID int, channelType int, model string) bool {
|
|
return openaicompat.ShouldChatCompletionsUseResponsesPolicy(policy, channelID, channelType, model)
|
|
}
|
|
|
|
func ShouldChatCompletionsUseResponsesGlobal(channelID int, channelType int, model string) bool {
|
|
return openaicompat.ShouldChatCompletionsUseResponsesGlobal(channelID, channelType, model)
|
|
}
|