您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 

15 行
588 B

  1. package service
  2. import (
  3. "github.com/QuantumNous/new-api/service/openaicompat"
  4. "github.com/QuantumNous/new-api/setting/model_setting"
  5. )
  6. func ShouldChatCompletionsUseResponsesPolicy(policy model_setting.ChatCompletionsToResponsesPolicy, channelID int, channelType int, model string) bool {
  7. return openaicompat.ShouldChatCompletionsUseResponsesPolicy(policy, channelID, channelType, model)
  8. }
  9. func ShouldChatCompletionsUseResponsesGlobal(channelID int, channelType int, model string) bool {
  10. return openaicompat.ShouldChatCompletionsUseResponsesGlobal(channelID, channelType, model)
  11. }