langchain/libs
Eun Hye Kim 9aae8ef416
core[patch]: Fix utils.json_schema.dereference_refs (#24335 KeyError: 400 in JSON schema processing) (#24337)
Description:
This PR fixes a KeyError: 400 that occurs in the JSON schema processing
within the reduce_openapi_spec function. The _retrieve_ref function in
json_schema.py was modified to handle missing components gracefully by
continuing to the next component if the current one is not found. This
ensures that the OpenAPI specification is fully interpreted and the
agent executes without errors.

Issue:
Fixes issue #24335

Dependencies:
No additional dependencies are required for this change.

Twitter handle:
@lunara_x
2024-07-19 13:31:00 -04:00
..
cli cli[patch]: ruff 0.5 (#23833) 2024-07-03 18:33:15 +00:00
community community[minor]: Add TextEmbed Embedding Integration (#22946) 2024-07-19 17:30:25 +00:00
core core[patch]: Fix utils.json_schema.dereference_refs (#24335 KeyError: 400 in JSON schema processing) (#24337) 2024-07-19 13:31:00 -04:00
experimental experimental[patch]: block a few more things from PALValidator (#24379) 2024-07-18 08:22:45 -04:00
langchain Fix MultiQueryRetriever breaking Embeddings with empty lines (#21093) 2024-07-19 17:13:12 +00:00
partners docs: Update mongodb README.md (#24412) 2024-07-18 14:02:34 -07:00
standard-tests standard-tests[patch]: Add pytest assert rewrites (#24408) 2024-07-18 21:41:11 +00:00
text-splitters text_splitters: add request parameters for function HTMLHeaderTextSplitter.split_text… (#24178) 2024-07-15 16:43:56 +00:00