190proof 1.0.15 → 1.0.16

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.mjs CHANGED
@@ -31520,6 +31520,7 @@ async function callOpenAiWithRetries(identifier, openAiPayload, openAiConfig, re
31520
31520
  openAiPayload.function_call = "none";
31521
31521
  }
31522
31522
  }
31523
+ console.error(error);
31523
31524
  console.error(
31524
31525
  identifier,
31525
31526
  `Retrying due to error: received bad response from OpenAI API [${openAiConfig == null ? void 0 : openAiConfig.service}-${openAiPayload.model}-${openAiConfig == null ? void 0 : openAiConfig.orgId}]: ${error.message} - ${JSON.stringify((_b = error.response) == null ? void 0 : _b.data)}`