Skip to content

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

fix(assistant-ui): correct source element rendering in all contexts

Steven Enamakel541de2b5acd6
diff --git a/app/src/components/assistant-ui/elements/sources.aui.tsx b/app/src/components/assistant-ui/elements/sources.aui.tsx
index b1cfd20c83..7a0bdd857e 100644
--- a/app/src/components/assistant-ui/elements/sources.aui.tsx
+++ b/app/src/components/assistant-ui/elements/sources.aui.tsx
@@ -187,4 +187,4 @@ Sources.Root = Source;
Sources.Icon = SourceIcon;
Sources.Title = SourceTitle;
-export { Sources, Source, SourceIcon, SourceTitle, sourceVariants };
+export { Sources, Source, SourceIcon, SourceTitle, DocumentSourceIcon, sourceVariants };
diff --git a/crates/openhuman-core/src/core/all.rs b/crates/openhuman-core/src/core/all.rs
index af8c5ff059..7dc65bab2b 100644
--- a/crates/openhuman-core/src/core/all.rs
+++ b/crates/openhuman-core/src/core/all.rs
@@ -677,6 +677,12 @@ fn build_registered_controllers() -> Vec<GroupedController> {
DomainGroup::Agent,
crate::agent::plan_review::all_plan_review_registered_controllers(),
);
+ // Per-thread Plan/Build run mode (agent.set_run_mode / agent.get_run_mode)
+ push(
+ &mut controllers,
+ DomainGroup::Agent,
+ crate::agent::tinyagents::run_mode::all_registered_controllers(),
+ );
// Agent-generated artifact storage, retrieval, and lifecycle management
push(
&mut controllers,