为什么我用VSCode,用iFlow的默认模式修改完代码,我在编辑器点击√后每行代码中间会插入多行回车
没太复现这个问题,能有个录屏或者截屏么。。。
@10000018001 我用iFlow cli生成出来的也是这样唉,我得每次写完,再发次请求,让它给我再把多余的空行清理掉
应该是模型能力问题
换了模型,在YOLO模式下没什么问题,但是切换到默认模式,修改的代码显示是正常的,当点击√后,文件的每一条代码下面都会多一个换行,用的模型是glm-4.6
好的了解,我们收集下这个问题
把iflow cli更新到最新版本看看?
新版本已修复,辛苦看下
11.17号,version0.3.22 接受编辑出现空行偶发,场景同上
好的 感谢反馈 我们再排查一下。请问也是在vscode使用的吗
同上,感觉是处理Windows的换行符CRLF上有Bug导致的问题。
而且我这边和IDE无关(IDEA和VSCode都有的现象),还有两个可能跟文字处理相关的问题:
【iFlow很大可能性编辑操作会失败】:编辑过程中会弹出很多,感觉可能是换行符导致的不匹配,从而无法检测要修改的位置?
╭────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ x Edit ...xxxxxxxx.md: ## 特色功能... => ## 特色功能... │
│ │
│ Failed to edit, 0 occurrences found for old_string in ....xxxxxxxx.md. No edits made. The exact text in old_string was not │
│ found. Ensure you're not escaping content incorrectly and check whitespace, indentation, and context. Use read_file tool to verify. │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
【无法自动执行Git提交】:怎么看这都是没有把双引号的部分当成字符串来处理导致的问题。
│ git commit -m "fix: resolve JS build errors in xxxxxx.js.kt" │
│
│
│ Command exited with code: 1 │
│ Error output: │
│ error: pathspec 'resolve' did not match any file(s) known to git │
│ error: pathspec 'JS' did not match any file(s) known to git │
│ error: pathspec 'build' did not match any file(s) known to git │
│ error: pathspec 'errors' did not match any file(s) known to git │
│ error: pathspec 'in' did not match any file(s) known to git │
│ error: pathspec 'xxxxxx.js.kt"' did not match any file(s) known to git
1 个赞
我们最终还是没有复现这个问题,凭直觉修改了一些逻辑,已经发布最新版本 0.3.27 可以帮忙更新试试。
期待更多的反馈信息。
1 个赞

