Skip to content

Conversation

stainless-app[bot]
Copy link
Contributor

@stainless-app stainless-app bot commented Jul 25, 2025

Fixes #437 - prevents panic when tool_calls is empty by adding length check before accessing delta.ToolCalls[0].Index

@coolbaluk
Copy link

coolbaluk commented Aug 15, 2025

@jacobzim-stl would this solve the issue here from my PR https://github.com/openai/openai-[go/pull/469](https://www.golinks.io/pull/469?trackSource=github)?

If so can we get it merged please, would like to start using v2 without syncing the fork : )

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.

2 participants