iamai.adapter.console.config module#
Console 适配器配置。
- class iamai.adapter.console.config.Config(*, show_raw: bool = False, **extra_data: Any)[source]#
Bases:
ConfigModel
Console 配置类,将在适配器被加载时被混入到机器人主配置中。
- model_computed_fields: ClassVar[dict[str, ComputedFieldInfo]] = {}#
A dictionary of computed field names and their corresponding ComputedFieldInfo objects.
- model_config: ClassVar[ConfigDict] = {'extra': 'allow'}#
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'show_raw': FieldInfo(annotation=bool, required=False, default=False)}#
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- show_raw: bool#