We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bececf2 commit d59453cCopy full SHA for d59453c
streamaccumulator.go
@@ -13,7 +13,7 @@ type ChatCompletionAccumulator struct {
13
type FinishedChatCompletionToolCall struct {
14
ChatCompletionMessageToolCallFunction
15
Index int
16
- Id string
+ ID string
17
}
18
19
type chatCompletionResponseState struct {
@@ -86,7 +86,7 @@ func (acc *ChatCompletionAccumulator) JustFinishedToolCall() (toolcall FinishedC
86
f := acc.Choices[0].Message.ToolCalls[acc.justFinished.index].Function
87
id := acc.Choices[0].Message.ToolCalls[acc.justFinished.index].ID
88
return FinishedChatCompletionToolCall{
89
- Id: id,
+ ID: id,
90
Index: acc.justFinished.index,
91
ChatCompletionMessageToolCallFunction: ChatCompletionMessageToolCallFunction{
92
Name: f.Name,
0 commit comments