ModelConfig
Interface: ModelConfig
ModelConfig is used to configure model support in the Elements library.
Properties
showModelPicker?
optionalshowModelPicker:boolean
Whether to show the model picker in the composer.
defaultModel?
optionaldefaultModel:"anthropic/claude-sonnet-4.5"|"anthropic/claude-haiku-4.5"|"anthropic/claude-sonnet-4"|"anthropic/claude-opus-4.5"|"openai/gpt-4o"|"openai/gpt-4o-mini"|"openai/gpt-5.1-codex"|"openai/gpt-5"|"openai/gpt-5.1"|"openai/gpt-4.1"|"anthropic/claude-3.7-sonnet"|"anthropic/claude-opus-4"|"google/gemini-2.5-pro-preview"|"google/gemini-3-pro-preview"|"moonshotai/kimi-k2"|"mistralai/mistral-medium-3"|"mistralai/mistral-medium-3.1"|"mistralai/codestral-2501"
The default model to use for the Elements library.
Last updated on