Clean up log.group

This commit is contained in:
Colin McDonnell
2025-12-16 18:55:05 -08:00
parent 1bff21f7fb
commit 114c0b5632
5 changed files with 13 additions and 2 deletions
+9
View File
@@ -316,6 +316,15 @@ export const log = {
*/
endGroup,
/**
* Run a callback within a collapsed group
*/
group: (name: string, fn: (log: typeof log) => void): void => {
startGroup(name);
fn(log);
endGroup();
},
/**
* Log tool call information to console with formatted output
*/