@langfuse/client 4.1.0 → 4.2.0

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
@@ -1252,10 +1252,10 @@ var ChatPromptClient = class _ChatPromptClient extends BasePromptClient {
1252
1252
  JSON.stringify(placeholderValue)
1253
1253
  );
1254
1254
  } else {
1255
- messagesWithPlaceholdersReplaced.push({
1256
- variableName: item.name,
1257
- optional: false
1258
- });
1255
+ messagesWithPlaceholdersReplaced.push([
1256
+ "placeholder",
1257
+ `{${item.name}}`
1258
+ ]);
1259
1259
  }
1260
1260
  } else if ("role" in item && "content" in item && item.type === "chatmessage" /* ChatMessage */) {
1261
1261
  messagesWithPlaceholdersReplaced.push({