File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed 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.2.1 </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