@probeo/anymodel 0.5.2 → 0.5.3

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
@@ -2063,7 +2063,7 @@ var BatchManager = class {
2063
2063
  const id = generateId("batch");
2064
2064
  const now = (/* @__PURE__ */ new Date()).toISOString();
2065
2065
  const providerName = request.model.split("/")[0] || "unknown";
2066
- const native = this.getNativeBatchAdapter(request.model);
2066
+ const native = request.batch_mode !== "concurrent" ? this.getNativeBatchAdapter(request.model) : null;
2067
2067
  const batchMode = native ? "native" : "concurrent";
2068
2068
  const batch = {
2069
2069
  id,