import { Runs } from "https://deno.land/x/openai@v4.64.0/resources/beta/threads/runs/runs.ts";
import { Runs } from "https://deno.land/x/openai@v4.64.0/resources/beta/threads/runs/runs.ts";
Methods
Cancels a run that is in_progress
.
Create a run.
A helper to create a run an poll for a terminal state. More information on Run lifecycles can be found here: https://platform.openai.com/docs/assistants/how-it-works/runs-and-run-steps
Create a Run stream
A helper to poll a run status until it reaches a terminal state. More information on Run lifecycles can be found here: https://platform.openai.com/docs/assistants/how-it-works/runs-and-run-steps
Retrieves a run.
Create a Run stream
When a run has the status: "requires_action"
and required_action.type
is
submit_tool_outputs
, this endpoint can be used to submit the outputs from the
tool calls once they're all completed. All outputs must be submitted in a single
request.
A helper to submit a tool output to a run and poll for a terminal run state. More information on Run lifecycles can be found here: https://platform.openai.com/docs/assistants/how-it-works/runs-and-run-steps
Submit the tool outputs from a previous run and stream the run to a terminal state. More information on Run lifecycles can be found here: https://platform.openai.com/docs/assistants/how-it-works/runs-and-run-steps