feat(acp): add GOOSE_DISABLE_TOOL_CALL_SUMMARY to opt out of per-tool-call summaries (#8947)

Signed-off-by: ocervinka <cervinka@gmail.com>
Signed-off-by: Douwe Osinga <douwe@squareup.com>
Co-authored-by: Douwe Osinga <douwe@squareup.com>
This commit is contained in:
Ondrej Cervinka
2026-05-12 21:32:31 +01:00
committed by GitHub
parent 69f591322b
commit 9ff0825b1d
3 changed files with 9 additions and 0 deletions
+7
View File
@@ -1674,6 +1674,13 @@ impl GooseAcpAgent {
SessionUpdate::ToolCall(initial_tool_call),
))?;
if Config::global()
.get_goose_disable_tool_call_summary()
.unwrap_or(false)
{
return Ok(());
}
if let Ok(tool_call) = &tool_request.tool_call {
let agent = match &session.agent {
AgentHandle::Ready(a) => a.clone(),