Prompt update

Oleksiy Syvokon created

sonnet45: 97.90
gpt52:    81.14

Change summary

crates/edit_prediction_cli/src/prompts/teacher.md | 1 +
1 file changed, 1 insertion(+)

Detailed changes

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