CodeInterpreterStepCall class

A code interpreter tool call.

Implemented types
Annotations
  • @immutable

Constructors

CodeInterpreterStepCall({required String id, required String input, required List<CodeInterpreterOutput> outputs})
Creates a CodeInterpreterStepCall.
const
CodeInterpreterStepCall.fromJson(Map<String, dynamic> json)
Creates a CodeInterpreterStepCall from JSON.
factory

Properties

hashCode int
The hash code for this object.
no setteroverride
id String
The tool call ID.
final
input String
The input code.
final
outputs List<CodeInterpreterOutput>
The outputs.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type String
The type of tool call.
no setteroverride

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Converts to JSON.
override
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
override