MaiBot/changelogs/mai_next_todo.md

643 B

Mai NEXT Todo list

version 0.3.0 - 2026-01-11

配置文件设计

  • 使用 toml 作为配置文件格式
  • 合理使用注释说明当前配置作用(提案)
  • 使用 python 方法作为配置项说明(提案)
    • 取消bot_config_template.toml
    • 取消model_config_template.toml
    • 取消template_env
  • 配置类中的所有原子项目应该只包含以下类型: str, int, float, bool, list, dict, set
    • 禁止使用 Union 类型
    • 禁止使用tuple类型,使用嵌套dataclass替代
    • 复杂类型使用嵌套配置类实现