Skip to content

Commit f17179b

Browse files
author
wisedev
committed
fix: tool calls non streaming
1 parent a236d13 commit f17179b

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

src/MaIN.Core/.nuspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<package>
33
<metadata>
44
<id>MaIN.NET</id>
5-
<version>0.10.11</version>
5+
<version>0.10.12</version>
66
<authors>Wisedev</authors>
77
<owners>Wisedev</owners>
88
<icon>favicon.png</icon>

src/MaIN.Services/Services/LLMService/OpenAiCompatibleService.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1071,6 +1071,8 @@ file class Choice
10711071
file class ChatMessageResponse
10721072
{
10731073
public string? Content { get; set; }
1074+
1075+
[JsonPropertyName("tool_calls")]
10741076
public List<ToolCall>? ToolCalls { get; set; }
10751077
}
10761078

0 commit comments

Comments
 (0)