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

Struct AssistantToolResourcesCodeInterpreter

betaassistant.go:251–262  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

249}
250
251type AssistantToolResourcesCodeInterpreter struct {
252 // A list of [file](https://platform.openai.com/docs/api-reference/files) IDs made
253 // available to the `code_interpreter“ tool. There can be a maximum of 20 files
254 // associated with the tool.
255 FileIDs []string `json:"file_ids"`
256 // JSON contains metadata for fields, check presence with [respjson.Field.Valid].
257 JSON struct {
258 FileIDs respjson.Field
259 ExtraFields map[string]respjson.Field
260 raw string
261 } `json:"-"`
262}
263
264// Returns the unmodified JSON received from the API
265func (r AssistantToolResourcesCodeInterpreter) RawJSON() string { return r.JSON.raw }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected