MCPcopy
hub / github.com/openai/openai-go / AssistantStreamEventThreadRunInProgress

Struct AssistantStreamEventThreadRunInProgress

betaassistant.go:886–898  ·  view source on GitHub ↗

Occurs when a [run](https://platform.openai.com/docs/api-reference/runs/object) moves to an `in_progress` status.

Source from the content-addressed store, hash-verified

884// Occurs when a [run](https://platform.openai.com/docs/api-reference/runs/object)
885// moves to an `in_progress` status.
886type AssistantStreamEventThreadRunInProgress struct {
887 // Represents an execution run on a
888 // [thread](https://platform.openai.com/docs/api-reference/threads).
889 Data Run `json:"data" api:"required"`
890 Event constant.ThreadRunInProgress `json:"event" default:"thread.run.in_progress"`
891 // JSON contains metadata for fields, check presence with [respjson.Field.Valid].
892 JSON struct {
893 Data respjson.Field
894 Event respjson.Field
895 ExtraFields map[string]respjson.Field
896 raw string
897 } `json:"-"`
898}
899
900// Returns the unmodified JSON received from the API
901func (r AssistantStreamEventThreadRunInProgress) RawJSON() string { return r.JSON.raw }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected