donobu
Version:
Create browser automations with an LLM agent and replay them as Playwright scripts.
12 lines • 487 B
TypeScript
import { GptConfig } from '../models/GptConfig';
/**
* Interface for persisting GPT configurations. Implementation of this class can
* assume validation of configurations occurs at an upper layer.
*/
export interface GptConfigsPersistence {
set(name: string, resource: GptConfig): Promise<void>;
get(name: string): Promise<GptConfig>;
getAll(): Promise<Map<string, GptConfig>>;
delete(name: string): Promise<void>;
}
//# sourceMappingURL=GptConfigsPersistence.d.ts.map