Updates the tool call struct (#595)
This commit is contained in:
1 parent
4fd904c292
commit
9efad284d0
1 file changed
+1
-5
@@ -142,17 +142,13 @@ const (
|
||||
type StepDetails struct {
|
||||
Type RunStepType `json:"type"`
|
||||
MessageCreation *StepDetailsMessageCreation `json:"message_creation,omitempty"`
|
||||
ToolCalls *StepDetailsToolCalls `json:"tool_calls,omitempty"`
|
||||
ToolCalls []ToolCall `json:"tool_calls,omitempty"`
|
||||
}
|
||||
|
||||
type StepDetailsMessageCreation struct {
|
||||
MessageID string `json:"message_id"`
|
||||
}
|
||||
|
||||
type StepDetailsToolCalls struct {
|
||||
ToolCalls []ToolCall `json:"tool_calls"`
|
||||
}
|
||||
|
||||
// RunStepList is a list of steps.
|
||||
type RunStepList struct {
|
||||
RunSteps []RunStep `json:"data"`
|
||||
|
||||
Reference in new issue
Block a user