UNPKG

donobu

Version:

Create browser automations with an LLM agent and replay them as Playwright scripts.

18 lines 720 B
import { Request, Response } from 'express'; import { GptConfigsManager } from '../managers/GptConfigsManager'; import { AgentsManager } from '../managers/AgentsManager'; /** * This API is a lightweight wrapper for a GPT client. */ export declare class AskAiApi { private readonly gptConfigsManager; private readonly agentsManager; constructor(gptConfigsManager: GptConfigsManager, agentsManager: AgentsManager); ask(req: Request, res: Response): Promise<void>; /** * If specified, attempts to load the given GPT config by name, otherwise, * attempts to load the GPT configuration for the 'flow-runner' agent. */ private resolveGptConfig; } //# sourceMappingURL=AskAiApi.d.ts.map