Skip to content

Commit

Permalink
Fix SettingsPanel exception with RetrievalMode enum (#276)
Browse files Browse the repository at this point in the history
Fixes #275

cc @mattleibow - this is the issue you saw earlier today
  • Loading branch information
Eilon authored Feb 12, 2024
1 parent 1ffc833 commit 030964c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/frontend/Components/SettingsPanel.razor
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,13 @@

<MudText Typo="Typo.subtitle1">Retrieval Mode</MudText>
<MudRadioGroup Required="true" @bind-SelectedOption="@Settings.Overrides.RetrievalMode" Class="pa-2">
<MudRadio T="string" Option="@("Text")" Color="Color.Primary">
<MudRadio T="RetrievalMode" Option="@RetrievalMode.Text" Color="Color.Primary">
Text
</MudRadio>
<MudRadio T="string" Option="@("Hybrid")" Color="Color.Primary">
<MudRadio T="RetrievalMode" Option="@RetrievalMode.Hybrid" Color="Color.Primary">
Hybrid
</MudRadio>
<MudRadio T="string" Option="@("Vector")" Color="Color.Primary">
<MudRadio T="RetrievalMode" Option="@RetrievalMode.Vector" Color="Color.Primary">
Vector
</MudRadio>
</MudRadioGroup>
Expand Down

0 comments on commit 030964c

Please sign in to comment.