8000 Copybara import of the project: · bhancockio/adk-python@c565473 · GitHub
[go: up one dir, main page]

Skip to content

Commit c565473

Browse files
PratikMahajancopybara-github
authored andcommitted
Copybara import of the project:
-- 09b10cd by pratikmahajan <pmahajan@redhat.com>: fix: change litellm request log level to debug Litellm was previously logging every request at the info level, which could clutter the logs with unnecessary detail in production environments. This commit changes the log statement to use the debug level instead, ensuring that request details are only logged when debug mode is active. This helps keep the standard logs focused on more critical information. Co-authored-by: pratikmahajan<pmahajan@redhat.com> COPYBARA_INTEGRATE_REVIEW=google#583 from PratikMahajan:litellm-log-levels 04fcd72 PiperOrigin-RevId: 755691209
1 parent 357143c commit c565473

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/google/adk/models/lite_llm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -611,7 +611,7 @@ async def generate_content_async(
611611
"""
612612

613613
self._maybe_append_user_content(llm_request)
614-
logger.info(_build_request_log(llm_request))
614+
logger.debug(_build_request_log(llm_request))
615615

616616
messages, tools = _get_completion_inputs(llm_request)
617617

0 commit comments

Comments
 (0)
0