-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix parallel_tool_cals parameter not being sent
- Loading branch information
1 parent
d751426
commit 1ecdc2e
Showing
2 changed files
with
52 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -50,7 +50,7 @@ public record ChatCompletionCreateRequest | |
/// https://platform.openai.com/docs/api-reference/chat/create#chat-create-parallel_tool_calls | ||
/// </summary> | ||
[JsonPropertyName("parallel_tool_calls")] | ||
public bool ParallelToolCalls { get; set; } | ||
public bool? ParallelToolCalls { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets what sampling temperature to use, between 0 and 2. Higher values like 0.8 will make the output more | ||
|
@@ -135,4 +135,4 @@ public record ChatCompletionCreateRequest | |
/// </summary> | ||
[JsonPropertyName("user")] | ||
public string? User { get; set; } | ||
} | ||
} | ||
Check warning on line 138 in Kattbot.Common/Models/KattGpt/ChatCompletionCreateRequest.cs GitHub Actions / Build
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters