Commit 059c5684
059c568480adMerged
Scott Nixon <[email protected]> · 7 months ago · 11 files · ~11 modified
Description
fix: address correctness and robustness issues across agent, LLM, and pipeline crates
Wire up loop detection and fidelity mode in AgentSession, add tool_name to ToolResult so Gemini functionResponse uses the correct name, filter out signature-less thinking blocks in the Anthropic provider, replace non-deterministic DefaultHasher with FNV-1a for stable log dirs, persist step_count/total_cost in checkpoints so safety limits survive resume, integrate retry-with-backoff in the engine, fix off-by-one in step limit check, prevent stale preferred_label leaking across nodes, handle loop_restart exit-node edge case, add RequestTimeout to retryable errors, propagate --fresh to batch runs, and document the parallel handler's sequential-only limitation with a runtime warning.
Details
- Commit
- 059c568480ad
- Parent
- 08f317bd2742
crates/attractor-agent/src/fidelity.rsmodifiedView file
} } FidelityMode::Compact | FidelityMode::Summary => { // These would need LLM calls; for now just keep all // These would need LLM calls to summarize; not yet implemented. tracing::warn!( "FidelityMode::{:?} is not yet implemented, using Full mode", mode ); messages.to_vec() } }crates/attractor-agent/src/lib.rsmodifiedView file
Loading diff…
crates/attractor-cli/src/commands/run.rsmodifiedView file
Loading diff…
crates/attractor-cli/src/commands/validate.rsmodifiedView file
Loading diff…
crates/attractor-llm/src/anthropic.rsmodifiedView file
Loading diff…
crates/attractor-llm/src/gemini.rsmodifiedView file
Loading diff…
crates/attractor-llm/src/types.rsmodifiedView file
Loading diff…
crates/attractor-pipeline/src/checkpoint.rsmodifiedView file
Loading diff…
crates/attractor-pipeline/src/engine.rsmodifiedView file
Loading diff…
crates/attractor-pipeline/src/handlers/parallel.rsmodifiedView file
Loading diff…
crates/attractor-types/src/lib.rsmodifiedView file
Loading diff…