AQIT 0.1.0
Loading...
Searching...
No Matches
aquin.help_display Namespace Reference

Functions

Console _console ()
Table _cmd_table (list[tuple[str, str]] rows)
Group _section (str title, list[tuple[str, str]] rows, *, str|None footnote=None)
None render_help (*, bool connected, SessionMode|None mode, bool show_llm, str|None model_id=None, bool show_embed=False)

Variables

 SessionMode = Literal["llm"]
 _THEME

Function Documentation

◆ _cmd_table()

Table _cmd_table ( list[tuple[str, str]] rows)
protected

Definition at line 37 of file help_display.py.

Referenced by _section().

◆ _console()

Console _console ( )
protected

Definition at line 33 of file help_display.py.

Referenced by render_help().

◆ _section()

Group _section ( str title,
list[tuple[str, str]] rows,
* ,
str | None footnote = None )
protected

Definition at line 52 of file help_display.py.

References _cmd_table().

Referenced by render_help().

◆ render_help()

None render_help ( * ,
bool connected,
SessionMode | None mode,
bool show_llm,
str | None model_id = None,
bool show_embed = False )

Definition at line 61 of file help_display.py.

References _console(), and _section().

Variable Documentation

◆ _THEME

aquin.help_display._THEME
protected
Initial value:
= Theme({
"brand": "bold #facc15",
"heading": "bold bright_white",
"cmd": "bold #34d399",
"muted": "dim #6b7280",
"label": "dim #9ca3af",
"value": "#e5e7eb",
"accent": "#34d399",
"warn": "#fbbf24",
})

Definition at line 21 of file help_display.py.

◆ SessionMode

aquin.help_display.SessionMode = Literal["llm"]

Definition at line 19 of file help_display.py.