Commit 54dd2ee
committed
fix(voice): return agent reply items for remote run_input
handleRunInput routed run_input through the registered text-input
callback, which is fire-and-forget (interrupt + generateReply) and
never surfaces the resulting chat items, so the remote driver always
received empty responses even though the agent replied. Drive the
reply through session.run() directly and capture result.events,
mirroring the Python SessionHost. Remove the now-unused
SessionHost.registerTextInput; participant text input is handled by
RoomIO itself.1 parent b37c37b commit 54dd2ee
2 files changed
Lines changed: 25 additions & 35 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
| 84 | + | |
90 | 85 | | |
91 | 86 | | |
92 | 87 | | |
| |||
537 | 532 | | |
538 | 533 | | |
539 | 534 | | |
540 | | - | |
541 | | - | |
542 | | - | |
543 | | - | |
544 | | - | |
545 | 535 | | |
546 | 536 | | |
547 | 537 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
626 | 626 | | |
627 | 627 | | |
628 | 628 | | |
629 | | - | |
630 | 629 | | |
631 | 630 | | |
632 | 631 | | |
| |||
654 | 653 | | |
655 | 654 | | |
656 | 655 | | |
657 | | - | |
658 | | - | |
659 | | - | |
660 | | - | |
661 | 656 | | |
662 | 657 | | |
663 | 658 | | |
| |||
991 | 986 | | |
992 | 987 | | |
993 | 988 | | |
994 | | - | |
995 | | - | |
996 | | - | |
997 | | - | |
998 | | - | |
999 | | - | |
1000 | | - | |
1001 | | - | |
1002 | | - | |
1003 | | - | |
1004 | | - | |
1005 | | - | |
| 989 | + | |
| 990 | + | |
| 991 | + | |
| 992 | + | |
| 993 | + | |
| 994 | + | |
| 995 | + | |
| 996 | + | |
| 997 | + | |
| 998 | + | |
| 999 | + | |
| 1000 | + | |
| 1001 | + | |
| 1002 | + | |
1006 | 1003 | | |
1007 | | - | |
1008 | | - | |
1009 | | - | |
1010 | | - | |
1011 | | - | |
1012 | | - | |
1013 | | - | |
| 1004 | + | |
| 1005 | + | |
| 1006 | + | |
| 1007 | + | |
| 1008 | + | |
| 1009 | + | |
| 1010 | + | |
| 1011 | + | |
| 1012 | + | |
| 1013 | + | |
1014 | 1014 | | |
1015 | 1015 | | |
1016 | 1016 | | |
| |||
0 commit comments