diff options
| author | Billy Biggs <[email protected]> | 2025-06-27 06:39:27 -0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-06-27 13:39:27 +0000 |
| commit | 582b4861a98912bbfc2bd8c360a6a8e1f0ba17bf (patch) | |
| tree | 6240f37f0aceacb8e01810b66f68cfcb7f596527 /packages/core/src | |
| parent | a943cee45d9e6088a7e84acc9e6d98e8d4f504b1 (diff) | |
Use 2-space indent for saved checkpoint files (#1152) (#1977)
Co-authored-by: Jacob Richman <[email protected]>
Diffstat (limited to 'packages/core/src')
| -rw-r--r-- | packages/core/src/core/logger.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/core/src/core/logger.ts b/packages/core/src/core/logger.ts index 4aeac542..e4ca659d 100644 --- a/packages/core/src/core/logger.ts +++ b/packages/core/src/core/logger.ts @@ -253,7 +253,7 @@ export class Logger { } const path = this._checkpointPath(tag); try { - await fs.writeFile(path, JSON.stringify(conversation, null), 'utf-8'); + await fs.writeFile(path, JSON.stringify(conversation, null, 2), 'utf-8'); } catch (error) { console.error('Error writing to checkpoint file:', error); } |
