Skip to content

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

fix(cli): use installed config for dump-prompt

Steven Enamakele6ee12dc454e
diff --git a/src/core/agent_cli.rs b/src/core/agent_cli.rs
index c9a91dc14d..953e1023e5 100644
--- a/src/core/agent_cli.rs
+++ b/src/core/agent_cli.rs
@@ -468,6 +468,11 @@ fn run_dump_prompt(args: &[String]) -> Result<()> {
agent_id: agent,
toolkit: flags.toolkit.clone(),
workspace_dir_override: flags.workspace.clone(),
+ // `dump-prompt` deliberately keeps reading the real install: its job is
+ // to show what the signed-in user's agent actually receives, including
+ // their connected integrations. `prompt-size --hermetic` is the one
+ // that needs reproducibility.
+ config_path_override: None,
model_override: flags.model.clone(),
};