[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
Sign in to join this conversation.
No milestone
No project
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.

Dependencies

No dependencies set.

Reference
cleveragents/cleveragents-core#6971
No description provided.