Skip to content

Commit 030964c

Browse files
authored
Fix SettingsPanel exception with RetrievalMode enum (#276)
Fixes #275 cc @mattleibow - this is the issue you saw earlier today
1 parent 1ffc833 commit 030964c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

app/frontend/Components/SettingsPanel.razor

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,13 @@
2727

2828
<MudText Typo="Typo.subtitle1">Retrieval Mode</MudText>
2929
<MudRadioGroup Required="true" @bind-SelectedOption="@Settings.Overrides.RetrievalMode" Class="pa-2">
30-
<MudRadio T="string" Option="@("Text")" Color="Color.Primary">
30+
<MudRadio T="RetrievalMode" Option="@RetrievalMode.Text" Color="Color.Primary">
3131
Text
3232
</MudRadio>
33-
<MudRadio T="string" Option="@("Hybrid")" Color="Color.Primary">
33+
<MudRadio T="RetrievalMode" Option="@RetrievalMode.Hybrid" Color="Color.Primary">
3434
Hybrid
3535
</MudRadio>
36-
<MudRadio T="string" Option="@("Vector")" Color="Color.Primary">
36+
<MudRadio T="RetrievalMode" Option="@RetrievalMode.Vector" Color="Color.Primary">
3737
Vector
3838
</MudRadio>
3939
</MudRadioGroup>

0 commit comments

Comments
 (0)