diff --git a/lib/response.js b/lib/response.js index 43e98bb..4a0c8b3 100644 --- a/lib/response.js +++ b/lib/response.js @@ -2,15 +2,7 @@ /** @type {import('..').CreateAckEventInterface} */ export function createAckEvent() { - const data = { - choices: [ - { - index: 0, - delta: { content: ``, role: "assistant" }, - }, - ], - }; - return `data: ${JSON.stringify(data)}\n\n`; + return createTextEvent(""); } /** @type {import('..').CreateTextEventInterface} */