abefore_model(
self,
state: ModelCallLimitState[ResponseT],
runtime: Runtime[ContextT]
) | Name | Type | Description |
|---|---|---|
state* | ModelCallLimitState[ResponseT] | |
runtime* | Runtime[ContextT] |
Async check model call limits before making a model call.
The current agent state containing call counts.
The langgraph runtime.