LLMService: cancel function calls on interruptions by default

This commit is contained in:
Aleix Conchillo Flaqué
2025-04-28 14:12:26 -07:00
parent 1eb50ad88f
commit 4809684a13
2 changed files with 7 additions and 1 deletions

View File

@@ -181,7 +181,7 @@ class LLMService(AIService):
handler: Any,
start_callback=None,
*,
cancel_on_interruption: bool = False,
cancel_on_interruption: bool = True,
):
# Registering a function with the function_name set to None will run
# that handler for all functions