Skip to content

Commit e52a1b6

Browse files
committed
merge
1 parent d45446c commit e52a1b6

File tree

1 file changed

+1
-1
lines changed
  • crates/chat-cli/src/cli/chat

1 file changed

+1
-1
lines changed

crates/chat-cli/src/cli/chat/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ impl ChatArgs {
279279
}
280280

281281
// If modelId is specified, verify it exists before starting the chat
282-
let model_id: Option<String> = if let Some(model_name) = model_name {
282+
let model_id: Option<String> = if let Some(model_name) = self.model {
283283
let model_name_lower = model_name.to_lowercase();
284284
match MODEL_OPTIONS.iter().find(|(_, name, _)| name == &model_name_lower) {
285285
Some((_, _, id)) => Some(id.to_string()),

0 commit comments

Comments
 (0)