ai 4.0.2 → 4.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +18 -0
- package/dist/index.d.mts +5 -1
- package/dist/index.d.ts +5 -1
- package/dist/index.js +3 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +7 -7
package/dist/index.mjs
CHANGED
@@ -4976,6 +4976,9 @@ function createCallbacksTransformer(callbacks = {}) {
|
|
4976
4976
|
if (callbacks.onCompletion) {
|
4977
4977
|
await callbacks.onCompletion(aggregatedResponse);
|
4978
4978
|
}
|
4979
|
+
if (callbacks.onFinal) {
|
4980
|
+
await callbacks.onFinal(aggregatedResponse);
|
4981
|
+
}
|
4979
4982
|
}
|
4980
4983
|
});
|
4981
4984
|
}
|