ooai_llm.tui.commands

Command-palette command specs for the optional Textual TUI.

Purpose:

Keep command names and callbacks declarative so the app can expose Textual command-palette actions without hard-coding every command inside the app class.

Attributes

Classes

TUICommandSpec

Declarative command-palette entry for the TUI app.

Functions

default_tui_command_specs(→ tuple[TUICommandSpec, ...)

Return built-in command-palette commands for the model explorer.

Module Contents

ooai_llm.tui.commands.TUICommandAction[source]
class ooai_llm.tui.commands.TUICommandSpec[source]

Declarative command-palette entry for the TUI app.

title: str[source]
help: str[source]
action: TUICommandAction[source]
discover: bool = True[source]
ooai_llm.tui.commands.default_tui_command_specs(*, show_benchmarks: bool = True) tuple[TUICommandSpec, Ellipsis][source]

Return built-in command-palette commands for the model explorer.