donobu
Version:
Create browser automations with an LLM agent and replay them as Playwright scripts.
14 lines • 620 B
TypeScript
import { DonobuAgent } from '../../models/DonobuAgentType';
import type { AgentsPersistence } from './AgentsPersistence';
/**
* An agents "persistence" implementation that manages state using an
* in-memory map.
*/
export declare class AgentsPersistenceVolatile implements AgentsPersistence {
private readonly data;
constructor(data?: Map<DonobuAgent, string | null>);
set(agent: DonobuAgent, gptConfigName: string | null): Promise<void>;
get(agent: DonobuAgent): Promise<string | null>;
getAll(): Promise<Map<DonobuAgent, string | null>>;
}
//# sourceMappingURL=AgentsPersistenceVolatile.d.ts.map