zeroclaw-labs/zeroclaw · error
{path} must be a finite number in 0.0..=1.0 (got {value})
Error message
{path} must be a finite number in 0.0..=1.0 (got {value}) What it means
Error "{path} must be a finite number in 0.0..=1.0 (got {value})" thrown in zeroclaw-labs/zeroclaw.
Source
Thrown at crates/zeroclaw-config/src/schema.rs:11566
0.85
}
fn validate_memory_rerank_config(memory: &MemoryConfig) -> Result<()> {
if !(1..=MAX_MEMORY_RERANK_CANDIDATE_MULTIPLIER).contains(&memory.candidate_multiplier) {
anyhow::bail!(
"memory.candidate_multiplier must be in 1..={MAX_MEMORY_RERANK_CANDIDATE_MULTIPLIER} (got {})",
memory.candidate_multiplier
);
}
for (path, value) in [
("memory.min_relevance_score", memory.min_relevance_score),
("memory.mmr_lambda", memory.mmr_lambda),
("memory.importance_weight", memory.importance_weight),
("memory.recency_weight", memory.recency_weight),
] {
if !value.is_finite() || !(0.0..=1.0).contains(&value) {
anyhow::bail!("{path} must be a finite number in 0.0..=1.0 (got {value})");
}
}
Ok(())
}
fn default_namespace() -> String {
"default".into()
}
fn default_conflict_threshold() -> f64 {
0.85
}
fn default_conflict_supersede_enabled() -> bool {
true
}
fn default_dedup_jaccard_threshold() -> f64 {
0.80
}
fn default_pin_min_importance() -> f64 {View on GitHub (pinned to 88bb9c8533)
Solutions
- Set the field to a finite number between 0.0 and 1.0.
When it happens
Trigger: Thrown at crates/zeroclaw-config/src/schema.rs:11566 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of zeroclaw-labs/zeroclaw@88bb9c8533 (2026-08-23).
Data as JSON: /api/errors/0b2202a23cabde42.
Report an issue: GitHub.