feat(labs): PDF upload, text extraction, LLM draft pipeline
This commit is contained in:
@@ -8,7 +8,7 @@ import { loadOrCreateKey } from "../src/lib/crypto";
|
||||
|
||||
function makeApp() {
|
||||
const dir = mkdtempSync(join(tmpdir(), "helios-"));
|
||||
return createApp({ db: openDb(dir), key: loadOrCreateKey(dir) });
|
||||
return createApp({ db: openDb(dir), key: loadOrCreateKey(dir), dataDir: dir });
|
||||
}
|
||||
const json = (body: unknown) => ({
|
||||
method: "POST",
|
||||
|
||||
Reference in New Issue
Block a user