import { ChatGPTCLI, init } from "../index"; import * as assert from "assert"; describe("AssistantService", () => { let cli: ChatGPTCLI; beforeEach(async () => { cli = await init(); }); test("should ask question", async (t) => { const result = await cli.cba.assistant.askQuestion("1+1=?"); assert(result !== null); }, 30e3); });