Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
 
 
 

15 lignes
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. }