From fafc988cfef2645a194c17a972c3b2865c13a0be Mon Sep 17 00:00:00 2001 From: Wangchong Zhou Date: Wed, 5 Jun 2024 14:46:48 +0800 Subject: [PATCH] fix(clustering): add removed fileds for new ai plugins max_request_body_size field --- kong/clustering/compat/removed_fields.lua | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/kong/clustering/compat/removed_fields.lua b/kong/clustering/compat/removed_fields.lua index 96561e6d5b0f3..959722902c800 100644 --- a/kong/clustering/compat/removed_fields.lua +++ b/kong/clustering/compat/removed_fields.lua @@ -163,5 +163,23 @@ return { oauth2 = { "realm", }, + ai_proxy = { + "max_request_body_size", + }, + ai_prompt_decorator = { + "max_request_body_size", + }, + ai_prompt_guard = { + "max_request_body_size", + }, + ai_prompt_template = { + "max_request_body_size", + }, + ai_request_transformer = { + "max_request_body_size", + }, + ai_response_transformer = { + "max_request_body_size", + }, }, }