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.

Potentially problematic release.


This version of ai might be problematic. Click here for more details.

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
  }