From 8f98970b7837b647b8d93e81e22969277a9cc6db Mon Sep 17 00:00:00 2001 From: Steph Milovic Date: Fri, 29 Sep 2023 12:48:31 -0600 Subject: [PATCH] rm log --- .../tests/chat/chat.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x-pack/test/observability_ai_assistant_api_integration/tests/chat/chat.spec.ts b/x-pack/test/observability_ai_assistant_api_integration/tests/chat/chat.spec.ts index 6a3cb0803f5df..3d9ff8c9be6fc 100644 --- a/x-pack/test/observability_ai_assistant_api_integration/tests/chat/chat.spec.ts +++ b/x-pack/test/observability_ai_assistant_api_integration/tests/chat/chat.spec.ts @@ -179,7 +179,7 @@ export default function ApiTest({ getService }: FtrProviderContext) { connectorId, functions: [], }); - console.log('ERRRR', response.body.message); + expect(response.body.message).to.contain( `an error occurred while running the action - Status code: 400. Message: API Error: Bad Request - This model's maximum context length is 8192 tokens. However, your messages resulted in 11036 tokens. Please reduce the length of the messages.` );