Appearance
Function: aiSdk()
ts
function aiSdk(options?: AiSdkOptions): AiSdkModelConfig;Defined in: packages/sdk/src/ai/chatModel.ts:74
Back the chat with a cloud model via the Vercel AI SDK. The API key is read at runtime from ctx.assistant.secrets inside the Node driver — it is never captured here. Streams token-by-token through the chat UI.
Parameters
| Parameter | Type |
|---|---|
options | AiSdkOptions |
Returns
AiSdkModelConfig