Skip to content

Commit

Permalink
feat: recording prompts
Browse files Browse the repository at this point in the history
  • Loading branch information
idranme committed Jun 5, 2024
1 parent 0f1c140 commit 2930b0d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -523,6 +523,7 @@ export function apply(ctx: Context, config: Config) {
return result
}

logger.debug(`${session.uid}: ${finalPrompt}`)
const messageIds = await session.send(getContent())
if (messageIds.length && config.recallTimeout) {
ctx.setTimeout(() => {
Expand Down

0 comments on commit 2930b0d

Please sign in to comment.