yr.insert

insert(
    prompt: str,
) → None

Insert a prompt into the active LLM context.

Unlike response, this does not generate a response; it merely appends the given prompt to the conversation history.

Parameters

prompt
type: str

The user message to insert into the LLM context.