remove qwen Anthropic compatiable mode

This commit is contained in:
johnlanni
2025-09-09 11:12:49 +08:00
parent 91a44ea7aa
commit f7d80373f9

View File

@@ -74,16 +74,14 @@ func (m *qwenProviderInitializer) DefaultCapabilities(qwenEnableCompatible bool)
string(ApiNameRetrieveFileContent): qwenCompatibleRetrieveFileContentPath, string(ApiNameRetrieveFileContent): qwenCompatibleRetrieveFileContentPath,
string(ApiNameBatches): qwenCompatibleBatchesPath, string(ApiNameBatches): qwenCompatibleBatchesPath,
string(ApiNameRetrieveBatch): qwenCompatibleRetrieveBatchPath, string(ApiNameRetrieveBatch): qwenCompatibleRetrieveBatchPath,
string(ApiNameAnthropicMessages): qwenAnthropicMessagesPath,
} }
} else { } else {
return map[string]string{ return map[string]string{
string(ApiNameChatCompletion): qwenChatCompletionPath, string(ApiNameChatCompletion): qwenChatCompletionPath,
string(ApiNameEmbeddings): qwenTextEmbeddingPath, string(ApiNameEmbeddings): qwenTextEmbeddingPath,
string(ApiNameQwenAsyncAIGC): qwenAsyncAIGCPath, string(ApiNameQwenAsyncAIGC): qwenAsyncAIGCPath,
string(ApiNameQwenAsyncTask): qwenAsyncTaskPath, string(ApiNameQwenAsyncTask): qwenAsyncTaskPath,
string(ApiNameQwenV1Rerank): qwenTextRerankPath, string(ApiNameQwenV1Rerank): qwenTextRerankPath,
string(ApiNameAnthropicMessages): qwenAnthropicMessagesPath,
} }
} }
} }