从无法访问的项目Fork
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
Fix history_add, so it allows history_max_size to be zero