None. Clearing is
useful in multi-step agent workflows where context set after a RAG step
should not leak into later non-RAG LLM calls.
Works automatically in both synchronous and asynchronous contexts.
Parameters
Model
required
The Model instance to attach context to
str | None
default:"None"
Context string providing additional information about available
options, constraints, or background for the LLM interaction.
Pass
None to clear any previously set context.