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 03d7b3b commit 5e02302Copy full SHA for 5e02302
1 file changed
pipeline/100_chat.mjs
@@ -70,6 +70,7 @@ const action = async (ctx, next) => {
70
let lastMsg;
71
if (resp.text.trim()) {
72
lastMsg = await ok({ processing: false });
73
+ lastMsg = lastMsg[lastMsg.length - 1];
74
} else {
75
await ctx.deleteMessage(ctx._.done[0].message_id);
76
}
@@ -82,6 +83,7 @@ const action = async (ctx, next) => {
82
83
// 2: adding ctx.append feature
84
// 3: Consider the layout for small screens, such as the footer and other elements.
85
// 4: using webjam config instead of hardcoding the url
86
+ // 5: Add the following links only when web functionality is enabled.
87
await ctx.edit(lastMsg.message_id,
88
lastMsg.raw
89
+ `\n\n\-\-\-\n\n✨ [View in well-formatted page](https://hal.leaskh.com/turns/${ctx._.token}).`
0 commit comments