@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.mjs CHANGED
@@ -1217,10 +1217,10 @@ var ChatPromptClient = class _ChatPromptClient extends BasePromptClient {
1217
1217
  JSON.stringify(placeholderValue)
1218
1218
  );
1219
1219
  } else {
1220
- messagesWithPlaceholdersReplaced.push({
1221
- variableName: item.name,
1222
- optional: false
1223
- });
1220
+ messagesWithPlaceholdersReplaced.push([
1221
+ "placeholder",
1222
+ `{${item.name}}`
1223
+ ]);
1224
1224
  }
1225
1225
  } else if ("role" in item && "content" in item && item.type === "chatmessage" /* ChatMessage */) {
1226
1226
  messagesWithPlaceholdersReplaced.push({