Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions openhands_cli/tui/core/commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@


# Available commands with descriptions after the command
COMMANDS = [
COMMANDS: tuple[DropdownItem, ...] = (
DropdownItem(main="/help - Display available commands"),
DropdownItem(main="/new - Start a new conversation"),
DropdownItem(main="/history - Toggle conversation history"),
Expand All @@ -25,7 +25,7 @@
DropdownItem(main="/skills - View loaded skills, hooks, and MCPs"),
DropdownItem(main="/feedback - Send anonymous feedback about CLI"),
DropdownItem(main="/exit - Exit the application"),
]
)


def get_valid_commands() -> set[str]:
Expand Down
4 changes: 2 additions & 2 deletions tests/tui/test_commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ class TestCommands:
"""Tests for command definitions and handlers."""

def test_commands_list_structure(self):
"""Test that COMMANDS list has correct structure."""
assert isinstance(COMMANDS, list)
"""Test that COMMANDS tuple has correct structure."""
assert isinstance(COMMANDS, tuple)
assert len(COMMANDS) == 9

# Check that all items are DropdownItems
Expand Down