Patch Changes
-
e4ff9e7: fix(gateway): forward server-returned warnings on language model doGenerate
generateText(...).warningsthrough the gateway provider was always an empty
array:doGeneratespread the gateway response body and then overwrote the
server'swarningswith a locally constructed empty array. The warnings the
gateway relays from the upstream provider (and gateway-originated warnings)
are now forwarded, matching the streaming path and every other modality.