Skip to content

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

feat(skills): add support for new skill types

Steven Enamakelc198b01f97ca
diff --git a/src/openhuman/skills/types.rs b/src/openhuman/skills/types.rs
index e813c4c6e7..b39d7aa025 100644
--- a/src/openhuman/skills/types.rs
+++ b/src/openhuman/skills/types.rs
@@ -2,6 +2,15 @@
use serde::{Deserialize, Serialize};
+/// Serialized-size ceiling for a pass-through MCP content block before it
+/// reaches a model prompt.
+///
+/// A block kind this build does not model is carried through as JSON rather
+/// than dropped, and the generic payload of such a block can be a base64 image
+/// or audio — megabytes. Above this ceiling the payload is elided, keeping the
+/// block type but not the bytes.
+const MAX_LLM_BLOCK_BYTES: usize = 64 * 1024;
+
/// Result of executing a tool, containing content blocks and error status.
#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct ToolResult {