test(integration): enable discovery on the real-upstream provider

Discovery failures are non-fatal (explicit model keeps resolving
offline), and with discovery on, INTEGRATION_REAL=1 runs serve the
gateway's full live catalog from /v1/models instead of one pinned id.
This commit is contained in:
2026-08-20 23:15:13 +01:00
parent 657480348b
commit 8eb06a4b8b
+7 -4
View File
@@ -132,10 +132,11 @@ http:
type: openai
baseUrl: "__INTEGRATION_REAL_BASEURL__"
apiKey: ""
# Explicit rather than discovered: resolution must not depend
# on this container reaching the real upstream at Traefik
# startup (offline dev machines, CI with no egress). The
# actual chat completion call in task 7 still goes out live.
# Explicit model AND discovery: the explicit entry keeps
# resolution working offline (discovery failures are non-fatal
# by design - log + retry next interval), while discovery
# populates /v1/models with the gateway's full live catalog
# when the upstream is reachable (INTEGRATION_REAL=1 runs).
#
# The provider is deliberately NOT named "uni": the upstream
# gateway's own model ids carry a "uni/" prefix, and a
@@ -144,6 +145,8 @@ http:
# non-colliding name the whole slash-bearing id below is a
# bare model id and is forwarded verbatim.
models: ["uni/deepseek-v4-flash-0731"]
discovery: true
discoveryInterval: "5m"
groups:
eng:
limits: