import { Threads } from "https://deno.land/x/openai@v4.52.3/resources/beta/threads/mod.ts";
A helper to create a thread, start a run and then 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
Returns
Promise<Threads.Run>