Repository navigation
Conversation
A Twilio ConversationRelay call now keeps the lines the relay says by itself (fillers, idle prompts, the idle goodbye, the apology of a failed turn, a line said again after a cut-in) in the history, labeled in message_label. They show under the agent's name, so a line said again looked like a duplicate reply and an idle prompt like the agent's own. The conversation page now tags each with what it was (Filler, Idle prompt, Idle goodbye, Apology, Said again), with a tooltip saying it was said by the relay and kept as a record of what the caller heard. Other labels are left alone. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Qodo reviews are paused for this user.Troubleshooting steps vary by plan Learn more → On a Teams plan? Using GitHub Enterprise Server, GitLab Self-Managed, or Bitbucket Data Center? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
With SciSharp/BotSharp#1491, a Twilio ConversationRelay call keeps the lines the relay says on its own in the conversation history, so the history shows what the caller heard. These lines are fillers, idle prompts, the goodbye before an idle hang-up, the apology for a failed turn, and a line said again after a cut-in. Each is labeled in
message_label, for exampletwilio_relay_idle_prompt.On the conversation page they appear under the agent's name like any other reply. A line said again looks like a duplicate reply, and an idle prompt such as "Are you still there?" looks like something the agent decided to say.
Change
conv-dialogs.svelteshows a small tag after the time on these lines: Filler, Idle prompt, Idle goodbye, Apology or Said again. A tooltip explains that the relay said the line on its own and it is kept as a record of what the caller heard.message_labelis ignored.en.jsonandzh.json.Testing
Checked locally with
vite dev, signed in as an admin user, against a onebrain backend running BotSharp#1491 and simulated relay calls. On the conversation page:svelte-checkand a production build were not run.🤖 Generated with Claude Code