Mark glob/grep as code blocks (#34628)

Release Notes:

- N/A
This commit is contained in:
Ben Brandt 2025-07-17 17:01:02 +02:00 committed by GitHub
parent 8e4555455c
commit b0eac4267d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -97,10 +97,10 @@ impl ClaudeTool {
}
Self::Write(None) => "Write".into(),
Self::Glob(Some(params)) => {
format!("Glob {params}")
format!("Glob `{params}`")
}
Self::Glob(None) => "Glob".into(),
Self::Grep(Some(params)) => params.to_string(),
Self::Grep(Some(params)) => format!("`{params}`"),
Self::Grep(None) => "Grep".into(),
Self::WebFetch(Some(params)) => format!("Fetch {}", params.url),
Self::WebFetch(None) => "Fetch".into(),