Co-authored-by: Jacob Richman <jacob314@gmail.com>
This commit is contained in:
parent
a943cee45d
commit
582b4861a9
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue