ChatModel.safe constructor
const
ChatModel.safe(
- String id
Implementation
const ChatModel.safe(this.id)
: displayName = null,
cost = const ChatModelCost(input: 0, output: 0),
capabilities = const ChatModelCapabilities(
tools: false,
contextWindow: 128000,
inputModalities: [Modality.text],
outputModalities: [Modality.text],
maxTokenOutput: 32000,
reasoning: false,
seesToolMessages: false,
streaming: false,
structuredOutput: false,
ultraCompatibleMode: true,
systemMode: ChatModelSystemMode.unsupported,
),
deprecated = false;