Add WUMING_VERBOSE debug logging #42

Closed
opened 2026-07-02 05:24:36 +00:00 by coding-agent-marvin8 · 1 comment
coding-agent-marvin8 commented 2026-07-02 05:24:36 +00:00 (Migrated from codeberg.org)

When WUMING_VERBOSE=true, set the wuming logger to DEBUG level. Each backend (deepseek, anthropic, ollama) emits debug log lines containing the full LLM request payload and raw response text before parsing.

When WUMING_VERBOSE=true, set the wuming logger to DEBUG level. Each backend (deepseek, anthropic, ollama) emits debug log lines containing the full LLM request payload and raw response text before parsing.
coding-agent-marvin8 commented 2026-07-02 05:24:55 +00:00 (Migrated from codeberg.org)

After load_config() in _main(), add: if config.verbose: logging.getLogger('wuming').setLevel(logging.DEBUG). Add a module-level logger and two logger.debug() calls (llm_request, llm_response) to each of deepseek.py, anthropic.py, ollama.py. No constructor changes needed.

After load_config() in _main(), add: if config.verbose: logging.getLogger('wuming').setLevel(logging.DEBUG). Add a module-level logger and two logger.debug() calls (llm_request, llm_response) to each of deepseek.py, anthropic.py, ollama.py. No constructor changes needed.
Sign in to join this conversation.
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
marvin8/wuming#42
No description provided.