diff --git a/libs/community/langchain_community/utils/user_agent.py b/libs/community/langchain_community/utils/user_agent.py index 140f63b04ed8a..befb8cf9a0f8a 100644 --- a/libs/community/langchain_community/utils/user_agent.py +++ b/libs/community/langchain_community/utils/user_agent.py @@ -8,7 +8,7 @@ def get_user_agent() -> str: """Get user agent from environment variable.""" env_user_agent = os.environ.get("USER_AGENT") if not env_user_agent: - logging.warning( + log.warning( "USER_AGENT environment variable not set, " "consider setting it to identify your requests." )