1.0.0-beta.2 (2024-02-05)
This small release fixes a bug with function tools that use arguments.
Breaking Changes
- Addressing a related bug,
RequiredFunctionToolCall
has a property replacement:- REMOVED:
Parameters
of typeBinaryData
- ADDED:
Arguments
of typestring
- REMOVED:
- For improved clarity, several types specific to the representation of tool call information in run steps have been renamed with a
RunStep
prefix, better differentiating from request-time tool definitions and model-provided required tool calls:ToolCall
is nowRunStepToolCall
FunctionToolCall
is nowRunStepFunctionToolCall
CodeInterpreterToolCall
is nowRunStepCodeInterpreterToolCall
CodeInterpreterToolCallOutput
is nowRunStepCodeInterpreterToolCallOutput
CodeInterpreterLogOutput
is nowRunStepCodeInterpreterToolCallOutput
CodeInterpreterImageOutput
is nowRunStepCodeInterpreterImageOutput
CodeInterpreterImageReference
is nowRunStepCodeInterpreterImageReference
RetrievalToolCall
is nowRunStepRetrievalToolCall
Bugs Fixed
- Function calls initiated by the model (when a run enters a RequiresAction status involving function tools) will now provide the intended JSON
Arguments
string corresponding to the earlierFunctionDefinition
'sParameters
. The latterParameters
was previously reused within the required action flow, effectively ignoring the properArguments
.