diff --git a/gateway/examples/openai-multi-provider-proxy.yaml b/gateway/examples/openai-multi-provider-proxy.yaml index e88f18901..e06d69b06 100644 --- a/gateway/examples/openai-multi-provider-proxy.yaml +++ b/gateway/examples/openai-multi-provider-proxy.yaml @@ -18,7 +18,7 @@ # router in front of it. With no "selected_provider" in the request # metadata the translator runs unconditionally. # -# * Multi-provider mode — put openai-header-router first. It writes +# * Multi-provider mode — put llm-header-router first. It writes # the chosen provider into metadata["selected_provider"]. Each # translator then runs only when that selection equals its own "id". # The "id" doubles as the upstream cluster name, so it must match an @@ -98,7 +98,7 @@ spec: params: key: X-API-Key in: header - - name: openai-header-router + - name: llm-header-router version: v1 paths: - path: /chat/completions diff --git a/gateway/gateway-controller/pkg/utils/llm_transformer_multiprovider_test.go b/gateway/gateway-controller/pkg/utils/llm_transformer_multiprovider_test.go index 9d558dfaf..1fc5d4772 100644 --- a/gateway/gateway-controller/pkg/utils/llm_transformer_multiprovider_test.go +++ b/gateway/gateway-controller/pkg/utils/llm_transformer_multiprovider_test.go @@ -101,7 +101,7 @@ func TestLLMProviderTransformer_TransformProxy_AdditionalProviderAuthIsCondition }, }}, Policies: &[]api.LLMPolicy{{ - Name: "openai-header-router", + Name: "llm-header-router", Version: "v1", Paths: []api.LLMPolicyPath{{ Path: "/chat/completions",