mirror of
https://github.com/QwenLM/qwen-code.git
synced 2025-12-19 09:33:53 +00:00
Co-authored-by: Jacob Richman <jacob314@gmail.com>
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user