diff --git a/libs/core/pyproject.toml b/libs/core/pyproject.toml index 48af9fea9ff..e54a785bf5d 100644 --- a/libs/core/pyproject.toml +++ b/libs/core/pyproject.toml @@ -13,7 +13,7 @@ dependencies = [ "PyYAML>=5.3", "typing-extensions>=4.7", "packaging>=23.2", - "pydantic>=2.11.7", + "pydantic>=2.7.4", ] name = "langchain-core" version = "0.3.72" diff --git a/libs/core/tests/unit_tests/runnables/__snapshots__/test_runnable.ambr b/libs/core/tests/unit_tests/runnables/__snapshots__/test_runnable.ambr index 7df5f44e70a..ea62b19f550 100644 --- a/libs/core/tests/unit_tests/runnables/__snapshots__/test_runnable.ambr +++ b/libs/core/tests/unit_tests/runnables/__snapshots__/test_runnable.ambr @@ -2700,6 +2700,10 @@ ]), 'title': 'Error', }), + 'extras': dict({ + 'title': 'Extras', + 'type': 'object', + }), 'id': dict({ 'anyOf': list([ dict({ @@ -2711,6 +2715,10 @@ ]), 'title': 'Id', }), + 'index': dict({ + 'title': 'Index', + 'type': 'integer', + }), 'name': dict({ 'anyOf': list([ dict({ @@ -2957,6 +2965,10 @@ 'title': 'Args', 'type': 'object', }), + 'extras': dict({ + 'title': 'Extras', + 'type': 'object', + }), 'id': dict({ 'anyOf': list([ dict({ @@ -3022,6 +3034,10 @@ ]), 'title': 'Args', }), + 'extras': dict({ + 'title': 'Extras', + 'type': 'object', + }), 'id': dict({ 'anyOf': list([ dict({ @@ -4189,6 +4205,10 @@ ]), 'title': 'Error', }), + 'extras': dict({ + 'title': 'Extras', + 'type': 'object', + }), 'id': dict({ 'anyOf': list([ dict({ @@ -4200,6 +4220,10 @@ ]), 'title': 'Id', }), + 'index': dict({ + 'title': 'Index', + 'type': 'integer', + }), 'name': dict({ 'anyOf': list([ dict({ @@ -4465,6 +4489,10 @@ 'title': 'Args', 'type': 'object', }), + 'extras': dict({ + 'title': 'Extras', + 'type': 'object', + }), 'id': dict({ 'anyOf': list([ dict({ @@ -4530,6 +4558,10 @@ ]), 'title': 'Args', }), + 'extras': dict({ + 'title': 'Extras', + 'type': 'object', + }), 'id': dict({ 'anyOf': list([ dict({ @@ -5709,6 +5741,10 @@ ]), 'title': 'Error', }), + 'extras': dict({ + 'title': 'Extras', + 'type': 'object', + }), 'id': dict({ 'anyOf': list([ dict({ @@ -5720,6 +5756,10 @@ ]), 'title': 'Id', }), + 'index': dict({ + 'title': 'Index', + 'type': 'integer', + }), 'name': dict({ 'anyOf': list([ dict({ @@ -5985,6 +6025,10 @@ 'title': 'Args', 'type': 'object', }), + 'extras': dict({ + 'title': 'Extras', + 'type': 'object', + }), 'id': dict({ 'anyOf': list([ dict({ @@ -6050,6 +6094,10 @@ ]), 'title': 'Args', }), + 'extras': dict({ + 'title': 'Extras', + 'type': 'object', + }), 'id': dict({ 'anyOf': list([ dict({ @@ -7104,6 +7152,10 @@ ]), 'title': 'Error', }), + 'extras': dict({ + 'title': 'Extras', + 'type': 'object', + }), 'id': dict({ 'anyOf': list([ dict({ @@ -7115,6 +7167,10 @@ ]), 'title': 'Id', }), + 'index': dict({ + 'title': 'Index', + 'type': 'integer', + }), 'name': dict({ 'anyOf': list([ dict({ @@ -7361,6 +7417,10 @@ 'title': 'Args', 'type': 'object', }), + 'extras': dict({ + 'title': 'Extras', + 'type': 'object', + }), 'id': dict({ 'anyOf': list([ dict({ @@ -7426,6 +7486,10 @@ ]), 'title': 'Args', }), + 'extras': dict({ + 'title': 'Extras', + 'type': 'object', + }), 'id': dict({ 'anyOf': list([ dict({ @@ -8635,6 +8699,10 @@ ]), 'title': 'Error', }), + 'extras': dict({ + 'title': 'Extras', + 'type': 'object', + }), 'id': dict({ 'anyOf': list([ dict({ @@ -8646,6 +8714,10 @@ ]), 'title': 'Id', }), + 'index': dict({ + 'title': 'Index', + 'type': 'integer', + }), 'name': dict({ 'anyOf': list([ dict({ @@ -8911,6 +8983,10 @@ 'title': 'Args', 'type': 'object', }), + 'extras': dict({ + 'title': 'Extras', + 'type': 'object', + }), 'id': dict({ 'anyOf': list([ dict({ @@ -8976,6 +9052,10 @@ ]), 'title': 'Args', }), + 'extras': dict({ + 'title': 'Extras', + 'type': 'object', + }), 'id': dict({ 'anyOf': list([ dict({ @@ -9364,6 +9444,10 @@ 'title': 'Base64', 'type': 'string', }), + 'extras': dict({ + 'title': 'Extras', + 'type': 'object', + }), 'file_id': dict({ 'title': 'File Id', 'type': 'string', @@ -9574,6 +9658,10 @@ 'title': 'End Index', 'type': 'integer', }), + 'extras': dict({ + 'title': 'Extras', + 'type': 'object', + }), 'id': dict({ 'title': 'Id', 'type': 'string', @@ -9608,6 +9696,10 @@ 'title': 'Code', 'type': 'string', }), + 'extras': dict({ + 'title': 'Extras', + 'type': 'object', + }), 'id': dict({ 'title': 'Id', 'type': 'string', @@ -9639,6 +9731,10 @@ ``CodeInterpreterResult`` which is a list of these blocks. ''', 'properties': dict({ + 'extras': dict({ + 'title': 'Extras', + 'type': 'object', + }), 'file_ids': dict({ 'items': dict({ 'type': 'string', @@ -9680,6 +9776,10 @@ 'CodeInterpreterResult': dict({ 'description': 'Result of a code interpreter tool call.', 'properties': dict({ + 'extras': dict({ + 'title': 'Extras', + 'type': 'object', + }), 'id': dict({ 'title': 'Id', 'type': 'string', @@ -9730,6 +9830,10 @@ 'title': 'Base64', 'type': 'string', }), + 'extras': dict({ + 'title': 'Extras', + 'type': 'object', + }), 'file_id': dict({ 'title': 'File Id', 'type': 'string', @@ -9984,6 +10088,10 @@ 'title': 'Base64', 'type': 'string', }), + 'extras': dict({ + 'title': 'Extras', + 'type': 'object', + }), 'file_id': dict({ 'title': 'File Id', 'type': 'string', @@ -10082,6 +10190,10 @@ ]), 'title': 'Error', }), + 'extras': dict({ + 'title': 'Extras', + 'type': 'object', + }), 'id': dict({ 'anyOf': list([ dict({ @@ -10093,6 +10205,10 @@ ]), 'title': 'Id', }), + 'index': dict({ + 'title': 'Index', + 'type': 'integer', + }), 'name': dict({ 'anyOf': list([ dict({ @@ -10239,6 +10355,10 @@ 'title': 'Context', 'type': 'string', }), + 'extras': dict({ + 'title': 'Extras', + 'type': 'object', + }), 'file_id': dict({ 'title': 'File Id', 'type': 'string', @@ -10291,6 +10411,10 @@ * Required arguments strictly validated at creation time ''', 'properties': dict({ + 'extras': dict({ + 'title': 'Extras', + 'type': 'object', + }), 'id': dict({ 'title': 'Id', 'type': 'string', @@ -10436,6 +10560,10 @@ 'title': 'Annotations', 'type': 'array', }), + 'extras': dict({ + 'title': 'Extras', + 'type': 'object', + }), 'id': dict({ 'title': 'Id', 'type': 'string', @@ -10489,6 +10617,10 @@ 'title': 'Args', 'type': 'object', }), + 'extras': dict({ + 'title': 'Extras', + 'type': 'object', + }), 'id': dict({ 'anyOf': list([ dict({ @@ -10554,6 +10686,10 @@ ]), 'title': 'Args', }), + 'extras': dict({ + 'title': 'Extras', + 'type': 'object', + }), 'id': dict({ 'anyOf': list([ dict({ @@ -10755,6 +10891,10 @@ 'title': 'Base64', 'type': 'string', }), + 'extras': dict({ + 'title': 'Extras', + 'type': 'object', + }), 'file_id': dict({ 'title': 'File Id', 'type': 'string', @@ -10789,6 +10929,10 @@ 'WebSearchCall': dict({ 'description': 'Built-in web search tool call.', 'properties': dict({ + 'extras': dict({ + 'title': 'Extras', + 'type': 'object', + }), 'id': dict({ 'title': 'Id', 'type': 'string', @@ -10815,6 +10959,10 @@ 'WebSearchResult': dict({ 'description': 'Result of a built-in web search tool call.', 'properties': dict({ + 'extras': dict({ + 'title': 'Extras', + 'type': 'object', + }), 'id': dict({ 'title': 'Id', 'type': 'string', @@ -12713,6 +12861,10 @@ ]), 'title': 'Error', }), + 'extras': dict({ + 'title': 'Extras', + 'type': 'object', + }), 'id': dict({ 'anyOf': list([ dict({ @@ -12724,6 +12876,10 @@ ]), 'title': 'Id', }), + 'index': dict({ + 'title': 'Index', + 'type': 'integer', + }), 'name': dict({ 'anyOf': list([ dict({ @@ -13000,6 +13156,10 @@ 'title': 'Args', 'type': 'object', }), + 'extras': dict({ + 'title': 'Extras', + 'type': 'object', + }), 'id': dict({ 'anyOf': list([ dict({ @@ -13065,6 +13225,10 @@ ]), 'title': 'Args', }), + 'extras': dict({ + 'title': 'Extras', + 'type': 'object', + }), 'id': dict({ 'anyOf': list([ dict({ @@ -14194,6 +14358,10 @@ ]), 'title': 'Error', }), + 'extras': dict({ + 'title': 'Extras', + 'type': 'object', + }), 'id': dict({ 'anyOf': list([ dict({ @@ -14205,6 +14373,10 @@ ]), 'title': 'Id', }), + 'index': dict({ + 'title': 'Index', + 'type': 'integer', + }), 'name': dict({ 'anyOf': list([ dict({ @@ -14470,6 +14642,10 @@ 'title': 'Args', 'type': 'object', }), + 'extras': dict({ + 'title': 'Extras', + 'type': 'object', + }), 'id': dict({ 'anyOf': list([ dict({ @@ -14535,6 +14711,10 @@ ]), 'title': 'Args', }), + 'extras': dict({ + 'title': 'Extras', + 'type': 'object', + }), 'id': dict({ 'anyOf': list([ dict({ diff --git a/libs/core/uv.lock b/libs/core/uv.lock index fa75e31b4f6..7d20a625e3d 100644 --- a/libs/core/uv.lock +++ b/libs/core/uv.lock @@ -1040,7 +1040,7 @@ requires-dist = [ { name = "jsonpatch", specifier = ">=1.33,<2.0" }, { name = "langsmith", specifier = ">=0.3.45" }, { name = "packaging", specifier = ">=23.2" }, - { name = "pydantic", specifier = ">=2.11.7" }, + { name = "pydantic", specifier = ">=2.7.4" }, { name = "pyyaml", specifier = ">=5.3" }, { name = "tenacity", specifier = ">=8.1.0,!=8.4.0,<10.0.0" }, { name = "typing-extensions", specifier = ">=4.7" },