mirror of
https://github.com/QwenLM/qwen-code.git
synced 2025-12-20 08:47:44 +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);
|
const path = this._checkpointPath(tag);
|
||||||
try {
|
try {
|
||||||
await fs.writeFile(path, JSON.stringify(conversation, null), 'utf-8');
|
await fs.writeFile(path, JSON.stringify(conversation, null, 2), 'utf-8');
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.error('Error writing to checkpoint file:', error);
|
console.error('Error writing to checkpoint file:', error);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user