[bug] AI edit太倾向于修改全篇
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 30/100
Research direction
The report leaves open whether the AI edit tool rewrites the whole note or the diff renderer shows unchanged text as changed, so start by reproducing with a long note and a small AI edit, then check the logs to see what the edit tool actually wrote. Once that is known, the fix is either in the diff rendering or in how the edit tool builds its changes. Done means a small edit to part of a note shows only the changed lines in the diff view.
Written by the indexing model from the issue text.
Description
详细描述这个 Bug
使用AI辅助编辑时,即便编辑的内容只是笔记的一部分,在差异diff渲染器中都表现为全篇渲染 实际上前文没有变化
图示:渲染器的删除部分从头开始
图示:渲染器的新增从头到尾,实际上只有下图的内容有实际变化
由于没有通过log判断是渲染器问题还是AI实际操作了edit改了全文,需要进一步排查,也需要进一步排查edit tool的设定
附:尝试向AI发送提示词限制其不要编辑全文,无果
AI大模型提供商使用内置NoteGen AI(免费)
NoteGen 版本
0.39.2
操作系统
macOS
报错日志
No response
- Dominant language
- TypeScript
- Stars
- 12.9k
- Forks
- 975
- Avg merge
- 20h 27m
- Merged PRs (30d)
- 1
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
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.
More from codexu/note-gen
-
Difficulty 1/5 Under an hour Newbie friendliness 72/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 80/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 58/100
-
Difficulty 1/5 Under an hour Newbie friendliness 45/100
Similar issues
-
bug triage:in-progress
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day
-
e2e-failure ready-to-code
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
redhat-developer/rhdh-plugin-export-overlays#4845 · 1 comment ·
Maintainers usually reply within 1 day
-
chore kaizen ui-rewrite
Difficulty 2/5 1-3 hours Newbie friendliness 64/100
IBM/mcp-context-forge#7681 ·
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
cloudflare/workers-sdk#17159 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
cybersemics/em#6398 ·
Maintainers usually reply within 1 day