最終更新:2026-05-14 (木) 19:47:27 (28d)
agents.RunHooks.on_llm_start
Top / agents.RunHooks.on_llm_start
Called just before invoking the LLM for this agent.
on_llm_start( context: RunContextWrapper[TContext], agent: Agent[TContext], system_prompt: str | None, input_items: list[TResponseInputItem], ) -> None
input_items
- Responses API に渡される input items

