在展示todolist的时候,出现了参数错误,没法完整展示todolist
What version of Kimi Code is running?
0.19.1
Which open platform/subscription were you using?
windows
Which model were you using?
minimax-m3 gpt-5.5
What platform is your computer?
No response
What issue are you seeing?
What steps can reproduce the bug?
自动运行时候,需要展示todolist的时候都会这样
What is the expected behavior?
No response
Additional information
No response
你好,我想跟进并修复这个问题。我用 MiniMax-M3 + auto 模式做了复现,TodoList 能正常渲染、状态更新也没报错,所以暂时没能稳定触发TodoList的问题"status must be equal to one of the allowed values." 能否麻烦你提供:
- 稳定复现的 prompt 样例(你当时让模型做的具体任务)
具体过程是先使用的plan auto模式,当plan完成的后,进行执行的时候,会偶尔触发这个问题。刚才我用deepseek v4 pro。也是同样的问题。
可以贴一下以下路径下的出问题的todolist会话的保存结果吗
C:\Users<用户名>.kimi-code\sessions<workspace-id><session-id>\agents\main\wire.jsonl
类似于以下这种
77:{"type":"context.append_loop_event","event":{"type":"tool.call","uuid":"call_00_jPM1B9JwBJU6dhJ1tx412854","turnId":"2","step":6,"stepUuid":"f190688f-0985-4a7f-8ce7-b7649ace0afd","toolCallId":"call_00_jPM1B9JwBJU6dhJ1tx412854","name":"TodoList","args":{"todos":[{"title":"task-with-done","status":"done"},{"title":"task-with-completed","status":"completed"}]}},"time":1782392430743}
78:{"type":"context.append_loop_event","event":{"type":"tool.result","parentUuid":"call_00_jPM1B9JwBJU6dhJ1tx412854","toolCallId":"call_00_jPM1B9JwBJU6dhJ1tx412854","result":{"output":"Invalid args for tool \"TodoList\": /todos/1/status must be equal to one of the allowed values","isError":true}},"time":1782392430743}
尽量让信息全一点
I opened #1013 which adds a proper todo_list display block to TodoListTool. The parameter error might be because the current rendering expects a different format. Could you check if the issue still happens with the format from that PR?