From 5e1de246141f607f064c275a6f06dac074f538bf Mon Sep 17 00:00:00 2001 From: Tomas Dvorak Date: Thu, 14 Nov 2024 11:20:12 +0100 Subject: [PATCH] test(agents): update e2e examples exclude list for granite Signed-off-by: Tomas Dvorak --- tests/examples/examples.test.ts | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/tests/examples/examples.test.ts b/tests/examples/examples.test.ts index 992c13e0..909d6427 100644 --- a/tests/examples/examples.test.ts +++ b/tests/examples/examples.test.ts @@ -41,14 +41,18 @@ const exclude: string[] = [ "examples/llms/text.ts", "examples/llms/providers/watsonx_verbose.ts", "examples/llms/providers/watsonx.ts", - "examples/agents/bee_granite.ts", + "examples/agents/granite/*.ts", + "examples/agents/granite/single_turn.ts", ], !hasEnv("GROQ_API_KEY") && ["examples/agents/sql.ts", "examples/llms/providers/groq.ts"], !hasEnv("OPENAI_API_KEY") && [ "examples/agents/bee_reusable.ts", "examples/llms/providers/openai.ts", ], - !hasEnv("IBM_VLLM_URL") && ["examples/llms/providers/ibm-vllm.ts"], + !hasEnv("IBM_VLLM_URL") && [ + "examples/llms/providers/ibm-vllm.ts", + "examples/agents/granite/chat.ts", + ], !hasEnv("COHERE_API_KEY") && ["examples/llms/providers/langchain.ts"], !hasEnv("CODE_INTERPRETER_URL") && ["examples/tools/custom/python.ts"], ["examples/llms/providers/bam.ts", "examples/llms/providers/bam_verbose.ts"],