diff --git a/plugins/wasm-go/extensions/ai-proxy/provider/qwen.go b/plugins/wasm-go/extensions/ai-proxy/provider/qwen.go index a913319d0..2f9020694 100644 --- a/plugins/wasm-go/extensions/ai-proxy/provider/qwen.go +++ b/plugins/wasm-go/extensions/ai-proxy/provider/qwen.go @@ -74,16 +74,14 @@ func (m *qwenProviderInitializer) DefaultCapabilities(qwenEnableCompatible bool) string(ApiNameRetrieveFileContent): qwenCompatibleRetrieveFileContentPath, string(ApiNameBatches): qwenCompatibleBatchesPath, string(ApiNameRetrieveBatch): qwenCompatibleRetrieveBatchPath, - string(ApiNameAnthropicMessages): qwenAnthropicMessagesPath, } } else { return map[string]string{ - string(ApiNameChatCompletion): qwenChatCompletionPath, - string(ApiNameEmbeddings): qwenTextEmbeddingPath, - string(ApiNameQwenAsyncAIGC): qwenAsyncAIGCPath, - string(ApiNameQwenAsyncTask): qwenAsyncTaskPath, - string(ApiNameQwenV1Rerank): qwenTextRerankPath, - string(ApiNameAnthropicMessages): qwenAnthropicMessagesPath, + string(ApiNameChatCompletion): qwenChatCompletionPath, + string(ApiNameEmbeddings): qwenTextEmbeddingPath, + string(ApiNameQwenAsyncAIGC): qwenAsyncAIGCPath, + string(ApiNameQwenAsyncTask): qwenAsyncTaskPath, + string(ApiNameQwenV1Rerank): qwenTextRerankPath, } } }