Skip to content

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

fix(mcp): handle missing resource URI in resource template response

Steven Enamakelaafab3da9368
diff --git a/crates/openhuman-core/src/mcp/server/resources.rs b/crates/openhuman-core/src/mcp/server/resources.rs
index 3977a22327..a364806a7f 100644
--- a/crates/openhuman-core/src/mcp/server/resources.rs
+++ b/crates/openhuman-core/src/mcp/server/resources.rs
@@ -166,8 +166,8 @@ const RESOURCE_CATALOG: &[PromptResource] = &[
PromptResource {
uri: "openhuman://prompts/agents/summarizer",
name: "summarizer",
- description: "Worker that condenses long documents or conversations.",
- content: include_str!("../../agent/registry/agents/summarizer/prompt.md"),
+ description: "The extraction contract oversized tool results are summarized against.",
+ content: crate::agent::registry::agents::summarizer::prompt::ARCHETYPE,
},
PromptResource {
uri: "openhuman://prompts/agents/help",