Elffuss BraidHub

kikocis/continue public

main · 589 BRawPermalink
1// ProfileHandlers manage the loading of a config, allowing us to abstract over different ways of getting to a ContinueConfig
2
3import { ConfigResult } from "@continuedev/config-yaml";
4import { ContinueConfig } from "../../index.js";
5import { ProfileDescription } from "../ProfileLifecycleManager.js";
6
7// After we have the ContinueConfig, the ConfigHandler takes care of everything else (loading models, lifecycle, etc.)
8export interface IProfileLoader {
9 description: ProfileDescription;
10 doLoadConfig(): Promise<ConfigResult<ContinueConfig>>;
11 setIsActive(isActive: boolean): void;
12}