@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 CHANGED
@@ -1482,8 +1482,9 @@ var callProvider = async (config, ctx) => {
1482
1482
  case "local":
1483
1483
  return callLocal(providerConfig, ctx);
1484
1484
  case "huggingface":
1485
- default:
1486
1485
  return callHuggingFace(providerConfig, ctx);
1486
+ default:
1487
+ return callHuggingFace({ ...config }, ctx);
1487
1488
  }
1488
1489
  };
1489
1490