mirror of
https://github.com/QuantumNous/new-api.git
synced 2026-09-07 01:56:53 +00:00
feat: track upstream request ID and prevent response header override
When proxying through another new-api instance, the upstream X-Oneapi-Request-Id was overwriting the local one in client responses. This adds a new `upstream_request_id` field to the logs table, captures the upstream ID during relay, and filters it from being copied back to the client. Frontend gains search/filter and detail display support.
This commit is contained in:
Vendored
+4
-3
@@ -1817,6 +1817,7 @@
|
||||
"Generation quality preset": "Пресет качества генерации",
|
||||
"Generic cache": "Общий кэш",
|
||||
"Get notified when balance falls below this value": "Получать уведомления, когда баланс опускается ниже этого значения",
|
||||
"Get one here": "Получить здесь",
|
||||
"Get started": "Начало работы",
|
||||
"Get Started": "Начать",
|
||||
"GitHub": "GitHub",
|
||||
@@ -2059,7 +2060,6 @@
|
||||
"IP Filter Mode": "Режим фильтрации IP",
|
||||
"IP Restriction": "Ограничение IP",
|
||||
"IP Whitelist (supports CIDR)": "Белый список IP (поддерживает CIDR)",
|
||||
"Power AI applications, manage digital assets, connect the Future": "Обеспечивайте AI-приложения, управляйте цифровыми активами, соединяйте Будущее",
|
||||
"is less than the configured maximum cache size": "меньше настроенного максимального размера кэша",
|
||||
"is the default price; ": "— цена по умолчанию; ",
|
||||
"It seems like the page you're looking for": "Похоже, страница, которую вы ищете",
|
||||
@@ -2946,6 +2946,7 @@
|
||||
"PostgreSQL detected": "PostgreSQL обнаружен",
|
||||
"PostgreSQL offers advanced reliability and data integrity for production workloads.": "PostgreSQL обеспечивает высокую надёжность и целостность данных для продакшен-нагрузок.",
|
||||
"PostgreSQL offers strong reliability guarantees. Double check your maintenance window and retention policies before going live.": "PostgreSQL предлагает надежные гарантии. Дважды проверьте окно обслуживания и политики хранения данных перед запуском.",
|
||||
"Power AI applications, manage digital assets, connect the Future": "Обеспечивайте AI-приложения, управляйте цифровыми активами, соединяйте Будущее",
|
||||
"Powerful API Management Platform": "Мощная платформа управления API",
|
||||
"Pre-Consume for Free Models": "Предварительное потребление для бесплатных моделей",
|
||||
"Pre-consumed": "Предоплата",
|
||||
@@ -3073,8 +3074,6 @@
|
||||
"Pull": "Загрузить",
|
||||
"Pull model": "Загрузить модель",
|
||||
"Pulling...": "Загрузка...",
|
||||
"Subscribe to a plan for model access": "Подпишитесь на план для доступа к моделям",
|
||||
"Get one here": "Получить здесь",
|
||||
"Purchase Limit": "Лимит покупок",
|
||||
"Purchase limit reached": "Достигнут лимит покупок",
|
||||
"Purchase Subscription": "Приобрести подписку",
|
||||
@@ -3702,6 +3701,7 @@
|
||||
"Submitting...": "Отправка...",
|
||||
"Submodel": "Submodel",
|
||||
"Subscribe Now": "Подписаться сейчас",
|
||||
"Subscribe to a plan for model access": "Подпишитесь на план для доступа к моделям",
|
||||
"Subscription": "Подписка",
|
||||
"Subscription Billing": "Биллинг подписки",
|
||||
"Subscription First": "Подписка в приоритете",
|
||||
@@ -4140,6 +4140,7 @@
|
||||
"Upstream price sync": "Синхронизация цен upstream",
|
||||
"Upstream prices fetched successfully": "Цены провайдера успешно получены",
|
||||
"Upstream ratios fetched successfully": "Коэффициенты upstream успешно получены",
|
||||
"Upstream Request ID": "ID вышестоящего запроса",
|
||||
"Upstream Response": "Ответ Upstream",
|
||||
"upstream services integrated": "интеграций с вышестоящими сервисами",
|
||||
"Upstream Updates": "Обновления вышестоящих моделей",
|
||||
|
||||
Reference in New Issue
Block a user