Skip to content

Commit

Permalink
progress
Browse files Browse the repository at this point in the history
  • Loading branch information
BeepBeepBopBop committed Jan 23, 2025
1 parent b5e2afa commit 1393220
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 5 deletions.
19 changes: 14 additions & 5 deletions LM-Kit-Maestro/UI/Razor/Components/ChatSettings.razor
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@
Chatbot purpose
</MudText>

<MudTextField Variant="Variant.Outlined" Lines="5" Value="ViewModel.SystemPrompt"/>
<MudTextField Variant="Variant.Outlined"
Lines="5"
Value="ViewModel.SystemPrompt"/>
</div>

<div class="setting-container">
Expand All @@ -19,7 +21,9 @@
Maximum completion tokens
</MudText>

<MudTextField Class="setting-field" Value="ViewModel.MaximumCompletionTokens"/>
<MudTextField Class="setting-field"
Variant="Variant.Outlined"
Value="ViewModel.MaximumCompletionTokens"/>
</div>
</div>

Expand All @@ -30,10 +34,13 @@
Request timeout
</MudText>

<MudTextField Class="setting-field" Value="@ViewModel.RequestTimeout"/>
<MudTextField Class="setting-field"
Variant="Variant.Outlined"
Value="@ViewModel.RequestTimeout"/>
</div>

<MudSlider Min="10" Max="120" Value="@ViewModel.RequestTimeout" Color="Color.Primary" Variant="Variant.Filled"/>
<MudSlider Min="10" Max="120" Value="@ViewModel.RequestTimeout" Color="Color.Primary"
Variant="Variant.Filled"/>
</div>

<div class="setting-container">
Expand All @@ -43,7 +50,9 @@
Context size
</MudText>

<MudTextField Class="setting-field" Value="ViewModel.ContextSize"/>
<MudTextField Class="setting-field"
Value="ViewModel.ContextSize"
Variant="Variant.Outlined"/>
</div>
</div>
</MudStack>
Expand Down
2 changes: 2 additions & 0 deletions LM-Kit-Maestro/UI/Razor/Components/ChatSettings.razor.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
display: flex;
flex-direction: column;
gap: 10px;
vertical-align: center;
}

.flex-row{
Expand All @@ -13,4 +14,5 @@
::deep .setting-field {
min-width: 60px !important;
max-width: 60px !important;
text-align: right !important;
}

0 comments on commit 1393220

Please sign in to comment.