-
Notifications
You must be signed in to change notification settings - Fork 26
Description
Feature Request
Problem
Currently, notifications only support two placeholders: {sessionTitle} and {projectName}. In a single conversation, there can be multiple question/answer interactions (e.g., multiple question events), and users cannot distinguish between them in the notification message.
Proposed Solution
Add a {turn} or {messageCount} placeholder that increments for each notification within a session. This would allow users to see which turn/question triggered the notification.
Example:
[问题] {sessionTitle} (Turn {turn})- Output:
[问题] Fix bug #123 (Turn 1) - Output:
[问题] Fix bug #123 (Turn 2)
Alternative consideration
If implementing a session-based counter is too complex, consider adding {timestamp} placeholder with a simple format like HH:MM:SS to differentiate messages by time.
Use case
Users who integrate notifications with external systems (Telegram, Slack, etc.) need to distinguish between multiple interactions within the same session.