From a66b2ceeca263b4e4897bc92cddaec2d7269b0f4 Mon Sep 17 00:00:00 2001 From: Igor Ilic Date: Fri, 5 Dec 2025 18:58:59 +0100 Subject: [PATCH] refactor: reduce ammount of retry attempts for baml llm calls --- .../baml/baml_src/extraction/acreate_structured_output.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cognee/infrastructure/llm/structured_output_framework/baml/baml_src/extraction/acreate_structured_output.py b/cognee/infrastructure/llm/structured_output_framework/baml/baml_src/extraction/acreate_structured_output.py index ab6560795..fe99d942c 100644 --- a/cognee/infrastructure/llm/structured_output_framework/baml/baml_src/extraction/acreate_structured_output.py +++ b/cognee/infrastructure/llm/structured_output_framework/baml/baml_src/extraction/acreate_structured_output.py @@ -26,7 +26,7 @@ logger = get_logger() @retry( stop=stop_after_delay(128), - wait=wait_exponential_jitter(2, 128), + wait=wait_exponential_jitter(8, 128), before_sleep=before_sleep_log(logger, logging.DEBUG), reraise=True, )