Skip to content

Conversation

@RobertCraigie
Copy link
Collaborator

Fixes #54

@RobertCraigie RobertCraigie marked this pull request as ready for review September 18, 2024 13:30
@RobertCraigie RobertCraigie requested a review from a team as a code owner September 18, 2024 13:30
tool.ID = deltaTool.ID
}
if deltaTool.Type != "" {
tool.Type = ChatCompletionMessageToolCallType(deltaTool.Type)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: this is slightly different to the node + python implementation, only for the Type param

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

wait what do you mean?

Copy link
Collaborator

@jacobzim-stl jacobzim-stl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@RobertCraigie RobertCraigie merged commit 321ff9e into main Sep 18, 2024
@RobertCraigie RobertCraigie deleted the robert/fix-streaming-acc branch September 18, 2024 16:26
@stainless-app stainless-app bot mentioned this pull request Sep 18, 2024
joschahenningsen pushed a commit to joschahenningsen/openai-go that referenced this pull request Oct 27, 2024
@stainless-app stainless-app bot mentioned this pull request Mar 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Missing fields when using streaming API

4 participants