diff --git a/ui/dockpane/DialogDockpane.xaml b/ui/dockpane/DialogDockpane.xaml
index d232eaa..31542f5 100644
--- a/ui/dockpane/DialogDockpane.xaml
+++ b/ui/dockpane/DialogDockpane.xaml
@@ -31,11 +31,19 @@
+
+
+
+
+
+
+
+
diff --git a/ui/dockpane/DialogDockpane.xaml.cs b/ui/dockpane/DialogDockpane.xaml.cs
index 3e623ae..278944c 100644
--- a/ui/dockpane/DialogDockpane.xaml.cs
+++ b/ui/dockpane/DialogDockpane.xaml.cs
@@ -117,7 +117,8 @@ namespace LinkToolAddin.ui.dockpane
QuestionTextbox.Text = "";
borderItemsDict[timestamp.ToString()] = userMsgBoder;
ChatHistoryStackPanel.Children.Add(userMsgBoder);
- Gateway.SendMessageStream(question,"qwen3-235b-a22b",defaultGdbPath,NewMessage_Recall);
+ string model = (ModelComboBox.SelectedItem as ComboBoxItem).Content.ToString() is null ? "qwen3-235b-a22b" : (ModelComboBox.SelectedItem as ComboBoxItem).Content.ToString();
+ Gateway.SendMessageStream(question,model,defaultGdbPath,NewMessage_Recall);
}
public void NewMessage_Recall(MessageListItem msg)
@@ -488,5 +489,12 @@ namespace LinkToolAddin.ui.dockpane
Gateway.StopConversation();
StatusTextBlock.Text = "";
}
+
+ private void ModelComboBox_OnSelectionChanged(object sender, SelectionChangedEventArgs e)
+ {
+ log.Info("ModelComboBox_OnSelectionChanged");
+ string model = ModelComboBox.SelectedValue.ToString();
+ log.Info(model);
+ }
}
}