Resolve an LlmProvider descriptor into a Vercel AI SDK
LanguageModel.
The API key is pulled from the agent's env (e.g. OPENAI_API_KEY).
Missing keys throw here — the pipeline session would fail on first
streamText call otherwise, and the error is clearer at construction.
Resolve an LlmProvider descriptor into a Vercel AI SDK
LanguageModel.The API key is pulled from the agent's env (e.g.
OPENAI_API_KEY). Missing keys throw here — the pipeline session would fail on firststreamTextcall otherwise, and the error is clearer at construction.