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
@@ -3165,6 +3165,14 @@ export default {
baseUrlPlaceholderAsr: "예: https://api.openai.com/v1",
apiKeyOptional: "API 키 (선택)",
apiKeyPlaceholder: "API 키 입력",
volcengine: {
accessKeyLabel: "Access Key ID",
accessKeyPlaceholder: "Volcengine Access Key ID",
secretKeyLabel: "Secret Access Key",
secretKeyPlaceholder: "Volcengine Secret Access Key",
rerankCredentialHint:
"Rerank은 Ark API 키가 아닌 VikingDB AK/SK 서명을 사용합니다. 권장 모델: doubao-seed-rerank.",
},
customHeadersLabel: "사용자 정의 요청 헤더 (선택)",
customHeadersDesc: "원격 모델 API 호출 시 추가되는 HTTP 헤더입니다. 기업 게이트웨이 인증이나 추적 등에 사용할 수 있으며, Authorization / Content-Type 같은 예약 헤더는 무시됩니다.",
customHeadersAdd: "헤더 추가",
+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: 'Добавить заголовок',