braintrust 0.0.188 → 0.0.190

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.
Files changed (2) hide show
  1. package/dist/cli.js +3 -3
  2. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -1236,7 +1236,7 @@ var require_package = __commonJS({
1236
1236
  "package.json"(exports2, module2) {
1237
1237
  module2.exports = {
1238
1238
  name: "braintrust",
1239
- version: "0.0.188",
1239
+ version: "0.0.190",
1240
1240
  description: "SDK for integrating Braintrust",
1241
1241
  repository: {
1242
1242
  type: "git",
@@ -7884,7 +7884,7 @@ function makeFunctionDefinition({
7884
7884
  }
7885
7885
  const objectType = "prompt";
7886
7886
  const prompt = func.prompt_data.prompt;
7887
- const promptContents = prompt.type === "completion" ? `prompt: ${doubleQuote(prompt.content)}` : `messages: ${import_util5.default.inspect(prompt.messages, { depth: null }).trimStart()}`;
7887
+ const promptContents = prompt.type === "completion" ? `prompt: ${doubleQuote(prompt.content)}` : `messages: ${import_util5.default.inspect(prompt.messages, { depth: null, maxStringLength: Infinity }).trimStart()}`;
7888
7888
  const rawToolsParsed = prompt.type === "chat" && prompt.tools && prompt.tools.length > 0 ? import_zod4.z.array(import_typespecs4.toolFunctionDefinitionSchema).safeParse(JSON.parse(prompt.tools)) : void 0;
7889
7889
  if (rawToolsParsed && !rawToolsParsed.success) {
7890
7890
  console.warn(
@@ -7932,7 +7932,7 @@ async function getPrettierModule() {
7932
7932
  if (!prettierModule) {
7933
7933
  try {
7934
7934
  prettierModule = await import("prettier");
7935
- } catch (e) {
7935
+ } catch {
7936
7936
  console.warn(
7937
7937
  warning(
7938
7938
  "Failed to load prettier module. Will not use prettier to format output."
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "braintrust",
3
- "version": "0.0.188",
3
+ "version": "0.0.190",
4
4
  "description": "SDK for integrating Braintrust",
5
5
  "repository": {
6
6
  "type": "git",