fix: convos correctly delete

This commit is contained in:
Danny Avila 2023-03-07 13:53:23 -05:00
parent 17c01aa252
commit f2b092545f
8 changed files with 28 additions and 19 deletions

View file

@ -12,7 +12,7 @@ const browserClient = async ({ text, progressCallback, convo }) => {
const { ChatGPTBrowserClient } = await import('@waylaidwanderer/chatgpt-api');
const store = {
store: new KeyvFile({ filename: './api/data/cache.json' })
store: new KeyvFile({ filename: './data/cache.json' })
};
const client = new ChatGPTBrowserClient(clientOptions, store);