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