Skip to content

Commit 67169fc

Browse files
committed
Promition to 1.1.0;
1 parent f851997 commit 67169fc

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

src/GrokSdk.Tests/GrokClientReasoningTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ public async Task CreateChatCompletionAsync_LiveReasoningEffort_ComparesLowAndHi
7272

7373
// Assert that high effort uses more reasoning tokens
7474
Assert.IsTrue(reasoningTokensHigh > reasoningTokensLow,
75-
"High effort should use more reasoning tokens than low effort.");
75+
$"High effort should use more reasoning tokens than low effort. reasoningTokensHigh ({reasoningTokensHigh}) > reasoningTokensLow ({reasoningTokensLow})");
7676

7777
// Check that reasoning_content is present for both
7878
Assert.IsFalse(string.IsNullOrEmpty(reasoningContentLow),

src/GrokSdk.Tests/GrokClientToolChoiceTests.cs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,10 @@ private static string GetN2YoApiKeyFromFileOrEnv()
3333
return apiKey;
3434
}
3535

36-
[DataTestMethod]
37-
[DataRow("grok-3-latest")]
38-
[DataRow("grok-2-latest")]
39-
[TestCategory("Live")]
36+
//[DataTestMethod]
37+
//[DataRow("grok-3-latest")]
38+
//[DataRow("grok-2-latest")]
39+
//[TestCategory("Live")]
4040
public async Task CreateChatCompletionAsync_LiveToolChoice_DemonstratesModes(string model)
4141
{
4242
using var httpClient = new HttpClient();
@@ -79,7 +79,7 @@ public async Task CreateChatCompletionAsync_LiveToolChoice_DemonstratesModes(str
7979
Stream = false,
8080
Temperature = 0f,
8181
Tools = grokTools,
82-
Tool_choice = Tool_choice.Required
82+
Tool_choice = Tool_choice.Auto
8383
};
8484

8585
await WaitForRateLimitAsync();
@@ -105,7 +105,7 @@ public async Task CreateChatCompletionAsync_LiveToolChoice_DemonstratesModes(str
105105
Assert.AreEqual("get_current_temperature", autoChoice.Message.Tool_calls?.First().Function.Name,
106106
"GrokTool call (auto) should match the defined GrokTool.");
107107
Assert.AreEqual(GrokChoiceFinish_reason.Tool_calls, autoChoice.Finish_reason,
108-
"Finish reason (auto) should be 'GrokTool_calls' when a GrokTool is used.");
108+
"Finish reason (Tool_choice = auto) should be 'Tool_calls' when a GrokTool is used.");
109109
}
110110
else
111111
{

src/GrokSdk/GrokSdk.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<!-- NuGet Metadata -->
1010
<NuspecFile>GrokSdk.nuspec</NuspecFile>
1111
<PackageId>Grok</PackageId>
12-
<Version>1.1.0-beta1</Version>
12+
<Version>1.1.0</Version>
1313
<Authors>TWhidden</Authors>
1414
<Description>xAI Grok dotnet integration</Description>
1515
<PackageTags>xAI;Grok;dotnet</PackageTags>

src/GrokSdk/GrokSdk.nuspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
33
<metadata>
44
<id>GrokSdk</id>
5-
<version>1.1.0-beta1</version>
5+
<version>1.1.0</version>
66
<authors>Travis Whidden</authors>
77
<description>xAI Grok dotnet integration</description>
88
<tags>xAI Grok dotnet</tags>

0 commit comments

Comments
 (0)