mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-04-28 22:14:52 -07:00
feat(core): migrate chat recording to JSONL streaming (#23749)
This commit is contained in:
@@ -353,7 +353,9 @@ export class Storage {
|
||||
const chatsDir = path.join(this.getProjectTempDir(), 'chats');
|
||||
try {
|
||||
const files = await fs.promises.readdir(chatsDir);
|
||||
const jsonFiles = files.filter((f) => f.endsWith('.json'));
|
||||
const jsonFiles = files.filter(
|
||||
(f) => f.endsWith('.json') || f.endsWith('.jsonl'),
|
||||
);
|
||||
|
||||
const sessions = await Promise.all(
|
||||
jsonFiles.map(async (file) => {
|
||||
|
||||
Reference in New Issue
Block a user