Skip to content

Commit 857b19c

Browse files
committed
Tune down the logging level from info to debug
When using litellm in an agentic framework like google's adk these are the only 2 logs setup at the info level which can be quite verbose. Signed-off-by: Clement Verna <[email protected]>
1 parent a5ce1cd commit 857b19c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

litellm/cost_calculator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -657,7 +657,7 @@ def completion_cost( # noqa: PLR0915
657657
potential_model_names.append(model)
658658
for idx, model in enumerate(potential_model_names):
659659
try:
660-
verbose_logger.info(
660+
verbose_logger.debug(
661661
f"selected model name for cost calculation: {model}"
662662
)
663663

litellm/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3117,7 +3117,7 @@ def _check_valid_arg(supported_params: List[str]):
31173117
Args:
31183118
supported_params: List[str] - supported params from the litellm config
31193119
"""
3120-
verbose_logger.info(
3120+
verbose_logger.debug(
31213121
f"\nLiteLLM completion() model= {model}; provider = {custom_llm_provider}"
31223122
)
31233123
verbose_logger.debug(

0 commit comments

Comments
 (0)