@redrob-labs/ui v1.8.0 · Redrob Group Design System 2026

ModelSwitch

Agent chat · src/components/ModelSwitch/ModelSwitch.tsx

@deprecated Use ThreadNote. Kept for 1.x.

Says the model changed mid-conversation, and that nothing was lost.

The reassurance is the point. A person who sees the model change reasonably assumes the new one is starting cold, so the note says it reads the same memory. Without that line, a switch reads as a reset.

role="note", so it is an aside in the transcript rather than another turn in the conversation.

Import

import { ModelSwitch } from '@redrob-labs/ui';

Rendered

No rendering: the delivery ships no preview case for this one

Props

PropTypeNotes
to React.ReactNode The model now answering. Named, because the person is being told which one.
by 'you' | 'auto' Who switched. you when the person pinned it, otherwise Redrob Auto did.
reason string Why, as a clause: "because this needs longer reasoning".
note React.ReactNode
className string