MoonshotAI / MoonshotAI/kimi-cli
可否在 WriteFile 加入格式检查 || Can you add format checking to WriteFile?
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 11.4k
- Forks
- 1.3k
- Avg merge
- 9h 47m
- Merged PRs (30d)
- 2
Description
What feature would you like to see?
有这样一种情况:要求 Agent 写入其他 JSON, Xml, Markdown 等格式时,偶尔输出格式错误导致下游parse失败(下游不一定能够直接访问 agent api)能否在 WriteFile 工具中加入简单的格式检查?如果可以,我将提交一个PR
Additional information
No response
What feature would you like to see?
There is a situation: when the Agent is required to write other formats such as JSON, If possible I will submit a PR
Additional information
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the WriteFile tool entry point and reviewing how it currently handles written content. Clarify which formats are in scope—the issue names JSON, XML, and Markdown—what constitutes a check, and how failures should be reported. Done should include agreed behavior and coverage for valid and invalid content.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- json, markdown, python, xml
- Domain
- cli, tooling
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 42/100