Whether to include usage metadata in streaming output. If enabled, an additional message chunk will be generated during the stream including usage metadata.
This parameter is enabled unless openai_api_base is set or the model is
initialized with a custom client, as many chat completions APIs do not support
streaming token usage.
langchain-openai 0.3.35Enabled for default base URL and client.
stream_usage: bool | None = None