Buckets:
AnonymousSpottedToad/candidate_bucket / codebase /python /ctrl-gaurav_effGen /effgen /ui /__init__.py
| """Shared presentation layer — one consistent look across CLI and notebooks. | |
| This package is a *thin, dependency-light* home for how effGen renders things to | |
| a human: the single Rich color theme, a themed :class:`~rich.console.Console` | |
| factory, and the helpers that turn an answer (markdown, code, tables) into a | |
| nice terminal view or a Jupyter HTML card. | |
| It deliberately imports only :mod:`rich` and the standard library so that core | |
| objects (e.g. ``AgentResponse``) can render themselves without pulling in the | |
| heavy CLI module. ``NO_COLOR`` is honored everywhere. | |
| """ | |
| from __future__ import annotations | |
| from .render import ( | |
| answer_renderable, | |
| format_cost, | |
| generation_result_html, | |
| generation_result_markdown, | |
| response_html, | |
| response_show, | |
| response_trace, | |
| ) | |
| from .tables import console_is_interactive, render_table | |
| from .theme import EFFGEN_THEME, color_enabled, get_console, rich_available | |
| __all__ = [ | |
| "EFFGEN_THEME", | |
| "color_enabled", | |
| "console_is_interactive", | |
| "get_console", | |
| "render_table", | |
| "rich_available", | |
| "answer_renderable", | |
| "format_cost", | |
| "generation_result_html", | |
| "generation_result_markdown", | |
| "response_html", | |
| "response_show", | |
| "response_trace", | |
| ] | |
Xet Storage Details
- Size:
- 1.25 kB
- Xet hash:
- 621a4e0c02a01ed99650659ee64f8843a43b8649fd60192543718d3cff7eea46
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.