@langchain/openai 0.5.9 → 0.5.10
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/chat_models.cjs +1 -1
- package/dist/chat_models.js +1 -1
- package/package.json +1 -1
package/dist/chat_models.cjs
CHANGED
|
@@ -545,7 +545,7 @@ function _convertOpenAIResponsesDeltaToBaseMessageChunk(chunk) {
|
|
|
545
545
|
type: "tool_call_chunk",
|
|
546
546
|
name: chunk.item.name,
|
|
547
547
|
args: chunk.item.arguments,
|
|
548
|
-
id: chunk.item.
|
|
548
|
+
id: chunk.item.call_id,
|
|
549
549
|
index: chunk.output_index,
|
|
550
550
|
});
|
|
551
551
|
additional_kwargs[_FUNCTION_CALL_IDS_MAP_KEY] = {
|
package/dist/chat_models.js
CHANGED
|
@@ -540,7 +540,7 @@ function _convertOpenAIResponsesDeltaToBaseMessageChunk(chunk) {
|
|
|
540
540
|
type: "tool_call_chunk",
|
|
541
541
|
name: chunk.item.name,
|
|
542
542
|
args: chunk.item.arguments,
|
|
543
|
-
id: chunk.item.
|
|
543
|
+
id: chunk.item.call_id,
|
|
544
544
|
index: chunk.output_index,
|
|
545
545
|
});
|
|
546
546
|
additional_kwargs[_FUNCTION_CALL_IDS_MAP_KEY] = {
|