LLMService: add on_function_calls_started event

This commit is contained in:
Aleix Conchillo Flaqué
2025-05-30 09:18:01 -07:00
parent 40b52cadde
commit f0cbdc4e68
2 changed files with 24 additions and 1 deletions

View File

@@ -9,6 +9,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Added
- Added LLM services `on_function_calls_started` event. This event will be
triggered when the LLM service receives function calls from the model and is
going to start executing them.
- Function calls can now be executed sequentially (in the order received in the
completion) by passing `run_in_parallel=False` when creating your LLM
service. By default, if the LLM completion returns 2 or more function calls