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
+8
View File
@@ -2853,6 +2853,14 @@ export default {
baseUrlPlaceholderAsr: 'например: https://api.openai.com/v1',
apiKeyOptional: 'API Key (опционально)',
apiKeyPlaceholder: 'Введите API Key',
volcengine: {
accessKeyLabel: 'Access Key ID',
accessKeyPlaceholder: 'Volcengine Access Key ID',
secretKeyLabel: 'Secret Access Key',
secretKeyPlaceholder: 'Volcengine Secret Access Key',
rerankCredentialHint:
'Rerank использует подпись VikingDB AK/SK, а не Ark API key. Рекомендуемая модель: doubao-seed-rerank.',
},
customHeadersLabel: 'Пользовательские заголовки запроса (опционально)',
customHeadersDesc: 'Дополнительные HTTP-заголовки, добавляемые к запросам к удалённому API модели (например, для авторизации корпоративного шлюза или трассировки). Зарезервированные заголовки, такие как Authorization / Content-Type, игнорируются.',
customHeadersAdd: 'Добавить заголовок',