cleveragents tui does not start. #10849

Open
opened 2026-04-23 22:17:26 +00:00 by brent.edwards · 0 comments
Member

Summary

cleveragents tui crashes when run.

Metadata

Commit message: fix(tui) No crashing on start
Branch: bugfix/tui-crash-on-start

Details

From a new connection to a CleverAgents docker container, type the following:

mkdir -p ~/test/20260423-01
cd ~/test/20260423-01
uv venv
source .venv/bin/activate
uv pip install /app
agents init
uv pip install 'cleveragents[tui]'
agents tui

Expected behavior:

A screen showing the TUI app.

Observed behavior:

╭────────────────────────────────────────────────────────────────────────── Traceback (most recent call last) ───────────────────────────────────────────────────────────────────────────╮
│ /app/src/cleveragents/tui/app.py:117 in compose                                                                                                                                        │
│                                                                                                                                                                                        │
│   114 │   │   │   │   yield ReferencePickerOverlay(id="reference-picker")                                                                                                              │
│   115 │   │   │   │   yield SlashCommandOverlay(id="slash-overlay")                                                                                                                    │
│   116 │   │   │   │   yield ActorSelectionOverlay(id="actor-selection")                                                                                                                │
│ ❱ 117 │   │   │   │   yield PromptInput(                                                                                                                                               │
│   118 │   │   │   │   │   placeholder="Type message, /command, or !shell ...", id="prompt"                                                                                             │
│   119 │   │   │   │   )                                                                                                                                                                │
│   120 │   │   │   │   yield PersonaBar(id="persona-bar")                                                                                                                               │
│                                                                                                                                                                                        │
│ ╭──────────────────────────────────────────────────────────── locals ─────────────────────────────────────────────────────────────╮                                                    │
│ │ self = _TextualCleverAgentsTuiApp(title='_TextualCleverAgentsTuiApp', classes={'-dark-mode'}, pseudo_classes={'dark', 'focus'}) │                                                    │
│ ╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯                                                    │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
TypeError: TextArea.__init__() got an unexpected keyword argument 'placeholder'

The above exception was the direct cause of the following exception:

TypeError: _TextualCleverAgentsTuiApp(title='_TextualCleverAgentsTuiApp', classes={'-dark-mode'}, pseudo_classes={'dark', 'focus'}) compose() method returned an invalid result; 
TextArea.__init__() got an unexpected keyword argument 'placeholder'
# Summary `cleveragents tui` crashes when run. # Metadata Commit message: fix(tui) No crashing on start Branch: bugfix/tui-crash-on-start # Details From a new connection to a CleverAgents docker container, type the following: ``` mkdir -p ~/test/20260423-01 cd ~/test/20260423-01 uv venv source .venv/bin/activate uv pip install /app agents init uv pip install 'cleveragents[tui]' agents tui ``` Expected behavior: A screen showing the TUI app. Observed behavior: ``` ╭────────────────────────────────────────────────────────────────────────── Traceback (most recent call last) ───────────────────────────────────────────────────────────────────────────╮ │ /app/src/cleveragents/tui/app.py:117 in compose │ │ │ │ 114 │ │ │ │ yield ReferencePickerOverlay(id="reference-picker") │ │ 115 │ │ │ │ yield SlashCommandOverlay(id="slash-overlay") │ │ 116 │ │ │ │ yield ActorSelectionOverlay(id="actor-selection") │ │ ❱ 117 │ │ │ │ yield PromptInput( │ │ 118 │ │ │ │ │ placeholder="Type message, /command, or !shell ...", id="prompt" │ │ 119 │ │ │ │ ) │ │ 120 │ │ │ │ yield PersonaBar(id="persona-bar") │ │ │ │ ╭──────────────────────────────────────────────────────────── locals ─────────────────────────────────────────────────────────────╮ │ │ │ self = _TextualCleverAgentsTuiApp(title='_TextualCleverAgentsTuiApp', classes={'-dark-mode'}, pseudo_classes={'dark', 'focus'}) │ │ │ ╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ │ ╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ TypeError: TextArea.__init__() got an unexpected keyword argument 'placeholder' The above exception was the direct cause of the following exception: TypeError: _TextualCleverAgentsTuiApp(title='_TextualCleverAgentsTuiApp', classes={'-dark-mode'}, pseudo_classes={'dark', 'focus'}) compose() method returned an invalid result; TextArea.__init__() got an unexpected keyword argument 'placeholder' ```
brent.edwards added this to the v3.9.0 milestone 2026-04-23 22:17:26 +00:00
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#10849
No description provided.