langchain==1.2.4
📦 langchainView on GitHub →
✨ 2 features🐛 6 fixes🔧 2 symbols
Summary
This release focuses heavily on internal type checking improvements across many test suites and introduces metadata for agent names. A key functional change is adding the `state` field to `_ModelRequestOverrides`.
✨ New Features
- Added agent name metadata to agents.
- Added the `state` field to `_ModelRequestOverrides`.
🐛 Bug Fixes
- Tagged messages generated from summarization.
- Fixed types in various test suites (`test_return_direct_spec`, `test_todo`, `test_tool_retry`, `test_shell_tool`, `test_tool_selection`, `test_tool_emulator`, `test_shell_execution_policies`, `test_injected_runtime_create_agent`, `test_create_agent_tool_validation`, `test_response_format`, `test_state_schema`, `test_context_editing`, `test_agent_name`, `test_response_format_integration`, `test_overrides`, `test_tools`, `test_summarization`, `test_framework`, `memory_assert`, `conftest`, `conftest_checkpointer`, `conftest_store`, `test_system_message`).
- Removed relative imports.
- Provided a more descriptive error message when a dependency is not installed in `langchain` and `langchain-classic`.
- Fixed provider inference when using mixed-case prefixes.
- Added a test confirming arguments are not injected based solely on `args_schema`.