Skip to content

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

chore(presentation): update spec import to tinydocs_bus

Steven Enamakel736994442ab0
diff --git a/crates/openhuman-core/src/tools/impl/presentation/mod.rs b/crates/openhuman-core/src/tools/impl/presentation/mod.rs
index be4d640f11..3bb2af562b 100644
--- a/crates/openhuman-core/src/tools/impl/presentation/mod.rs
+++ b/crates/openhuman-core/src/tools/impl/presentation/mod.rs
@@ -57,7 +57,7 @@ use self::types::{
/// Generation timeout. `ppt-rs` typically completes the full 64-slide
/// cap in well under a second; the 30 s ceiling is a defensive bound
-/// against pathological inputs slipping past `validate_input` and
+/// against pathological inputs slipping past bus spec validation and
/// the worst-case `spawn_blocking` thread-acquisition latency on a
/// saturated runtime.
const GENERATION_TIMEOUT: Duration = Duration::from_secs(30);
diff --git a/crates/openhuman-core/src/tools/impl/presentation/types.rs b/crates/openhuman-core/src/tools/impl/presentation/types.rs
index 7edf6bd491..3cfcfe3821 100644
--- a/crates/openhuman-core/src/tools/impl/presentation/types.rs
+++ b/crates/openhuman-core/src/tools/impl/presentation/types.rs
@@ -7,7 +7,7 @@ use crate::modules::documents::DocumentCallError;
// The size limits are the wire contract's: the tool validates against the same
// numbers the `tinydocs` module enforces, so they are defined once, there.
-pub(super) use crate::tools::implementations::document::format::spec::presentation::{
+pub(super) use tinydocs_bus::spec::presentation::{
MAX_BULLETS_PER_SLIDE, MAX_IMAGES_PER_DECK, MAX_IMAGES_PER_SLIDE, MAX_IMAGE_BYTES, MAX_SLIDES,
MAX_TEXT_CHARS,
};