From a280ee8aee34fb0c1049d90d1db737d445286338 Mon Sep 17 00:00:00 2001 From: Lukasz Raczylo Date: Thu, 20 Aug 2026 16:05:35 +0100 Subject: [PATCH] test(integration): non-colliding provider name for real-upstream smoke The upstream gateway's model ids carry a uni/ prefix; a provider named uni made the plugin strip it as a provider prefix. Renamed to real and listed the full slash-bearing id, exercising bare-id resolution. --- integration/traefik/dynamic.yml.tmpl | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/integration/traefik/dynamic.yml.tmpl b/integration/traefik/dynamic.yml.tmpl index d41e546..d618dee 100644 --- a/integration/traefik/dynamic.yml.tmpl +++ b/integration/traefik/dynamic.yml.tmpl @@ -71,7 +71,7 @@ http: plugin: llmgateway: providers: - uni: + real: type: openai baseUrl: "__INTEGRATION_REAL_BASEURL__" apiKey: "" @@ -79,7 +79,14 @@ http: # 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. - models: ["deepseek-v4-flash-0731"] + # + # The provider is deliberately NOT named "uni": the upstream + # gateway's own model ids carry a "uni/" prefix, and a + # provider of that name would make the plugin strip it + # (provider-prefix resolution) before proxying. With a + # non-colliding name the whole slash-bearing id below is a + # bare model id and is forwarded verbatim. + models: ["uni/deepseek-v4-flash-0731"] groups: eng: limits: