Skip to content

Commit 04d9b75

Browse files
committed
Fix invalid cond
1 parent d6ffaa4 commit 04d9b75

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libs/langchain-openai/src/chat_models.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -557,7 +557,7 @@ function _convertMessagesToOpenAIResponsesParams(
557557
input.push({
558558
type: "message",
559559
role: "assistant",
560-
...(lcMsg.id && !zdrEnabled && !lcMsg.id.startsWith("msg_")
560+
...(lcMsg.id && !zdrEnabled && lcMsg.id.startsWith("msg_")
561561
? { id: lcMsg.id }
562562
: {}),
563563
content:

0 commit comments

Comments
 (0)