Ask a question to get started
Enter to send•Shift+Enter new line
classify_usage_kind( *, is_main_agent: bool, metadata: Mapping[str, Any] | None
is_main_agent
bool
metadata
Mapping[str, Any] | None
None
Classify a streamed model request for cost and usage breakdowns.
Whether the stream namespace is the top-level agent.
LangChain callback/stream metadata for the chunk.