Skip to main content

Interface: UpdateChatModelOverrideRequest

Defined in: packages/sdk/src/types/generated/chat.ts:590

Update an existing chat's per-chat model snapshot from the Chat sidebar.

Public API is camelCase. Every field is optional: only fields explicitly present in the request (tracked via model_fields_set) are touched, so a caller can give an old chat voice by sending realtimeModelId alone.

Per-model semantics (applied by apply_chat_model_override):

  • a concrete, non-empty id → pin that model (and its paired config) on the chat's snapshot;
  • an empty string / null id → reset that model to the agent's current default (re-snapshot from the live agent/workflow config). Snapshot semantics stay pure — there is no read-time fallback (PR #19699), so "inherit" is implemented as an explicit re-snapshot at write time.

Properties

chatModelConfig?

optional chatModelConfig: UpdateChatModelOverrideRequestChatModelConfig

Defined in: packages/sdk/src/types/generated/chat.ts:592


chatModelId?

optional chatModelId: string | null

Defined in: packages/sdk/src/types/generated/chat.ts:591


realtimeModelConfig?

optional realtimeModelConfig: UpdateChatModelOverrideRequestRealtimeModelConfig

Defined in: packages/sdk/src/types/generated/chat.ts:594


realtimeModelId?

optional realtimeModelId: string | null

Defined in: packages/sdk/src/types/generated/chat.ts:593