chroma-core/chroma · error · ChromaValueError
Model cannot be updated
Error message
Model cannot be updated
What it means
Error "Model cannot be updated" thrown in chroma-core/chroma.
Source
Thrown at clients/new-js/packages/ai-embeddings/chroma-cloud-splade/src/index.ts:188
client?: ChromaClient,
): ChromaCloudSpladeEmbeddingFunction {
return new ChromaCloudSpladeEmbeddingFunction({
model: config.model,
apiKeyEnvVar: config.api_key_env_var,
client,
});
}
public getConfig(): ChromaCloudSpladeConfig {
return {
model: this.model,
api_key_env_var: this.apiKeyEnvVar,
};
}
public validateConfigUpdate(newConfig: Record<string, any>): void {
if ("model" in newConfig) {
throw new ChromaValueError("Model cannot be updated");
}
}
public static validateConfig(config: ChromaCloudSpladeConfig): void {
validateConfigSchema(config, NAME);
}
}
registerSparseEmbeddingFunction(NAME, ChromaCloudSpladeEmbeddingFunction);
View on GitHub (pinned to aecdd12c8a)
When it happens
Trigger: Thrown at clients/new-js/packages/ai-embeddings/chroma-cloud-splade/src/index.ts:188 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of chroma-core/chroma@aecdd12c8a (2026-08-16).
Data as JSON: /api/errors/7e3704a58d253b6a.
Report an issue: GitHub.