We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d45446c commit e52a1b6Copy full SHA for e52a1b6
crates/chat-cli/src/cli/chat/mod.rs
@@ -279,7 +279,7 @@ impl ChatArgs {
279
}
280
281
// If modelId is specified, verify it exists before starting the chat
282
- let model_id: Option<String> = if let Some(model_name) = model_name {
+ let model_id: Option<String> = if let Some(model_name) = self.model {
283
let model_name_lower = model_name.to_lowercase();
284
match MODEL_OPTIONS.iter().find(|(_, name, _)| name == &model_name_lower) {
285
Some((_, _, id)) => Some(id.to_string()),
0 commit comments