Patch Changes
-
0ebc3a9: fix(assemblyai): escape control characters in speech warnings that repeat caller values
The text-to-speech warnings for an unknown
outputFormatorlanguagerepeated the caller's value verbatim, so a value containing control characters could add text to the AI SDK's warning log output. Control characters are now escaped in those messages. -
0ebc3a9: fix(assemblyai): stop echoing unknown provider option names in streaming transcription warnings
Streaming transcription warned about every non-streaming provider option by repeating its raw key, so a caller-supplied option name could add arbitrary text, including newlines, to the AI SDK's warning log output. The warnings are now built from the parsed provider options, which only contain the option names the provider defines.