diff --git a/changelog/3571.added.2.md b/changelog/3571.added.2.md new file mode 100644 index 000000000..f9af8dde0 --- /dev/null +++ b/changelog/3571.added.2.md @@ -0,0 +1 @@ +- Added `function_call_timeout_secs` parameter to `LLMService` to configure timeout for deferred function calls (defaults to 10.0 seconds). diff --git a/changelog/3571.added.md b/changelog/3571.added.md new file mode 100644 index 000000000..927bbcbc4 --- /dev/null +++ b/changelog/3571.added.md @@ -0,0 +1 @@ +- Added `result_callback` parameter to `UserImageRequestFrame` to support deferred function call results. diff --git a/changelog/3571.changed.md b/changelog/3571.changed.md new file mode 100644 index 000000000..eb44cae0a --- /dev/null +++ b/changelog/3571.changed.md @@ -0,0 +1,4 @@ +- ⚠️ Changed function call handling to use timeout-based completion instead of immediate callback execution. + - Function calls that defer their results (e.g., `UserImageRequestFrame`) now use a timeout mechanism + - The `result_callback` is invoked automatically when the deferred operation completes or after timeout + - This change affects examples using `UserImageRequestFrame` - the `result_callback` should now be passed to the frame instead of being called immediately