Refactor (3)
This commit is contained in:
1
index.ts
1
index.ts
@@ -93,7 +93,6 @@ await postJobSession.init();
|
|||||||
async function processPostJob() {
|
async function processPostJob() {
|
||||||
const notes = await getNotes(10, 0, 5);
|
const notes = await getNotes(10, 0, 5);
|
||||||
const input = notes.map(formatNote).join("\n");
|
const input = notes.map(formatNote).join("\n");
|
||||||
console.log(`* input:\n${input}`);
|
|
||||||
const text = parseResponse(
|
const text = parseResponse(
|
||||||
grammar,
|
grammar,
|
||||||
await postJobSession.prompt(input, {
|
await postJobSession.prompt(input, {
|
||||||
|
|||||||
Reference in New Issue
Block a user