donobu
Version:
Create browser automations with an LLM agent and replay them as Playwright scripts.
12 lines • 528 B
TypeScript
import { DonobuAgent } from '../models/DonobuAgentType';
/**
* Interface for persisting a mapping between a particular agent type and GPT
* configuration names. Implementation of this class can assume validation of
* mappings occurs at an upper layer.
*/
export interface AgentsPersistence {
set(agent: DonobuAgent, gptConfigName: string | null): Promise<void>;
get(agent: DonobuAgent): Promise<string | null>;
getAll(): Promise<Map<DonobuAgent, string | null>>;
}
//# sourceMappingURL=AgentsPersistence.d.ts.map