u/complete: prompt says implement, not complete; reject stub echoing
This commit is contained in:
parent
7b333e4484
commit
bb13c24ef2
|
|
@ -103,7 +103,7 @@ context_block=""
|
|||
[ -n "$context" ] && context_block="
|
||||
${context}"
|
||||
|
||||
printf '%s\n' "Complete the code at the cursor${file_hint}. The prefix is already written. Output ONLY the new text that comes after the prefix — do NOT repeat any part of the prefix. Continue to finish the current function, block, or logical unit. No markdown code fences, no backticks, no explanation, no preamble.
|
||||
printf '%s\n' "Implement the code at the cursor${file_hint}. The prefix ends at the point where new code is needed. Write the implementation — do not echo stubs, TODOs, or placeholder returns from the prefix. Output ONLY the new implementation code. No markdown code fences, no backticks, no explanation, no preamble.
|
||||
${context_block}
|
||||
<prefix>
|
||||
${prefix}
|
||||
|
|
|
|||
Loading…
Reference in New Issue