generate_user_prompt


Description:

public virtual string generate_user_prompt (string user_input) throws Error

Generates the user prompt sent to the API. Default implementation returns the input as-is. Override to add context (e.g. current file, attached files, selection) via generate_context_section().

Parameters:

user_input

The user's raw input text

Returns:

The prompt string to send (may include context)