mirror of
https://github.com/lukaszraczylo/traefik-llmgateway.git
synced 2026-10-12 04:54:45 +00:00
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.
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user