summaryrefslogtreecommitdiff
path: root/tests/Agent.Core.Tests/OllamaClientTests.cs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/Agent.Core.Tests/OllamaClientTests.cs')
-rw-r--r--tests/Agent.Core.Tests/OllamaClientTests.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/Agent.Core.Tests/OllamaClientTests.cs b/tests/Agent.Core.Tests/OllamaClientTests.cs
index aa98764..94ce8cd 100644
--- a/tests/Agent.Core.Tests/OllamaClientTests.cs
+++ b/tests/Agent.Core.Tests/OllamaClientTests.cs
@@ -117,7 +117,7 @@ public sealed class OllamaClientTests
OllamaResult result = await client.ChatWithToolsAsync([new OllamaMessage("user", "read")], null, InternalToolCatalog.All, TestContext.Current.CancellationToken);
using JsonDocument document = JsonDocument.Parse(body!);
- Assert.Equal(5, document.RootElement.GetProperty("tools").GetArrayLength());
+ Assert.Equal(6, document.RootElement.GetProperty("tools").GetArrayLength());
Assert.All(document.RootElement.GetProperty("tools").EnumerateArray(), tool =>
Assert.False(tool.GetProperty("function").GetProperty("parameters").GetProperty("additionalProperties").GetBoolean()));
OllamaToolCall call = Assert.Single(result.ToolCalls!);