UI Config ModelΒΆ

class UIConfigKeys(*values)[source]ΒΆ
class UIDefaults(*, header_text: Annotated[str, MinLen(min_length=1)] = 'Default header text', footer_text: Annotated[str, MinLen(min_length=1)] = 'Default footer text', font_name: Annotated[str, MinLen(min_length=1)] = 'Assistant', reg_font_path: Annotated[str, MinLen(min_length=1)] = '', bold_font_path: Annotated[str, MinLen(min_length=1)] = '', header_color: Annotated[str, MinLen(min_length=1)] = '#6432bdff', logo_path: str = '')[source]ΒΆ

Create a new model by parsing and validating input data from keyword arguments.

Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.

self is explicitly positional-only to allow self as a field name.

Parameters: