fix(rerank): batch Volcengine rerank requests over API document limit

Split oversized candidate sets into concurrent batches instead of failing when retrieval exceeds the VikingDB rerank per-request cap, and align ko/ru locale hints with zh-CN.
This commit is contained in:
wizardchen
2026-07-20 20:06:42 +08:00
committed by lyingbug
parent 3011f132e9
commit b1b42abe23
5 changed files with 172 additions and 19 deletions
+1 -1
View File
@@ -27,7 +27,7 @@ func (p *VolcengineProvider) Info() ProviderInfo {
return ProviderInfo{
Name: ProviderVolcengine,
DisplayName: "火山引擎 Volcengine",
Description: "doubao-1-5-pro-32k-250115, doubao-embedding-vision-250615, etc.",
Description: "doubao-1-5-pro-32k-250115, doubao-embedding-vision-250615, doubao-seed-rerank, etc.",
DefaultURLs: map[types.ModelType]string{
types.ModelTypeKnowledgeQA: VolcengineChatBaseURL,
types.ModelTypeEmbedding: VolcengineEmbeddingBaseURL,