30 lines
1.3 KiB
Go
30 lines
1.3 KiB
Go
package constant
|
|
|
|
import "github.com/QuantumNous/new-api/relaykit/types"
|
|
|
|
// EndpointType moved to types with the conversion kit; aliases keep host
|
|
// code compiling unchanged.
|
|
type EndpointType = types.EndpointType
|
|
|
|
const (
|
|
EndpointTypeOpenAI = types.EndpointTypeOpenAI
|
|
EndpointTypeOpenAIResponse = types.EndpointTypeOpenAIResponse
|
|
EndpointTypeOpenAIResponseCompact = types.EndpointTypeOpenAIResponseCompact
|
|
EndpointTypeOpenAIAlphaSearch = types.EndpointTypeOpenAIAlphaSearch
|
|
EndpointTypeDeepSeekToolsSearch = types.EndpointTypeDeepSeekToolsSearch
|
|
EndpointTypeDeepSeekToolsFetch = types.EndpointTypeDeepSeekToolsFetch
|
|
EndpointTypeAnthropic = types.EndpointTypeAnthropic
|
|
EndpointTypeGemini = types.EndpointTypeGemini
|
|
EndpointTypeJinaRerank = types.EndpointTypeJinaRerank
|
|
EndpointTypeImageGeneration = types.EndpointTypeImageGeneration
|
|
EndpointTypeEmbeddings = types.EndpointTypeEmbeddings
|
|
EndpointTypeOpenAIVideo = types.EndpointTypeOpenAIVideo
|
|
)
|
|
|
|
// Model names the distributor assigns to /v1/tools/search and /v1/tools/fetch,
|
|
// whose bodies carry no model. Channels serve the endpoints by listing them.
|
|
const (
|
|
DeepSeekSearchModel = "deepseek-search"
|
|
DeepSeekFetchModel = "deepseek-fetch"
|
|
)
|