-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
建议优化并减少补全代码功能发送请求的频率 #18
Comments
为什么我的插件没有代码补全功能?另外设置延迟时间在哪里设置? |
请问最新的代码上代码补全的功能你的可以使用吗?有什么关键的调试节点吗~ |
好早就没看了 之前的触发点是在 |
我本地部署起来,这个代码补全的功能触发不了,前端点击button以及自动的灰色补全都没有出来,请问你之前这个功能本地部署起来了吗? |
What happened?
当前的逻辑:每一次光标移动、文件改变等时间发生时,均会调用大模型接口实现代码补全。在异步任务发送请求时,
getCodeCompletionHints
函数判断httpRequestFinFlag
是否为true,如果上一次发送完了才进行当前请求,如果上一次请求未结束,则直接返回null。这样会产生两个问题:
What did you expect to happen?
建议减少调用频繁,优化操作习惯,在等一段时间用户无动作后才发送补全代码请求。
The text was updated successfully, but these errors were encountered: