Batching nudges: parallel-calls prompt line, codemode hint, tool-call count

This commit is contained in:
hermes committed 2026-10-12 12:33:52 +00:00
1 parent 8b5d24436f
commit a30b3a3e73
5 files changed
+120 -4

No files matched your search

+6
View File
@@ -793,7 +793,13 @@ async fn main() -> Result<()> {
// snapshot after every other tool (MCP, lens, task); codemode itself is not callable inside
let cm = hx_tools::codemode::Codemode::new(&agent.tools);
agent.tools.add(cm);
agent.append_system(
"\n\nUse `codemode` for 3+ independent reads/searches or to filter large output before it reaches you.",
);
}
agent.bus.add(hx_core::nudge::BatchNudge::new(
cfg.codemode.unwrap_or(false),
));
let specs = command_specs(&mcp, &cwd, &models, &kinds);
trace("ready");
if cli.mode == Mode::Rpc {