Patch Changes
-
4e28ba0: fix(ai): propagate providerMetadata during input-streaming state
Provider-executed tools (like MCP tools) need to send metadata during the streaming phase, but the implementation only set
callProviderMetadatawhenpart.state === "input-available". This fix removes the overly-restrictive state check and addscallProviderMetadatato the input-streaming state types and schemas.