| Name | Type |
|---|---|
| model | str | None |
| model_params | dict[str, Any] |
| profile_overrides | dict[str, Any] |
| model_context_limit | int | None |
| classifier_model | str | None |
| approval_mode | str |
| auto_approve | bool |
| approval_mode_key | str | None |
| thread_id | str | None |
| turn_id | str | None |
| offload_tool_call_id | str | None |
| hooks_snapshot_id | str | None |
| hooks_server_events | list[str] |
| prompt_id | str | None |
Effective context-window limit for profile-aware middleware.
Client-facing builder for the per-run graph context payload.
Callers populate this and pass it via context= to astream/ainvoke.
ConfigurableModelMiddleware and the interrupt_on when predicate read
it from request.runtime.context. In-process LangGraph coerces it into
CLIContextSchema (the registered context_schema); over the API it stays
a plain dict — which is why consumers handle both shapes.