Commit 50d0ffe
authored
## Summary
Resolves #1661
- merge run and initial realtime session settings when constructing a
session
- reuse the merged base when recomputing settings so the active voice is
preserved on handoffs or agent updates
- add a regression test that ensures the initial voice and output audio
format remain intact when refreshing session settings
## Testing
- make format
- make lint
- make mypy *(fails: optional dependencies numpy, sqlalchemy, and
litellm are not installed in the test environment)*
- make tests *(fails: optional dependencies numpy and litellm are not
installed in the test environment)*
1 parent dd0b65c commit 50d0ffe
File tree
2 files changed
+49
-3
lines changed- src/agents/realtime
- tests/realtime
2 files changed
+49
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
98 | 104 | | |
99 | 105 | | |
100 | 106 | | |
| |||
619 | 625 | | |
620 | 626 | | |
621 | 627 | | |
622 | | - | |
623 | | - | |
624 | | - | |
| 628 | + | |
| 629 | + | |
625 | 630 | | |
626 | 631 | | |
627 | 632 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1606 | 1606 | | |
1607 | 1607 | | |
1608 | 1608 | | |
| 1609 | + | |
| 1610 | + | |
| 1611 | + | |
| 1612 | + | |
| 1613 | + | |
| 1614 | + | |
| 1615 | + | |
| 1616 | + | |
| 1617 | + | |
| 1618 | + | |
| 1619 | + | |
| 1620 | + | |
| 1621 | + | |
| 1622 | + | |
| 1623 | + | |
| 1624 | + | |
| 1625 | + | |
| 1626 | + | |
| 1627 | + | |
| 1628 | + | |
| 1629 | + | |
| 1630 | + | |
| 1631 | + | |
| 1632 | + | |
| 1633 | + | |
| 1634 | + | |
| 1635 | + | |
| 1636 | + | |
| 1637 | + | |
| 1638 | + | |
| 1639 | + | |
| 1640 | + | |
| 1641 | + | |
| 1642 | + | |
| 1643 | + | |
| 1644 | + | |
| 1645 | + | |
| 1646 | + | |
| 1647 | + | |
| 1648 | + | |
| 1649 | + | |
1609 | 1650 | | |
1610 | 1651 | | |
1611 | 1652 | | |
| |||
0 commit comments