deepseek-ai/deepseek-harness · error · LlmError
NO_CREDENTIAL_STORE
NO_CREDENTIAL_STORE
Error message
llm-pi-ai: this composition mounts no credentials service, so there is nowhere to store the credential a sign-in produces; mount one (dsh-credentials-local) to sign in
What it means
Error "llm-pi-ai: this composition mounts no credentials service, so there is nowhere to store the credential a sign-in produces; mount one (dsh-credentials-local) to sign in" thrown in deepseek-ai/deepseek-harness.
Source
Thrown at packages/llm/llm-pi-ai/src/auth.ts:91
}
}
return { kind: 'grant', payload: credential }
}
/**
* The credential service, or the failure that names what is missing. Reads
* answer "nothing stored" without a service, because a composition with no
* credential plane genuinely holds no credential; writes refuse, because a
* login whose grant silently evaporated would report success and then fail
* every request.
* @param ctx - the plugin context.
* @returns the live service.
* @throws {LlmError} code `NO_CREDENTIAL_STORE` when none is mounted.
*/
function writableStore(ctx: Context): CredentialProvider {
const credentials = ctx.get('credentials')
if (credentials === undefined) {
throw new LlmError(
'llm-pi-ai: this composition mounts no credentials service, so there is nowhere to store the'
+ ' credential a sign-in produces; mount one (dsh-credentials-local) to sign in',
'NO_CREDENTIAL_STORE',
)
}
return credentials
}
/**
* A pi-ai `CredentialStore` over the harness credential records.
*
* pi-ai runs OAuth refresh *inside* `modify()`, so this store's exclusion has
* to cover a network round trip rather than a file rename — which is why the
* record write path takes a wait limit of its own rather than the short one a
* local write would need.
*
* pi-ai asks this store about every provider in the collection, hand-declared
* routes included, and a route key is an arbitrary settings dict key while aView on GitHub (pinned to b150a551b8)
Solutions
- Mount a credentials service (dsh-credentials-local) in the composition before signing in.
When it happens
Trigger: Thrown at packages/llm/llm-pi-ai/src/auth.ts:91 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of deepseek-ai/deepseek-harness@b150a551b8 (2026-08-24).
Data as JSON: /api/errors/07231dc899409679.
Report an issue: GitHub.