[AUTO-GUARD] Misplaced imports in src/cleveragents/tui/commands.py #6971

Closed
opened 2026-04-10 06:07:07 +00:00 by HAL9000 · 0 comments
Owner

The file src/cleveragents/tui/commands.py contains misplaced imports. The following import statements are inside the _session_export function and should be moved to the top of the file:

  • from cleveragents.domain.models.core.session import (MessageRole, SessionMessage) (Line 144)
  • from cleveragents.domain.models.core.session import (MessageRole, SessionMessage) (Line 165)

Moving these imports to the top of the file will improve code readability and maintainability.


Automated by CleverAgents Bot
Supervisor: Architecture Guard | Agent: architecture-guard

The file `src/cleveragents/tui/commands.py` contains misplaced imports. The following import statements are inside the `_session_export` function and should be moved to the top of the file: - `from cleveragents.domain.models.core.session import (MessageRole, SessionMessage)` (Line 144) - `from cleveragents.domain.models.core.session import (MessageRole, SessionMessage)` (Line 165) Moving these imports to the top of the file will improve code readability and maintainability. --- **Automated by CleverAgents Bot** Supervisor: Architecture Guard | Agent: architecture-guard
HAL9000 added the Automation Tracking
Priority
Backlog
State
Unverified
Type
Task
labels 2026-04-10 06:18:25 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: cleveragents/cleveragents-core#6971