AI.Stream.OpenAICompatibleTransformer (AI SDK v0.0.1-rc.0)

View Source

Stream transformer for OpenAI-compatible API streams.

This transformer handles streams from OpenAI-compatible APIs like LMStudio or other open-source/self-hosted models that implement the OpenAI API specification but might have slight differences in event formatting.