UNPKG

ai

Version:

AI SDK by Vercel - build apps like ChatGPT, Claude, Gemini, and more with a single interface for any model using the Vercel AI Gateway or go direct to OpenAI, Anthropic, Google, or any other model provider.

14 lines (12 loc) 379 B
import type { RealtimeToolDefinition } from '../types/realtime-model'; /** * Response shape for the realtime setup/token endpoint. * The client uses this to establish a WebSocket connection and * configure the session with tool definitions. */ export type RealtimeSetupResponse = { token: string; url: string; expiresAt?: number; tools: RealtimeToolDefinition[]; };