合并后提交
This commit is contained in:
commit
ff7e6ad732
@ -48,3 +48,5 @@
|
||||
4.一旦消息中没有工具或提示词调用信息即视为任务完成。因此工具或提示词调用必须连续完成。
|
||||
5.只响应用户目前的需求即可,不要过度猜测用户的需求,如果有下一步的工具建议只输出文本即可,如果输出XML会执行大量无用的工具。
|
||||
|
||||
特别注意:
|
||||
ArcGIS Pro中不能通过先SelectByAttribute选择后再执行ExportFeatures导出指定的部分,正确的做法是直接用ExportFeatures传入where_clause导出指定部分的数据。
|
||||
|
||||
@ -31,11 +31,19 @@
|
||||
<ColumnDefinition Width="36"/>
|
||||
<ColumnDefinition Width="36"/>
|
||||
<ColumnDefinition Width="36"/>
|
||||
<ColumnDefinition Width="Auto"/>
|
||||
</Grid.ColumnDefinitions>
|
||||
<Button Grid.Column="0" Content="清除" Name="ClearButton" Click="ClearButton_OnClick"></Button>
|
||||
<Button Grid.Column="1" Content="顶部" Name="TopButton" Click="TopButton_OnClick"></Button>
|
||||
<Button Grid.Column="2" Content="底部" Name="BottomButton" Click="BottomButton_OnClick"></Button>
|
||||
<Button Grid.Column="3" Content="停止" Name="StopButton" Click="StopButton_OnClick"></Button>
|
||||
<ComboBox Grid.Column="4" Name="ModelComboBox" SelectionChanged="ModelComboBox_OnSelectionChanged">
|
||||
<ComboBoxItem Content="qwen3-235b-a22b" IsSelected="True"/>
|
||||
<ComboBoxItem Content="qwen3-32b" />
|
||||
<ComboBoxItem Content="qwq-32b" />
|
||||
<ComboBoxItem Content="qwen-max-latest" />
|
||||
<ComboBoxItem Content="deepseek-r1" />
|
||||
</ComboBox>
|
||||
</Grid>
|
||||
<!-- <Button Grid.Row="0" Content="Test" Name="TestButton" Click="TestButton_OnClick"></Button> -->
|
||||
<!-- <TextBlock Grid.Row="0" HorizontalAlignment="Center" VerticalAlignment="Center" Text="LinkTool"/> -->
|
||||
|
||||
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user