Skip to content

warnUnappliedConfigurationPath

warnUnappliedConfigurationPath(provider, configuration, path, applied, guidance): void

Defined in: packages/core/src/providers/configurationPassthrough.ts:259

Warn when a path the factory DECLARES it consumes is present in the user’s block but was not in fact applied — the empty string or null a factory’s own guard skips.

findUnusedConfigurationPaths cannot see this and must not: the path genuinely IS consumed, so it is correctly absent from the unused list — and the user’s setting still goes nowhere. “Declared supported, in fact dropped” is the same silence this module exists to end, so it gets its own message: the “no OpenAI client” reason above would be the wrong reason for it.

string

unknown

string

boolean

Whether the factory actually used the value. Pass the result of the SAME expression that decides it ('baseURL' in baseURLOverride), never a second copy of the test — a re-test is exactly how the guard and what the user is told drift apart.

string

void