| 249 | } |
| 250 | |
| 251 | type 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 |
| 265 | func (r AssistantToolResourcesCodeInterpreter) RawJSON() string { return r.JSON.raw } |
nothing calls this directly
no outgoing calls
no test coverage detected