langchain/libs/core/langchain_core
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
..
_api infra: update mypy 1.10, ruff 0.5 (#23721) 2024-07-03 10:33:27 -07:00
beta core: Updated docstring for Context class (#19079) 2024-03-18 21:15:14 -07:00
callbacks Docs: Add how to dispatch custom callback events (#24278) 2024-07-16 17:38:32 -04:00
document_loaders infra: update mypy 1.10, ruff 0.5 (#23721) 2024-07-03 10:33:27 -07:00
documents core: docstrings documents (#23506) 2024-07-16 10:43:54 -04:00
embeddings core: docstrings documents (#23506) 2024-07-16 10:43:54 -04:00
example_selectors core: docstrings example_selectors (#23542) 2024-06-26 17:10:40 -04:00
graph_vectorstores core[patch]: Mark GraphVectorStore as beta (#24195) 2024-07-12 14:28:06 -04:00
indexing core[patch]: Clarify upsert response semantics (#23921) 2024-07-05 15:59:47 -04:00
language_models core: Move json parsing in base chat model / output parser to bg thread (#24031) 2024-07-09 12:26:36 -07:00
load core: docstrings load (#23787) 2024-07-05 12:23:19 -04:00
messages core[patch]: allow message utils to work with lcel (#23743) 2024-07-15 08:58:05 -07:00
output_parsers core[minor], integrations...[patch]: Support ToolCall as Tool input and ToolMessage as Tool output (#24038) 2024-07-11 14:54:02 -07:00
outputs core: Move json parsing in base chat model / output parser to bg thread (#24031) 2024-07-09 12:26:36 -07:00
prompts core[patch]: Fix regression requiring input_variables in few chat prompt templates (#24360) 2024-07-17 18:14:57 -04:00
pydantic_v1 multiple: get rid of pyproject extras (#22581) 2024-06-06 15:45:22 -07:00
runnables core: In ensure_config don't copy dunder configurable keys to metadata (#24420) 2024-07-18 22:28:52 +00:00
tracers core[patch]: core lint fix (#24447) 2024-07-19 09:01:22 -07:00
utils core[patch]: Fix utils.json_schema.dereference_refs (#24335 KeyError: 400 in JSON schema processing) (#24337) 2024-07-19 13:31:00 -04:00
vectorstores core: docstrings vectorstores update (#24281) 2024-07-16 16:58:11 +00:00
__init__.py core[patch], community[patch]: mark runnable context, lc load as beta (#15603) 2024-01-05 17:54:26 -05:00
agents.py core[patch]: docstrings langchain_core/ files update (#24285) 2024-07-16 09:21:51 -04:00
caches.py core[patch]: docstrings langchain_core/ files update (#24285) 2024-07-16 09:21:51 -04:00
chat_history.py core[patch]: docstrings langchain_core/ files update (#24285) 2024-07-16 09:21:51 -04:00
chat_loaders.py core: chat_* docstrings (#23412) 2024-06-27 17:29:38 -04:00
chat_sessions.py core: chat_* docstrings (#23412) 2024-06-27 17:29:38 -04:00
env.py core[patch]: docstrings langchain_core/ files update (#24285) 2024-07-16 09:21:51 -04:00
exceptions.py core[patch]: docstrings langchain_core/ files update (#24285) 2024-07-16 09:21:51 -04:00
globals.py core[patch]: docstrings langchain_core/ files update (#24285) 2024-07-16 09:21:51 -04:00
memory.py core[patch]: docstrings langchain_core/ files update (#24285) 2024-07-16 09:21:51 -04:00
prompt_values.py core[patch]: docstrings langchain_core/ files update (#24285) 2024-07-16 09:21:51 -04:00
py.typed core[minor], langchain[patch], experimental[patch]: Added missing py.typed to langchain_core (#14143) 2023-12-01 19:15:23 -08:00
retrievers.py core[patch]: docstrings langchain_core/ files update (#24285) 2024-07-16 09:21:51 -04:00
stores.py core[patch]: docstrings langchain_core/ files update (#24285) 2024-07-16 09:21:51 -04:00
structured_query.py core[patch]: docstrings langchain_core/ files update (#24285) 2024-07-16 09:21:51 -04:00
sys_info.py core[patch]: docstrings langchain_core/ files update (#24285) 2024-07-16 09:21:51 -04:00
tools.py core[minor]: Support all versions of pydantic base model in argsschema (#24418) 2024-07-18 17:14:23 -04:00