Skip to content

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

chore(debug): expose prompt size module and types

Steven Enamakele5a0ffac2109
diff --git a/src/openhuman/agent/debug/mod.rs b/src/openhuman/agent/debug/mod.rs
index fa4095c1d4..a96f154f72 100644
--- a/src/openhuman/agent/debug/mod.rs
+++ b/src/openhuman/agent/debug/mod.rs
@@ -25,7 +25,9 @@ use std::path::PathBuf;
use anyhow::{anyhow, Context, Result};
pub mod dump_writer;
+pub mod prompt_size;
pub use dump_writer::{write_prompt_dumps, DumpWriteSummary};
+pub use prompt_size::{PromptSizeReport, SectionSize, ToolSize};
use crate::openhuman::agent::context::prompt::{
LearnedContextData, PromptContext, PromptTool, ToolCallFormat,