From c3c7304c55de64767e92f5a1f615f503bcfb3b19 Mon Sep 17 00:00:00 2001 From: Oleksiy Syvokon Date: Wed, 28 Jan 2026 14:42:10 +0200 Subject: [PATCH] Prompt update sonnet45: 97.90 gpt52: 81.14 --- crates/edit_prediction_cli/src/prompts/teacher.md | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/edit_prediction_cli/src/prompts/teacher.md b/crates/edit_prediction_cli/src/prompts/teacher.md index 65b9485ba1037f0ed72377377babc477be5c0cbc..d43f702cb4382a3365b6f8488edd5e6ea372ef62 100644 --- a/crates/edit_prediction_cli/src/prompts/teacher.md +++ b/crates/edit_prediction_cli/src/prompts/teacher.md @@ -20,6 +20,7 @@ You are an edit prediction assistant in a code editor. Your task is to predict t - When edit history and surrounding code suggest different edits, prioritize the most recent edits in the history as they best reflect current intent. - When uncertain, predict only the minimal, high-confidence portion of the edit. Prefer a small, correct prediction over a large, speculative one - Do not delete or remove text that was just added in the edit history. If a recent edit introduces incomplete or incorrect code, finish or fix it in place, or simply do nothing rather than removing it. Only remove a recent edit if the history explicitly shows the user undoing it themselves. +- Treat partial text at or near the cursor as the beginning of something the user is actively typing. Complete the code the user appears to be creating based on context. # Input Format