Skip to content

Commit 87c8d3f

Browse files
committed
fix duplicate message
1 parent a025f96 commit 87c8d3f

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

packages/worker/src/worker.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,6 @@ export default {
141141
}
142142
if ('response' in response) {
143143
if (response.response) {
144-
await bot.reply(await markdown_to_html(response.response ?? ''), 'HTML');
145144
await env.DB.prepare('INSERT INTO Messages (id, userId, content) VALUES (?, ?, ?)')
146145
.bind(crypto.randomUUID(), bot.update.message?.from.id, `'[INST] ${prompt} [/INST] \n ${response.response}`)
147146
.run();

0 commit comments

Comments
 (0)