RunClient class

Constructors

RunClient({required ThreadsClient threadClient, required dynamic apiKey})

Properties

apiKey → dynamic
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
threadClient ThreadsClient
final

Methods

cancel(dynamic threadID, dynamic runID) Future<RunResponse?>
CANCEL A RUN
create(String assistantId, String threadId) Future<RunResponse?>
CREATE A RUN TO EXECUTE THE ASSISTANT
createThreadAndRun(CreateThreadAndRun threadData) Future<ThreadAndRunResponse?>
CREATE A RUN TO EXECUTE THE ASSISTANT
list(dynamic threadID, String order, {String? after, String? before, int? limit = 20}) Future<RunListModel?>
LIST A THREAD
modify(RunModifyDataModel threadsData) Future<RunResponse?>
MODIFY A RUN
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
retrieve(dynamic threadID, dynamic runID) Future<RunResponse?>
RETRIEVE A RUN BY ID
submitToolOutput(ToolInputData toolData) Future<RunToolOutputModel?>
PARSE RUN TOOL OUTPUT MODEL
toString() String
A string representation of this object.
inherited

Operators

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