A custom LanguageModelV2 implementation that wraps our existing legacy providers.
This allows us to use the Vercel AI SDK's high-level features (like streamText)
while keeping our existing API calling logic (which is CORS-proxied via background script).
A custom LanguageModelV2 implementation that wraps our existing legacy providers. This allows us to use the Vercel AI SDK's high-level features (like streamText) while keeping our existing API calling logic (which is CORS-proxied via background script).