Documentation IndexFetch the complete documentation index at: /docs/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /docs/llms.txt
Use this file to discover all available pages before exploring further.
Prompt-formatting context for one step
class StepContext(BaseModel): goal: str plan: str observation: str reasoning: str = "" history: list[Step] = [] examples: list[StepExample] = []
context.format_examples() -> str context.format_history() -> str
class StepExample(BaseModel): goal: str plan: str observation: str reasoning: str action: str trajectory_id: str step_index: int