@threaded/ai 1.0.27 → 1.0.28
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/dist/index.cjs +2 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1408,8 +1408,9 @@ var callProvider = async (config, ctx) => {
|
|
|
1408
1408
|
case "local":
|
|
1409
1409
|
return callLocal(providerConfig, ctx);
|
|
1410
1410
|
case "huggingface":
|
|
1411
|
-
default:
|
|
1412
1411
|
return callHuggingFace(providerConfig, ctx);
|
|
1412
|
+
default:
|
|
1413
|
+
return callHuggingFace({ ...config }, ctx);
|
|
1413
1414
|
}
|
|
1414
1415
|
};
|
|
1415
1416
|
|