From 359b486d219b366b6305f54809f2134f9ce9fc1a Mon Sep 17 00:00:00 2001 From: owl Date: Wed, 14 Aug 2024 17:49:19 +0800 Subject: [PATCH] feat: fix code --- changelog/unreleased/kong/ai-proxy-add-allow-override-opt.yml | 2 +- kong/clustering/compat/removed_fields.lua | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/changelog/unreleased/kong/ai-proxy-add-allow-override-opt.yml b/changelog/unreleased/kong/ai-proxy-add-allow-override-opt.yml index 6ac9928e641f..798dffc5e59a 100644 --- a/changelog/unreleased/kong/ai-proxy-add-allow-override-opt.yml +++ b/changelog/unreleased/kong/ai-proxy-add-allow-override-opt.yml @@ -1,4 +1,4 @@ message: | - **AI-proxy-plugin**: Add `allow_override` option to allow overriding the upstream model auth parameter or header from the caller's request. + **AI-proxy-plugin**: Add `allow_auth_override` option to allow overriding the upstream model auth parameter or header from the caller's request. scope: Plugin type: feature diff --git a/kong/clustering/compat/removed_fields.lua b/kong/clustering/compat/removed_fields.lua index d37db9a4172d..3493266c6221 100644 --- a/kong/clustering/compat/removed_fields.lua +++ b/kong/clustering/compat/removed_fields.lua @@ -175,6 +175,7 @@ return { "model.options.bedrock", "auth.aws_access_key_id", "auth.aws_secret_access_key", + "auth.allow_auth_override", "model_name_header", }, ai_prompt_decorator = {