Occurs when a [run](https://platform.openai.com/docs/api-reference/runs/object) moves to a `requires_action` status.
| 906 | // Occurs when a [run](https://platform.openai.com/docs/api-reference/runs/object) |
| 907 | // moves to a `requires_action` status. |
| 908 | type AssistantStreamEventThreadRunRequiresAction struct { |
| 909 | // Represents an execution run on a |
| 910 | // [thread](https://platform.openai.com/docs/api-reference/threads). |
| 911 | Data Run `json:"data" api:"required"` |
| 912 | Event constant.ThreadRunRequiresAction `json:"event" default:"thread.run.requires_action"` |
| 913 | // JSON contains metadata for fields, check presence with [respjson.Field.Valid]. |
| 914 | JSON struct { |
| 915 | Data respjson.Field |
| 916 | Event respjson.Field |
| 917 | ExtraFields map[string]respjson.Field |
| 918 | raw string |
| 919 | } `json:"-"` |
| 920 | } |
| 921 | |
| 922 | // Returns the unmodified JSON received from the API |
| 923 | func (r AssistantStreamEventThreadRunRequiresAction) RawJSON() string { return r.JSON.raw } |
nothing calls this directly
no outgoing calls
no test coverage detected