mirror of
https://github.com/alibaba/higress.git
synced 2026-06-09 12:47:28 +08:00
Revert "remove qwen Anthropic compatiable mode"
This reverts commit f7d80373f9.
This commit is contained in:
@@ -74,6 +74,7 @@ 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{
|
||||||
@@ -82,6 +83,7 @@ func (m *qwenProviderInitializer) DefaultCapabilities(qwenEnableCompatible bool)
|
|||||||
string(ApiNameQwenAsyncAIGC): qwenAsyncAIGCPath,
|
string(ApiNameQwenAsyncAIGC): qwenAsyncAIGCPath,
|
||||||
string(ApiNameQwenAsyncTask): qwenAsyncTaskPath,
|
string(ApiNameQwenAsyncTask): qwenAsyncTaskPath,
|
||||||
string(ApiNameQwenV1Rerank): qwenTextRerankPath,
|
string(ApiNameQwenV1Rerank): qwenTextRerankPath,
|
||||||
|
string(ApiNameAnthropicMessages): qwenAnthropicMessagesPath,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user