Class RunStepsClient
java.lang.Object
io.github.stefanbratanov.jvm.openai.RunStepsClient
Represents the steps (model and tool calls) taken during the run.
Based on Run Steps
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionlistRunSteps
(String threadId, String runId, PaginationQueryParameters paginationQueryParameters) Returns a list of run steps belonging to a run.retrieveRunStep
(String threadId, String runId, String stepId) Retrieves a run step.
-
Method Details
-
listRunSteps
public RunStepsClient.PaginatedThreadRunSteps listRunSteps(String threadId, String runId, PaginationQueryParameters paginationQueryParameters) Returns a list of run steps belonging to a run.- Throws:
OpenAIException
- in case of API errors
-
retrieveRunStep
Retrieves a run step.- Throws:
OpenAIException
- in case of API errors
-