* Loads a local YAML configuration file
( filePath: string, accessToken: string | null, organizationId: string | null, apiClient: DefaultApiInterface, injectBlocks: PackageIdentifier[], )
| 431 | * Loads a local YAML configuration file |
| 432 | */ |
| 433 | async function loadConfigYaml( |
| 434 | filePath: string, |
| 435 | accessToken: string | null, |
| 436 | organizationId: string | null, |
| 437 | apiClient: DefaultApiInterface, |
| 438 | injectBlocks: PackageIdentifier[], |
| 439 | ): Promise<AssistantUnrolled> { |
| 440 | return await unrollAssistantWithConfig( |
| 441 | { fileUri: filePath, uriType: "file" }, |
| 442 | accessToken, |
| 443 | organizationId, |
| 444 | apiClient, |
| 445 | injectBlocks, |
| 446 | ); |
| 447 | } |
| 448 | |
| 449 | /** |
| 450 | * Loads an assistant by slug from the Continue platform |
no test coverage detected