Commit e582c33
fix: stop voice thread accumulation across REPL turns
The voice listener was being stopped/started on every agent run,
creating a new thread each time. This caused threads to accumulate
across turns, especially after each final_answer.
Fix: remove the stop/start around agent.run(). The voice listener
now runs continuously; stale audio captured during agent execution
is already discarded by the existing queue drain in get_input().
Model: claude-sonnet-4.6
Co-Authored-By: bpsa2 <241537330+bpsa2@users.noreply.github.com>1 parent 83ed33b commit e582c33
1 file changed
Lines changed: 0 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2088 | 2088 | | |
2089 | 2089 | | |
2090 | 2090 | | |
2091 | | - | |
2092 | | - | |
2093 | 2091 | | |
2094 | 2092 | | |
2095 | 2093 | | |
| |||
2102 | 2100 | | |
2103 | 2101 | | |
2104 | 2102 | | |
2105 | | - | |
2106 | | - | |
2107 | 2103 | | |
2108 | 2104 | | |
2109 | 2105 | | |
| |||
2136 | 2132 | | |
2137 | 2133 | | |
2138 | 2134 | | |
2139 | | - | |
2140 | | - | |
2141 | 2135 | | |
2142 | 2136 | | |
2143 | 2137 | | |
2144 | | - | |
2145 | | - | |
2146 | 2138 | | |
2147 | 2139 | | |
2148 | 2140 | | |
| |||
0 commit comments