From 763cb6a6aae51d540615d3ab7eeb634b735429fb Mon Sep 17 00:00:00 2001 From: Antoine Jacquemin Date: Tue, 18 Jun 2024 16:38:13 +0200 Subject: [PATCH] remove unneeded info --- spec/03-plugins/38-ai-proxy/02-openai_integration_spec.lua | 7 +------ .../39-ai-request-transformer/02-integration_spec.lua | 7 +------ .../40-ai-response-transformer/02-integration_spec.lua | 7 +------ 3 files changed, 3 insertions(+), 18 deletions(-) diff --git a/spec/03-plugins/38-ai-proxy/02-openai_integration_spec.lua b/spec/03-plugins/38-ai-proxy/02-openai_integration_spec.lua index e1c85368e31d..933d8f6450ae 100644 --- a/spec/03-plugins/38-ai-proxy/02-openai_integration_spec.lua +++ b/spec/03-plugins/38-ai-proxy/02-openai_integration_spec.lua @@ -51,12 +51,7 @@ local _EXPECTED_CHAT_STATS = { prompt_tokens = 25, total_tokens = 37, }, - cache = { - cache_status = '', - vector_db = '', - embeddings_provider = '', - embeddings_model = '', - } + cache = {} }, } diff --git a/spec/03-plugins/39-ai-request-transformer/02-integration_spec.lua b/spec/03-plugins/39-ai-request-transformer/02-integration_spec.lua index 2bc3e9951f79..5ec5f94c5c18 100644 --- a/spec/03-plugins/39-ai-request-transformer/02-integration_spec.lua +++ b/spec/03-plugins/39-ai-request-transformer/02-integration_spec.lua @@ -131,12 +131,7 @@ local _EXPECTED_CHAT_STATS = { prompt_tokens = 25, total_tokens = 37, }, - cache = { - cache_status = '', - vector_db = '', - embeddings_provider = '', - embeddings_model = '', - } + cache = {} }, } diff --git a/spec/03-plugins/40-ai-response-transformer/02-integration_spec.lua b/spec/03-plugins/40-ai-response-transformer/02-integration_spec.lua index 711c6f110eae..395897a9eebe 100644 --- a/spec/03-plugins/40-ai-response-transformer/02-integration_spec.lua +++ b/spec/03-plugins/40-ai-response-transformer/02-integration_spec.lua @@ -188,12 +188,7 @@ local _EXPECTED_CHAT_STATS = { prompt_tokens = 25, total_tokens = 37, }, - cache = { - cache_status = '', - vector_db = '', - embeddings_provider = '', - embeddings_model = '', - } + cache = {} }, }