orchestrated 0.1.23 → 0.1.24

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/index.js CHANGED
@@ -13914,6 +13914,7 @@ var init_zod = __esm(() => {
13914
13914
  // src/batch/bedrock-openai-client.ts
13915
13915
  var exports_bedrock_openai_client = {};
13916
13916
  __export(exports_bedrock_openai_client, {
13917
+ trimToolCallNames: () => trimToolCallNames,
13917
13918
  BedrockOpenAI: () => BedrockOpenAI
13918
13919
  });
13919
13920
  import OpenAI from "openai";
@@ -206971,6 +206972,7 @@ function createChatCompletionRequest(custom_id, body) {
206971
206972
  };
206972
206973
  }
206973
206974
  // src/batch/client.ts
206975
+ init_bedrock_openai_client();
206974
206976
  import OpenAI3 from "openai";
206975
206977
 
206976
206978
  class BatchingError extends Error {
@@ -206994,7 +206996,7 @@ class EvalClient extends OpenAI3 {
206994
206996
  const [body] = args;
206995
206997
  const existingResponse = this.batchClient.findResponse(body);
206996
206998
  if (existingResponse && existingResponse.response?.body) {
206997
- return Promise.resolve(existingResponse.response.body);
206999
+ return Promise.resolve(trimToolCallNames(existingResponse.response.body));
206998
207000
  }
206999
207001
  const request = this.batchClient.addRequest(body);
207000
207002
  throw new BatchingError(request);
@@ -208682,4 +208684,4 @@ export {
208682
208684
  Behavioral
208683
208685
  };
208684
208686
 
208685
- //# debugId=66C98E2F34A392C264756E2164756E21
208687
+ //# debugId=364D07358EEADC5264756E2164756E21