pub fn build_messages(context: &str) -> (String, String)Expand description
The predictive system prompt + user message for a given caret context. Pure so the exact wording is testable and lives in one place.
The instructions mirror the in-editor copilot’s (continue naturally, no new
block, end on punctuation, return the sentinel 0 for “no good
continuation”) so both predictive surfaces behave consistently.