Skip to content

Tale-AI v0.1.1

Choose a tag to compare

@Qixuan112 Qixuan112 released this 06 Jun 01:50
· 212 commits to main since this release

P0+P1修复

  • 移除YAML中的硬编码API Key和access_token,创建.env.example
  • requirements.txt 补全 pyyaml/flask/openai
  • 删除有 AttributeError bug 的旧 wechat_pc.py
  • 修复 BaseAdapter/AdapterManager 的 event_callback 类型签名
  • PlanLLM 新增 _parse_plan_to_entries(),将文本计划解析为 DiaryEntry
  • ChatLLM._trim_context() 重写为 system/non-system 分离逻辑
  • 移除 PLAN_OPENING/PLAN_BASE_TEMPLATE/PLAN_CHARACTER_SUFFIX 死代码

P0+P1 fixes

  • Remove hardcoded API keys and tokens from YAML, create .env.example
  • Add pyyaml/flask/openai to requirements.txt
  • Delete broken legacy wechat_pc.py (uninitialized field AttributeError)
  • Fix BaseAdapter/AdapterManager event_callback type signature
  • Add _parse_plan_to_entries() to PlanLLM for structured DiaryEntry parsing
  • Rewrite ChatLLM._trim_context() with system/non-system separation
  • Remove dead code: PLAN_OPENING, PLAN_BASE_TEMPLATE, PLAN_CHARACTER_SUFFIX