You've already forked Irene-Voice-Assistant
mirror of
https://github.com/janvarev/Irene-Voice-Assistant.git
synced 2025-12-11 23:17:05 +02:00
добавлена функция replyWasGiven в web-api. Запускает контекстный таймер при настройке contextRemoteWaitForCall = true. Нужно, если вы пользуетесь клиентом с контекстом - чтобы он устанавливался только после проигрывания WAV-файла.
- добавлена опция дефолтового времени сброса контекста
This commit is contained in:
@@ -96,7 +96,7 @@ async def replyWasGiven():
|
|||||||
if core.contextRemoteWaitForCall:
|
if core.contextRemoteWaitForCall:
|
||||||
if core.contextTimer != None:
|
if core.contextTimer != None:
|
||||||
core.contextTimer.start()
|
core.contextTimer.start()
|
||||||
print("run context after webapi call")
|
#print("debug - run context after webapi call")
|
||||||
|
|
||||||
def core_update_timers_http(runReq=True):
|
def core_update_timers_http(runReq=True):
|
||||||
if not is_running:
|
if not is_running:
|
||||||
|
|||||||
Reference in New Issue
Block a user