Config & playground

ModelSelector

Provider-aware dropdown listing the current model, provider label, and optional fast / smart / beta badge. Ships with six common models out of the box; pass your own list via the models prop.

Sourcesrc/components/ai/model-selector.tsx

Default list

Six providers preloaded — OpenAI, Anthropic, Google, Meta. Controlled by useState<Model>.

Custom model list

Pass any Model[] to replace the defaults — useful for local / self-hosted options.