如何实现行级代码补全?
Closed this issue · 2 comments
zhengshengh commented
cyente commented
you can limit the tokens of \n or " \n" during generation, and add the '\n' at the suffix part
zhengshengh commented
you can limit the tokens of \n or " \n" during generation, and add the '\n' at the suffix part
你好,请问有没有更加智能的做法?
如果每次都通过判断尾部的"\n"来实现,那不是等于抛弃了多行补全么?