Skip to content

LivekitTokenRequest

Request parameters for generating a LiveKit room token with LLM configuration and optional STT settings.

Example Usage

typescript
import { LivekitTokenRequest } from "@meetkai/mka1/models/components";

let value: LivekitTokenRequest = {
  llm: {
    model: "El Camino",
  },
};

Fields

FieldTypeRequiredDescription
llmcomponents.Llm✔️LLM configuration for the voice session. Uses a subset of the responses create schema — fields like input, stream, background, webhooks, and store are excluded since the voice agent manages those. WARNING: This object is serialized into the LiveKit JWT metadata which is transmitted via HTTP headers. Keep payloads small — large tools arrays can exceed the ~8KB header size limit imposed by most servers and proxies.
sttcomponents.SttConfigOptional STT (speech-to-text) VAD configuration for the voice session.