[loop-generated] [refactor] Break up conversation.py::should_use_tools — 72 lines #618

Closed
opened 2026-03-20 20:15:14 +00:00 by Timmy · 0 comments
Owner

Problem

src/timmy/conversation.py::should_use_tools is 72 lines — complex conditional logic that should be decomposed.

Scope

  • File: src/timmy/conversation.py
  • Function: should_use_tools()

Acceptance Criteria

  • Extract distinct checks into named predicates (e.g. _has_tool_keywords, _is_action_request)
  • No function exceeds 30 lines
  • All existing tests pass
  • No new dependencies
## Problem `src/timmy/conversation.py::should_use_tools` is 72 lines — complex conditional logic that should be decomposed. ## Scope - File: `src/timmy/conversation.py` - Function: `should_use_tools()` ## Acceptance Criteria - Extract distinct checks into named predicates (e.g. `_has_tool_keywords`, `_is_action_request`) - No function exceeds 30 lines - All existing tests pass - No new dependencies
Timmy closed this issue 2026-03-20 20:31:36 +00:00
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Rockachopa/Timmy-time-dashboard#618