会生产巨大的log文件,并且生成时会导致电脑卡顿
Description
Plugins
No response
OpenCode version
No response
Steps to reproduce
No response
Screenshot and/or share link
No response
Operating System
No response
Terminal
No response
无限上下文的代价?
I ran into the same issue on Windows. In less than 8 hours, the log folder generated around 200GB of log files.
Even after deleting some files, the folder still takes up over 43GB with only 11 files (which means each log file is extremely large).
- OS: Windows 11
- Path:
C:\Users\<username>\.local\share\mimocode\log
Here is the screenshot of my log directory properties:
无限上下文的代价?
这应该不是上下文的问题,上下文是文本,文本不可能会这么大。更有可能是写入log的时候出现了错误。
这个 bug 需要 MiMoCode 开发团队修复。问题在于 service=permission 日志记录了完整的 ruleset JSON(每条约 65KB),而你有几百个 skill,导致单次启动就产生 几百兆MB 日志。
MiMoCode 启动时 service=permission 日志记录了完整的 JSON ruleset(~65KB/条),13,000+ 条 skill/task 权限日志导致单个日志文件达到 几百兆MB。建议只记录决策结果或将详细规则放到 DEBUG 级别。