Fixed an issue that start_callback was not invoked for some LLM services.

This commit is contained in:
Filipi Fuchter
2025-02-19 18:04:20 -03:00
parent c948754eff
commit 7e7926059c
4 changed files with 11 additions and 2 deletions

View File

@@ -175,6 +175,7 @@ class LLMService(AIService):
f = self._callbacks[None]
else:
return None
await self.call_start_function(context, function_name)
await context.call_function(
f,
function_name=function_name,