尝试重新思考得更短
This commit is contained in:
@@ -143,6 +143,7 @@
|
||||
<RowDefinition Height="*"/>
|
||||
<RowDefinition Height="Auto"/>
|
||||
<RowDefinition Height="Auto"/>
|
||||
<RowDefinition Height="Auto"/>
|
||||
</Grid.RowDefinitions>
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="100"/>
|
||||
@@ -164,20 +165,34 @@
|
||||
Content="支持 SSE 流式输出"
|
||||
Margin="0,5"/>
|
||||
|
||||
<Label Grid.Row="4" Grid.Column="0" Content="高级参数"/>
|
||||
<Label Grid.Row="4" Grid.Column="0" Content="推理保护"/>
|
||||
<StackPanel Grid.Row="4" Grid.Column="1" Orientation="Horizontal" Margin="0,5">
|
||||
<CheckBox x:Name="_reasoningGuardCheck"
|
||||
Content="启用"
|
||||
VerticalAlignment="Center"/>
|
||||
<Label Content="推理 token 阈值"
|
||||
VerticalAlignment="Center"
|
||||
Margin="10,0,0,0"/>
|
||||
<TextBox x:Name="_reasoningTokenLimitBox"
|
||||
Width="80"
|
||||
VerticalAlignment="Center"
|
||||
ToolTip="留空使用 max(4096, max_tokens / 2);仅流式模型生效"/>
|
||||
</StackPanel>
|
||||
|
||||
<Label Grid.Row="5" Grid.Column="0" Content="高级参数"/>
|
||||
<TextBox x:Name="_extraParamsBox"
|
||||
Grid.Row="4" Grid.Column="1"
|
||||
Grid.Row="5" Grid.Column="1"
|
||||
MinHeight="80"
|
||||
AcceptsReturn="True"
|
||||
ScrollViewer.VerticalScrollBarVisibility="Auto"/>
|
||||
|
||||
<StackPanel Grid.Row="5" Grid.Column="1" Orientation="Horizontal" HorizontalAlignment="Right">
|
||||
<StackPanel Grid.Row="6" Grid.Column="1" Orientation="Horizontal" HorizontalAlignment="Right">
|
||||
<Button Content="应用模型修改" Click="OnApplyModelClick" Margin="2"/>
|
||||
<Button Content="从已知模板填充" Click="OnFillFromKnownModelsClick" Margin="2"/>
|
||||
</StackPanel>
|
||||
|
||||
<TextBlock x:Name="_modelStatusText"
|
||||
Grid.Row="6" Grid.ColumnSpan="2"
|
||||
Grid.Row="7" Grid.ColumnSpan="2"
|
||||
Foreground="Gray" Margin="0,5"/>
|
||||
</Grid>
|
||||
</DockPanel>
|
||||
|
||||
Reference in New Issue
Block a user