mirror of
https://github.com/dograh-hq/dograh.git
synced 2026-06-22 08:38:13 +02:00
add transfer call tool editor
This commit is contained in:
parent
f77a2afca6
commit
97a44f00ff
6 changed files with 229 additions and 29 deletions
|
|
@ -279,7 +279,9 @@ class CustomToolManager:
|
|||
|
||||
# Wait for the audio to play or until stopped
|
||||
try:
|
||||
await asyncio.wait_for(stop_event.wait(), timeout=duration_secs)
|
||||
await asyncio.wait_for(
|
||||
stop_event.wait(), timeout=duration_secs + 1.5
|
||||
)
|
||||
break # Stop event was set
|
||||
except asyncio.TimeoutError:
|
||||
pass # Continue looping
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue