MCPcopy
hub / github.com/continuedev/continue / loadConfigYaml

Function loadConfigYaml

extensions/cli/src/configLoader.ts:433–447  ·  view source on GitHub ↗

* Loads a local YAML configuration file

(
  filePath: string,
  accessToken: string | null,
  organizationId: string | null,
  apiClient: DefaultApiInterface,
  injectBlocks: PackageIdentifier[],
)

Source from the content-addressed store, hash-verified

431 * Loads a local YAML configuration file
432 */
433async 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

Callers 3

loadFromCliFlagFunction · 0.70
loadFromSavedUriFunction · 0.70
loadLocalConfigYamlFunction · 0.70

Calls 1

Tested by

no test coverage detected