feat: publish sanitized custom.97 source
This commit is contained in:
1022 files changed
+69903
-19207
No files matched your search
+1
-1
@@ -192,7 +192,7 @@ var ChannelTypeNames = map[int]string{
|
||||
ChannelTypeJimeng: "Jimeng",
|
||||
ChannelTypeVidu: "Vidu",
|
||||
ChannelTypeSubmodel: "Submodel",
|
||||
ChannelTypeDoubaoVideo: "DoubaoVideo",
|
||||
ChannelTypeDoubaoVideo: "Doubao",
|
||||
ChannelTypeSora: "Sora",
|
||||
ChannelTypeReplicate: "Replicate",
|
||||
ChannelTypeCodex: "ChatGPT Subscription (Codex)",
|
||||
|
||||
@@ -44,6 +44,11 @@ const (
|
||||
ContextKeyChannelMultiKeyIndex ContextKey = "channel_multi_key_index"
|
||||
ContextKeyChannelKey ContextKey = "channel_key"
|
||||
|
||||
// ContextKeyUpstreamRequestOrigin is the scheme and host of the last upstream
|
||||
// request, which differs from the base URL for absolute Advanced Custom routes
|
||||
// and for adaptors that build official endpoints themselves.
|
||||
ContextKeyUpstreamRequestOrigin ContextKey = "upstream_request_origin"
|
||||
|
||||
ContextKeyAutoGroup ContextKey = "auto_group"
|
||||
ContextKeyAutoGroupIndex ContextKey = "auto_group_index"
|
||||
ContextKeyAutoGroupRetryIndex ContextKey = "auto_group_retry_index"
|
||||
|
||||
@@ -11,6 +11,8 @@ const (
|
||||
EndpointTypeOpenAIResponse = types.EndpointTypeOpenAIResponse
|
||||
EndpointTypeOpenAIResponseCompact = types.EndpointTypeOpenAIResponseCompact
|
||||
EndpointTypeOpenAIAlphaSearch = types.EndpointTypeOpenAIAlphaSearch
|
||||
EndpointTypeDeepSeekToolsSearch = types.EndpointTypeDeepSeekToolsSearch
|
||||
EndpointTypeDeepSeekToolsFetch = types.EndpointTypeDeepSeekToolsFetch
|
||||
EndpointTypeAnthropic = types.EndpointTypeAnthropic
|
||||
EndpointTypeGemini = types.EndpointTypeGemini
|
||||
EndpointTypeJinaRerank = types.EndpointTypeJinaRerank
|
||||
@@ -18,3 +20,10 @@ const (
|
||||
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"
|
||||
)
|
||||
Reference in new issue
Block a user