We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8e7b195 commit 6e66c87Copy full SHA for 6e66c87
pipeline/100_chat.mjs
@@ -41,7 +41,7 @@ const action = async (ctx, next) => {
41
await ctx.audio(audio.data, { caption: audio.caption });
42
}
43
// print(resp);
44
- await ctx.timeout();
+ await ctx.timeout(1000 * ctx._.done.length);
45
await (resp.text.trim() ? ok({ processing: false })
46
: ctx.deleteMessage(ctx._.done[0].message_id));
47
ctx._.request = resp.request;
0 commit comments