Repository navigation
Closed
Labels
openhandsSolving the issue with OpenHands.
Description
Tons of random litellm INFO logs when we run uv run python examples/hello_world.py
2025-08-25 01:16:11,935 | INFO | openhands.core.agenthub.codeact_agent.codeact_agent | /Users/xingyaow/Projects/All-Hands-AI/openhands-v1-dev/openhands-v1/openhands/core/agenthub/codeact_agent/codeact_agent.py:83 | Agent Iteration 4/10
01:16:11 - LiteLLM:INFO: utils.py:3309 -
LiteLLM completion() model= anthropic/claude-sonnet-4-20250514; provider = litellm_proxy
2025-08-25 01:16:11,937 | INFO | LiteLLM | /Users/xingyaow/Projects/All-Hands-AI/openhands-v1-dev/openhands-v1/.venv/lib/python3.13/site-packages/litellm/utils.py:3309 |
LiteLLM completion() model= anthropic/claude-sonnet-4-20250514; provider = litellm_proxy
01:16:15 - LiteLLM:INFO: utils.py:1262 - Wrapper: Completed Call, calling success_handler
2025-08-25 01:16:15,317 | INFO | LiteLLM | /Users/xingyaow/Projects/All-Hands-AI/openhands-v1-dev/openhands-v1/.venv/lib/python3.13/site-packages/litellm/utils.py:1262 | Wrapper: Completed Call, calling success_handler
╭─ ⚡ Tool Call ───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ 🔧 execute_bash │
│ command: cat hello.py │
╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
→ Executing ExecuteBashAction
╭─ 📋 Result ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ print('Hello, World!') │
│ [The command completed with exit code 0.] │
│ [Current working directory: /Users/xingyaow/Projects/All-Hands-AI/openhands-v1-dev/openhands-v1] │
│ [Python interpreter: /Users/xingyaow/Projects/All-Hands-AI/openhands-v1-dev/openhands-v1/.venv/bin/python] │
│ [Command finished with exit code 0] │
╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
2025-08-25 01:16:15,476 | INFO | openhands.core.agenthub.codeact_agent.codeact_agent | /Users/xingyaow/Projects/All-Hands-AI/openhands-v1-dev/openhands-v1/openhands/core/agenthub/codeact_agent/codeact_agent.py:83 | Agent Iteration 5/10
01:16:15 - LiteLLM:INFO: utils.py:3309 -
LiteLLM completion() model= anthropic/claude-sonnet-4-20250514; provider = litellm_proxy
2025-08-25 01:16:15,478 | INFO | LiteLLM | /Users/xingyaow/Projects/All-Hands-AI/openhands-v1-dev/openhands-v1/.venv/lib/python3.13/site-packages/litellm/utils.py:3309 |
LiteLLM completion() model= anthropic/claude-sonnet-4-20250514; provider = litellm_proxy
01:16:18 - LiteLLM:INFO: utils.py:1262 - Wrapper: Completed Call, calling success_handler
2025-08-25 01:16:18,758 | INFO | LiteLLM | /Users/xingyaow/Projects/All-Hands-AI/openhands-v1-dev/openhands-v1/.venv/lib/python3.13/site-packages/litellm/utils.py:1262 | Wrapper: Completed Call, calling success_handler
╭─ ⚡ Tool Call ───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ 🔧 execute_bash │
│ command: python hello.py │
╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
→ Executing ExecuteBashAction
╭─ 📋 Result ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ Hello, World! │
│ [The command completed with exit code 0.] │
│ [Current working directory: /Users/xingyaow/Projects/All-Hands-AI/openhands-v1-dev/openhands-v1] │
│ [Python interpreter: /Users/xingyaow/Projects/All-Hands-AI/openhands-v1-dev/openhands-v1/.venv/bin/python] │
│ [Command finished with exit code 0] │
╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
2025-08-25 01:16:19,416 | INFO | openhands.core.agenthub.codeact_agent.codeact_agent | /Users/xingyaow/Projects/All-Hands-AI/openhands-v1-dev/openhands-v1/openhands/core/agenthub/codeact_agent/codeact_agent.py:83 | Agent Iteration 6/10
01:16:19 - LiteLLM:INFO: utils.py:3309 -
LiteLLM completion() model= anthropic/claude-sonnet-4-20250514; provider = litellm_proxy
2025-08-25 01:16:19,418 | INFO | LiteLLM | /Users/xingyaow/Projects/All-Hands-AI/openhands-v1-dev/openhands-v1/.venv/lib/python3.13/site-packages/litellm/utils.py:3309 |
LiteLLM completion() model= anthropic/claude-sonnet-4-20250514; provider = litellm_proxy
01:16:23 - LiteLLM:INFO: utils.py:1262 - Wrapper: Completed Call, calling success_handler
2025-08-25 01:16:23,378 | INFO | LiteLLM | /Users/xingyaow/Projects/All-Hands-AI/openhands-v1-dev/openhands-v1/.venv/lib/python3.13/site-packages/litellm/utils.py:1262 | Wrapper: Completed Call, calling success_handler
╭─ ⚡ Tool Call ───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ 🔧 finish │
│ message: I've successfully created the `hello.py` file with the code `print('Hello, World!')` and tested i... │
╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
→ Executing FinishAction
Maybe we need to do it in openhands/core/logger.py to remove all these annoying logs
Reacted by openhands-ai
Metadata
Metadata
Assignees
Labels
openhandsSolving the issue with OpenHands.
Activity
openhands-ai commentedon Aug 25, 2025
I'm on it! xingyaoww can track my progress at all-hands.dev
logger: set LiteLLM loggers to WARNING by default; enable DEBUG when …
openhands-ai commentedon Aug 25, 2025
Summary of work for Issue #19 (Set LiteLLM logging to WARNING by default)
What I changed
Validation
Branch and PR
Checklist
Impact
View full conversation