Revert "LLMAssistantContextAggregator: create a task to run on_context_updated"

This reverts commit 397bae29f7.
This commit is contained in:
Aleix Conchillo Flaqué
2025-03-24 15:40:26 -07:00
parent 397bae29f7
commit f3b50bc3c4
3 changed files with 5 additions and 19 deletions

View File

@@ -369,7 +369,7 @@ class LLMService(AIService):
if tuple_to_remove:
self._function_call_tasks.discard(tuple_to_remove)
# The task is finished so this should exit immediately. We need to
# do this because otherwise the task manager would report a dangling
# do this because otherwise the task manager would have a dangling
# task if we don't remove it.
asyncio.run_coroutine_threadsafe(self.wait_for_task(task), self.get_event_loop())