diff --git a/changelog/unreleased/kong/deprecate-llm-upstream-url.yml b/changelog/unreleased/kong/deprecate-llm-upstream-url.yml new file mode 100644 index 000000000000..73399a9831e4 --- /dev/null +++ b/changelog/unreleased/kong/deprecate-llm-upstream-url.yml @@ -0,0 +1,3 @@ +message: Depcrecate config.model.options.upstream_path in favor of config.model.options.upstream_url +type: deprecation +scope: Plugin diff --git a/kong/llm/schemas/init.lua b/kong/llm/schemas/init.lua index 127350756c7f..70badfeff7f8 100644 --- a/kong/llm/schemas/init.lua +++ b/kong/llm/schemas/init.lua @@ -190,7 +190,10 @@ local model_options_schema = { description = "Manually specify or override the AI operation path, " .. "used when e.g. using the 'preserve' route_type.", type = "string", - required = false }}, + required = false, + deprecation = { + message = "llm: config.model.options.upstream_path is deprecated, please use config.model.options.upstream_url instead", + removal_in_version = "4.0",}, }, }}, { gemini = gemini_options_schema }, { bedrock = bedrock_options_schema }, { huggingface = huggingface_options_schema},