chore: first commit

This commit is contained in:
Han Xiao 2025-02-03 16:30:04 +08:00
parent 090e61591d
commit 2e83ae11ae

View File

@ -645,7 +645,7 @@ async function storeContext(prompt: string, memory: any[][], step: number) {
await fs.writeFile(`prompt-${step}.txt`, prompt);
const [context, keywords, questions, knowledge] = memory;
await fs.writeFile('context.json', JSON.stringify(context, null, 2));
await fs.writeFile('keywords.json', JSON.stringify(keywords, null, 2));
await fs.writeFile('queries.json', JSON.stringify(keywords, null, 2));
await fs.writeFile('questions.json', JSON.stringify(questions, null, 2));
await fs.writeFile('knowledge.json', JSON.stringify(knowledge, null, 2));
} catch (error) {