You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
langchain/libs/core/tests/unit_tests
JongRok BAEK 8d6cc90fc5
langchain.core : Use shallow copy for schema manipulation in JsonOutputParser.get_format_instructions (#17162)
- **Description :**  

Fix: Use shallow copy for schema manipulation in get_format_instructions

Prevents side effects on the original schema object by using a
dictionary comprehension for a safer and more controlled manipulation of
schema key-value pairs, enhancing code reliability.

  - **Issue:**  #17161 
  - **Dependencies:** None
  -  **Twitter handle:** None
5 months ago
..
_api core[patch]: preserve inspect.iscoroutinefunction with @beta decorator (#16440) 5 months ago
callbacks core[patch], langchain[patch], community[patch]: Revert #15326 (#15546) 6 months ago
chat_history Add async methods to BaseChatMessageHistory and BaseMemory (#16728) 5 months ago
data Separate out langchain_core package (#13577) 8 months ago
documents REFACTOR: combine core documents files (#13733) 8 months ago
example_selectors BUG: more core fixes (#13665) 8 months ago
examples core:adds tests for partial_variables (#15427) 6 months ago
fake Accept message-like things in Chat models, LLMs and MessagesPlaceholder (#16418) 5 months ago
language_models [core: minor] fix getters (#15181) 6 months ago
load BUG: more core fixes (#13665) 8 months ago
messages Accept message-like things in Chat models, LLMs and MessagesPlaceholder (#16418) 5 months ago
output_parsers langchain.core : Use shallow copy for schema manipulation in JsonOutputParser.get_format_instructions (#17162) 5 months ago
outputs BUG: more core fixes (#13665) 8 months ago
prompts Add prompt metadata + tags (#17054) 5 months ago
runnables core[patch]: docstring update (#16813) 5 months ago
tracers core[patch]: Replace memory stream implementation used by LogStreamCallbackHandler (#17185) 5 months ago
utils core: improve None value processing in merge_dicts() (#17462) 5 months ago
__init__.py Separate out langchain_core package (#13577) 8 months ago
conftest.py core[patch], langchain[patch]: fix required deps (#14373) 7 months ago
prompt_file.txt Separate out langchain_core package (#13577) 8 months ago
test_globals.py Separate out langchain_core package (#13577) 8 months ago
test_imports.py infra: Fix test filesystem paths incompatible with windows (#14388) 7 months ago
test_messages.py Accept message-like things in Chat models, LLMs and MessagesPlaceholder (#16418) 5 months ago
test_outputs.py REFACTOR: Refactor langchain_core (#13627) 8 months ago
test_sys_info.py core(minor): Add a way to print out system information for debugging purposes. (#15718) 6 months ago
test_tools.py core[patch]: Replace memory stream implementation used by LogStreamCallbackHandler (#17185) 5 months ago