未验证 提交 43245179 编写于 作者: J Johannes Rieken 提交者: GitHub

Merge pull request #98127 from HaoboGu/master

fix #98102
......@@ -26,7 +26,7 @@ export abstract class Memory {
return 0;
}
let topScore = items[0].score[0];
for (let i = 1; i < items.length; i++) {
for (let i = 0; i < items.length; i++) {
const { score, completion: suggestion } = items[i];
if (score[0] !== topScore) {
// stop when leaving the group of top matches
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册