coleam00/Archon · error

Invalid run config at '${path}': unknown provider '${provide

Error message

Invalid run config at '${path}': unknown provider '${provider}'.${available ? ` Available: ${available}.` : ' No providers are registered.'}

What it means

Error "Invalid run config at '${path}': unknown provider '${provider}'.${available ? ` Available: ${available}.` : ' No providers are registered.'}" thrown in coleam00/Archon.

Source

Thrown at packages/core/src/config/run-config.ts:91

} as const satisfies Record<ConfigKey, KeyClassification>;

function isRecord(value: unknown): value is Record<string, unknown> {
  return value !== null && typeof value === 'object' && !Array.isArray(value);
}

function validationError(error: { issues: { path: PropertyKey[]; message: string }[] }): Error {
  const issue = error.issues[0];
  const path = issue?.path.length ? issue.path.map(String).join('.') : 'document';
  return new Error(`Invalid run config at '${path}': ${issue?.message ?? 'invalid value'}`);
}

function assertRegisteredProvider(provider: string, path: string): void {
  if (isRegisteredProvider(provider)) return;
  const available = getRegisteredProviders()
    .map(entry => entry.id)
    .sort()
    .join(', ');
  throw new Error(
    `Invalid run config at '${path}': unknown provider '${provider}'.` +
      (available ? ` Available: ${available}.` : ' No providers are registered.')
  );
}

function normalizePreset(path: string, preset: ModelAliasPreset): ModelAliasPreset {
  try {
    return normalizeStrictRunModelPreset(preset);
  } catch (error) {
    if (!(error instanceof RunModelPresetValidationError)) throw error;
    const issuePath = `${path}.${error.issue.field}`;
    if (error.issue.kind === 'unknown-provider') {
      const available = getRegisteredProviders()
        .map(entry => entry.id)
        .sort()
        .join(', ');
      throw new Error(
        `Invalid run config at '${issuePath}': unknown provider '${error.issue.provider}'.` +

View on GitHub (pinned to 0773b97458)

When it happens

Trigger: Thrown at packages/core/src/config/run-config.ts:91 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of coleam00/Archon@0773b97458 (2026-09-01). Data as JSON: /api/errors/4896fa9ec3079c41. Report an issue: GitHub.