Whether to generate a code or prose completion prompt.
Context variables including optional language and surrounding text.
Optionallanguage?: stringProgramming language for code completions.
Text before the cursor position.
Text after the cursor position.
Formatted prompt string for the language model.
Selects and generates the appropriate prompt based on content type.