You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the documentation here, an example is given for passing "custom" tools to models using the Chat Completions API.
However, in the chat completion chunk object described here, the choices.delta.tool_calls only seems to support type="function" with no mention of "custom". The same is reflected in the openai python SDK, currently leading to among other things typing issues in downstream custom code.
Question:
So does this mean that streaming from Chat Completions while passing "custom" tools isn't supported? Or perhaps is the API definition incomplete?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Context:
In the documentation here, an example is given for passing
"custom"
tools to models using the Chat Completions API.However, in the chat completion chunk object described here, the
choices.delta.tool_calls
only seems to supporttype="function"
with no mention of"custom"
. The same is reflected in theopenai
python SDK, currently leading to among other things typing issues in downstream custom code.Question:
So does this mean that streaming from Chat Completions while passing
"custom"
tools isn't supported? Or perhaps is the API definition incomplete?Thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions