mirror of
https://github.com/QuantumNous/new-api.git
synced 2026-09-13 15:54:34 +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": "Generation quality preset",
|
||||
"Generic cache": "Generic cache",
|
||||
"Get notified when balance falls below this value": "Get notified when balance falls below this value",
|
||||
"Get one here": "Get one here",
|
||||
"Get started": "Get started",
|
||||
"Get Started": "Get Started",
|
||||
"GitHub": "GitHub",
|
||||
@@ -2059,7 +2060,6 @@
|
||||
"IP Filter Mode": "IP Filter Mode",
|
||||
"IP Restriction": "IP Restriction",
|
||||
"IP Whitelist (supports CIDR)": "IP Whitelist (supports CIDR)",
|
||||
"Power AI applications, manage digital assets, connect the Future": "Power AI applications, manage digital assets, connect the Future",
|
||||
"is less than the configured maximum cache size": "is less than the configured maximum cache size",
|
||||
"is the default price; ": "is the default price; ",
|
||||
"It seems like the page you're looking for": "It seems like the page you're looking for",
|
||||
@@ -2946,6 +2946,7 @@
|
||||
"PostgreSQL detected": "PostgreSQL detected",
|
||||
"PostgreSQL offers advanced reliability and data integrity for production workloads.": "PostgreSQL offers advanced reliability and data integrity for production workloads.",
|
||||
"PostgreSQL offers strong reliability guarantees. Double check your maintenance window and retention policies before going live.": "PostgreSQL offers strong reliability guarantees. Double check your maintenance window and retention policies before going live.",
|
||||
"Power AI applications, manage digital assets, connect the Future": "Power AI applications, manage digital assets, connect the Future",
|
||||
"Powerful API Management Platform": "Powerful API Management Platform",
|
||||
"Pre-Consume for Free Models": "Pre-Consume for Free Models",
|
||||
"Pre-consumed": "Pre-consumed",
|
||||
@@ -3073,8 +3074,6 @@
|
||||
"Pull": "Pull",
|
||||
"Pull model": "Pull model",
|
||||
"Pulling...": "Pulling...",
|
||||
"Subscribe to a plan for model access": "Subscribe to a plan for model access",
|
||||
"Get one here": "Get one here",
|
||||
"Purchase Limit": "Purchase Limit",
|
||||
"Purchase limit reached": "Purchase limit reached",
|
||||
"Purchase Subscription": "Purchase Subscription",
|
||||
@@ -3702,6 +3701,7 @@
|
||||
"Submitting...": "Submitting...",
|
||||
"Submodel": "Submodel",
|
||||
"Subscribe Now": "Subscribe Now",
|
||||
"Subscribe to a plan for model access": "Subscribe to a plan for model access",
|
||||
"Subscription": "Subscription",
|
||||
"Subscription Billing": "Subscription Billing",
|
||||
"Subscription First": "Subscription First",
|
||||
@@ -4140,6 +4140,7 @@
|
||||
"Upstream price sync": "Upstream price sync",
|
||||
"Upstream prices fetched successfully": "Upstream prices fetched successfully",
|
||||
"Upstream ratios fetched successfully": "Upstream ratios fetched successfully",
|
||||
"Upstream Request ID": "Upstream Request ID",
|
||||
"Upstream Response": "Upstream Response",
|
||||
"upstream services integrated": "upstream services integrated",
|
||||
"Upstream Updates": "Upstream Updates",
|
||||
|
||||
Reference in New Issue
Block a user