diff --git a/kong/llm/schemas/init.lua b/kong/llm/schemas/init.lua index c975c49c26f09..2efcb6b4108a6 100644 --- a/kong/llm/schemas/init.lua +++ b/kong/llm/schemas/init.lua @@ -237,12 +237,6 @@ return { { logging = logging_schema }, }, entity_checks = { - -- these three checks run in a chain, to ensure that all auth params for each respective "set" are specified - { conditional_at_least_one_of = { if_field = "model.provider", - if_match = { one_of = { "openai", "azure", "anthropic", "cohere" } }, - then_at_least_one_of = { "auth.header_name", "auth.param_name" }, - then_err = "must set one of %s, and its respective options, when provider is not self-hosted" }}, - { mutually_required = { "auth.header_name", "auth.header_value" }, }, { mutually_required = { "auth.param_name", "auth.param_value", "auth.param_location" }, },