Skip to content

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

fix(agent): handle missing announcement notes gracefully

Steven Enamakel3e7b03bca3ec
diff --git a/crates/openhuman-core/src/agent/session_host/announcement_notes.rs b/crates/openhuman-core/src/agent/session_host/announcement_notes.rs
index 36db9893df..fdb7e32667 100644
--- a/crates/openhuman-core/src/agent/session_host/announcement_notes.rs
+++ b/crates/openhuman-core/src/agent/session_host/announcement_notes.rs
@@ -22,14 +22,14 @@ pub(super) fn integration_announcement_note(slugs: &[String]) -> Option<String>
pub(super) fn mcp_announcement_note(servers: &[String]) -> Option<String> {
(!servers.is_empty()).then(|| format!(
- "[MCP update] These MCP server(s) connected during this conversation and are available now via the use_mcp_server delegate: {}. {ANNOUNCEMENT_TRAILER}",
+ "[MCP update] These MCP server(s) connected during this conversation and are available now; their tools are reachable through tool_search: {}. {ANNOUNCEMENT_TRAILER}",
servers.join(", ")
))
}
pub(super) fn skill_announcement_note(skill_ids: &[String]) -> Option<String> {
(!skill_ids.is_empty()).then(|| format!(
- "[skills update] These skill(s) were installed during this conversation and are available now in your `## Installed Skills` list via `run_skill`: {}. {ANNOUNCEMENT_TRAILER}",
+ "[skills update] These skill(s) were installed during this conversation and are available now in your `## Installed Skills` list via `run_workflow`: {}. {ANNOUNCEMENT_TRAILER}",
skill_ids.join(", ")
))
}