File tree 3 files changed +5
-5
lines changed
3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ public enum ModelVersion : sbyte
37
37
/// Preview version of a lightweight, fast model.
38
38
/// Ideal for simple tasks requiring minimal resource usage.
39
39
/// </summary>
40
- [ Description ( "gemini-2.0-flash-lite-preview-02-05 " ) ]
40
+ [ Description ( "gemini-2.0-flash-lite" ) ]
41
41
Gemini_20_Flash_Lite ,
42
42
43
43
/// <summary>
@@ -53,7 +53,7 @@ public enum ModelVersion : sbyte
53
53
/// Experimental version optimized for reasoning tasks.
54
54
/// Best for applications requiring complex analysis and decision-making.
55
55
/// </summary>
56
- [ Description ( "gemini-2.0-flash-thinking-exp" ) ]
56
+ [ Description ( "gemini-2.0-flash-thinking-exp-01-21 " ) ]
57
57
Gemini_20_Flash_Thinking ,
58
58
59
59
/// <summary>
Original file line number Diff line number Diff line change 15
15
<GeneratePackageOnBuild >True</GeneratePackageOnBuild >
16
16
<PackageLicenseExpression >MIT</PackageLicenseExpression >
17
17
<PackageRequireLicenseAcceptance >True</PackageRequireLicenseAcceptance >
18
- <Version >2.1 .2</Version >
18
+ <Version >2.2 .2</Version >
19
19
</PropertyGroup >
20
20
21
21
<ItemGroup >
Original file line number Diff line number Diff line change @@ -40,12 +40,12 @@ public async Task<bool> IsValidApiKeyAsync()
40
40
var apiRequest = new ApiRequestBuilder ( )
41
41
. WithPrompt ( "Say `Hello World` to me!" )
42
42
. DisableAllSafetySettings ( )
43
- . WithDefaultGenerationConfig ( 0.2F )
43
+ . WithDefaultGenerationConfig ( )
44
44
. Build ( ) ;
45
45
46
46
try
47
47
{
48
- await GenerateContentAsync ( apiRequest , ModelVersion . Gemini_20_Flash_Lite ) . ConfigureAwait ( false ) ;
48
+ await GenerateContentAsync ( apiRequest , ModelVersion . Gemini_15_Flash ) . ConfigureAwait ( false ) ;
49
49
return true ;
50
50
}
51
51
catch
You can’t perform that action at this time.
0 commit comments