@umituz/react-native-ai-pruna-provider 1.0.66 → 1.0.68
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@umituz/react-native-ai-pruna-provider",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.68",
|
|
4
4
|
"description": "Pruna AI provider for React Native - implements IAIProvider interface for unified AI generation",
|
|
5
5
|
"main": "./src/index.ts",
|
|
6
6
|
"types": "./src/index.ts",
|
|
@@ -306,6 +306,12 @@ export class PrunaProvider implements IAIProvider {
|
|
|
306
306
|
this.lastRequestKey = null;
|
|
307
307
|
}
|
|
308
308
|
}
|
|
309
|
+
|
|
310
|
+
reset(): void {
|
|
311
|
+
// Cancel all active requests and clear internal state
|
|
312
|
+
cancelAllRequests();
|
|
313
|
+
this.lastRequestKey = null;
|
|
314
|
+
}
|
|
309
315
|
}
|
|
310
316
|
|
|
311
317
|
export const prunaProvider = new PrunaProvider();
|