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:
@@ -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(),
|
||||
|
||||
@@ -1027,6 +1027,7 @@ config_value!(GOOSE_PROMPT_EDITOR, Option<String>);
|
||||
config_value!(GOOSE_PROMPT_EDITOR_ALWAYS, Option<bool>);
|
||||
config_value!(GOOSE_MAX_ACTIVE_AGENTS, usize);
|
||||
config_value!(GOOSE_DISABLE_SESSION_NAMING, bool);
|
||||
config_value!(GOOSE_DISABLE_TOOL_CALL_SUMMARY, bool);
|
||||
config_value!(GEMINI3_THINKING_LEVEL, String);
|
||||
config_value!(CLAUDE_THINKING_TYPE, String);
|
||||
config_value!(CLAUDE_THINKING_EFFORT, String);
|
||||
|
||||
Reference in New Issue
Block a user