Skip to content

Commit

Permalink
fix parallel tool calls
Browse files Browse the repository at this point in the history
Co-Authored-By: hallidev <[email protected]>
  • Loading branch information
lofcz and hallidev committed Jun 8, 2024
1 parent 571baf2 commit 6efa455
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion LlmTornado/Chat/ChatRequest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ public string? StopSequence
/// As of 6/24, the only vendor supporting the feature is OpenAI.
/// </summary>
[JsonProperty("parallel_tool_calls")]
public bool ParallelToolCalls { get; set; } = true;
public bool? ParallelToolCalls { get; set; }

/// <summary>
/// Represents an optional field when sending tools calling prompt.
Expand Down
7 changes: 4 additions & 3 deletions LlmTornado/LlmTornado.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@
<Authors>Matěj Štágl, LlmTornado contributors</Authors>
<Product>LlmTornado</Product>
<Description>One .NET library to consume OpenAI, Anthropic, Cohere, Azure, and self-hosed APIs.</Description>
<Copyright>This library is licensed MIT</Copyright>
<Copyright>Matěj Štágl</Copyright>
<PackageLicenseExpression>CC0-1.0</PackageLicenseExpression>
<PackageProjectUrl>https://github.com/lofcz/LlmTornado</PackageProjectUrl>
<RepositoryUrl>https://github.com/lofcz/LlmTornado</RepositoryUrl>
<PackageTags>OpenAI, Cohere, Anthropic, Azure, LLM, GPT-4O, GPT-4, GPT-Turbo, DALL-E, Coral, Claude3, Command-R-Plus</PackageTags>
<Title>OpenAI NextGeneration</Title>
<PackageReleaseNotes>support mid-conversation Provider switching</PackageReleaseNotes>
<PackageReleaseNotes>support disabling parallel tools calling, Anthropic streaming improvements</PackageReleaseNotes>
<PackageId>LlmTornado</PackageId>
<Version>3.0.15</Version>
<Version>3.0.16</Version>
<AssemblyVersion>3.0.5</AssemblyVersion>
<FileVersion>3.0.5</FileVersion>
<GenerateDocumentationFile>True</GenerateDocumentationFile>
Expand All @@ -26,6 +26,7 @@
<Deterministic>true</Deterministic>
<Nullable>enable</Nullable>
<TargetFramework>net8.0</TargetFramework>
<PackageLicenseUrl></PackageLicenseUrl>
</PropertyGroup>
<PropertyGroup>
<PackageIcon>nuget_logo.jpg</PackageIcon>
Expand Down

0 comments on commit 6efa455

Please sign in to comment.