@probeo/anymodel 0.5.1 → 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/cli.cjs CHANGED
@@ -2025,7 +2025,7 @@ var BatchManager = class {
2025
2025
  const id = generateId("batch");
2026
2026
  const now = (/* @__PURE__ */ new Date()).toISOString();
2027
2027
  const providerName = request.model.split("/")[0] || "unknown";
2028
- const native = this.getNativeBatchAdapter(request.model);
2028
+ const native = request.batch_mode !== "concurrent" ? this.getNativeBatchAdapter(request.model) : null;
2029
2029
  const batchMode = native ? "native" : "concurrent";
2030
2030
  const batch = {
2031
2031
  id,
@@ -2248,7 +2248,8 @@ var BatchManager = class {
2248
2248
  stop: item.stop ?? options?.stop,
2249
2249
  response_format: item.response_format ?? options?.response_format,
2250
2250
  tools: item.tools ?? options?.tools,
2251
- tool_choice: item.tool_choice ?? options?.tool_choice
2251
+ tool_choice: item.tool_choice ?? options?.tool_choice,
2252
+ service_tier: item.service_tier ?? options?.service_tier
2252
2253
  };
2253
2254
  let result;
2254
2255
  try {