diff --git a/clients/ai-assistants-v1/sdk/runSdk.ts b/clients/ai-assistants-v1/sdk/runSdk.ts index 54b6be96..2e326aa4 100644 --- a/clients/ai-assistants-v1/sdk/runSdk.ts +++ b/clients/ai-assistants-v1/sdk/runSdk.ts @@ -25,22 +25,6 @@ export type ListenRunProps = TypeFromProtoc; type RunClientType = Client; -export const runWithSdk = >( - session: SessionArg, - run: T, - { - runSdk = initRunSdk(session), - }: { - runSdk?: RunSdk; - }, -) => { - const listen = (params: Omit, args?: ClientCallArgs & CallOptions) => { - return runSdk.listen({ ...params, runId: run.id }, args); - }; - - return Object.assign(run, { listen }); -}; - export class RunWithSdk { private runSdk: RunSdk; private run: Run;