Skip to content
This repository has been archived by the owner on Oct 10, 2024. It is now read-only.

Add tool_calls in the signature of chat response #54

Closed
wants to merge 2 commits into from

Conversation

bmichotte
Copy link
Contributor

The current signature of ChatCompletionResponseChoice is incorrect since it doesn't add the tool_calls.
Actually, the response can be either null or the ToolCalls[] as shown in this screenshot (this is a console.log of the message)

CleanShot 2024-03-04 at 15 59 12@2x

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants