The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
refactor(progress_tracing): reuse shared observation level attribute key
Steven Enamakelb9ddc0acd2a8
diff --git a/crates/openhuman-core/src/agent/progress_tracing/collector/finish.rs b/crates/openhuman-core/src/agent/progress_tracing/collector/finish.rsindex 10484cdfae..0ff88212ff 100644--- a/crates/openhuman-core/src/agent/progress_tracing/collector/finish.rs+++ b/crates/openhuman-core/src/agent/progress_tracing/collector/finish.rs@@ -14,10 +14,12 @@ use super::state::{SpanCollector, TurnOutcome};/// Metadata key marking a span this collector closed without its completion/// event. Its latency is a bound, not a measurement.pub(crate) const FORCE_CLOSED_ATTR: &str = "force_closed";-/// Intended Langfuse level for spans that are not errors but need attention-/// (a force-closed tool, a cancelled turn). Exported as observation metadata-/// today: the upstream OTLP converter maps only `SpanStatus::Error` to a level.-pub(crate) const LEVEL_ATTR: &str = "observation.level";+/// Span attribute carrying a Langfuse level override: `WARNING` for spans that+/// need attention without being harness failures (a force-closed tool, a+/// cancelled turn, a command that exited non-zero). The OTLP converter exports+/// it as the observation level.+pub(crate) const LEVEL_ATTR: &str =+ tinyagents_harness::observability::trace_export::otlp::OBSERVATION_LEVEL_ATTR;impl SpanCollector {/// Seal every span still open after the stream closes. Idempotent.