Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

fix(modules): report source for all supported module states

Steven Enamakelebcefa1b349e
diff --git a/crates/openhuman-core/src/modules/ops.rs b/crates/openhuman-core/src/modules/ops.rs
index 4c41fa77a7..b95390e897 100644
--- a/crates/openhuman-core/src/modules/ops.rs
+++ b/crates/openhuman-core/src/modules/ops.rs
@@ -537,8 +537,7 @@ fn status_of(config: &Config, record: &ModuleRecord) -> ModuleStatus {
},
};
let plan = source::plan(config, record.id);
- let source = (state == ModuleState::Ready || state == ModuleState::Available)
- .then_some(plan.served);
+ let source = (state != ModuleState::Unsupported).then_some(plan.served);
let detail = detail.or_else(|| plan.fallback.map(str::to_string));
ModuleStatus {
id: record.id.to_string(),