@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.
@@ -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.id,
548
+ id: chunk.item.call_id,
549
549
  index: chunk.output_index,
550
550
  });
551
551
  additional_kwargs[_FUNCTION_CALL_IDS_MAP_KEY] = {
@@ -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.id,
543
+ id: chunk.item.call_id,
544
544
  index: chunk.output_index,
545
545
  });
546
546
  additional_kwargs[_FUNCTION_CALL_IDS_MAP_KEY] = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@langchain/openai",
3
- "version": "0.5.9",
3
+ "version": "0.5.10",
4
4
  "description": "OpenAI integrations for LangChain.js",
5
5
  "type": "module",
6
6
  "engines": {