Skip to content

Commit 046733e

Browse files
fix: correct DefaultValue type for MinRelevance parameter
Fix type mismatch between DefaultValue(0.3) double and float property. Spectre.Console.Cli SingleConverter requires exact type match. Changed: DefaultValue(0.3) → DefaultValue(0.3f) 🤖 Generated with [Amplifier](https://github.com/microsoft/amplifier) Co-Authored-By: Amplifier <240397093+microsoft-amplifier@users.noreply.github.com>
1 parent e727719 commit 046733e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Main/CLI/Commands/SearchCommand.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ public class SearchCommandSettings : GlobalOptions
4949

5050
[CommandOption("--min-relevance")]
5151
[Description("Minimum relevance score threshold (0.0-1.0, default: 0.3)")]
52-
[DefaultValue(0.3)]
52+
[DefaultValue(0.3f)]
5353
public float MinRelevance { get; init; } = 0.3f;
5454

5555
[CommandOption("--max-results-per-node")]

0 commit comments

Comments
 (0)