From 8c38d8a146afeb3746f479c6228093f7de14b02b Mon Sep 17 00:00:00 2001 From: Andrej Milicevic Date: Thu, 25 Sep 2025 18:18:08 +0200 Subject: [PATCH] fix: Silence model not found log --- cognee/infrastructure/llm/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cognee/infrastructure/llm/utils.py b/cognee/infrastructure/llm/utils.py index cb88fa85e..8aeb995a6 100644 --- a/cognee/infrastructure/llm/utils.py +++ b/cognee/infrastructure/llm/utils.py @@ -62,7 +62,7 @@ def get_model_max_completion_tokens(model_name: str): max_completion_tokens = litellm.model_cost[model_name]["max_tokens"] logger.debug(f"Max input tokens for {model_name}: {max_completion_tokens}") else: - logger.info("Model not found in LiteLLM's model_cost.") + logger.debug("Model not found in LiteLLM's model_cost.") return max_completion_tokens