Commits
Click on a commit to change the comparison rangefix: use `.get()` on image URL in `ImagePromptValue.to_string()` Merge branch 'master' into wip-v1.0 feat(anthropic): dynamic mapping of Max Tokens for Anthropic (#31946)
- **Description:** Dynamic mapping of `max_tokens` as per the choosen
anthropic model.
- **Issue:** Fixes #31605
@ccurme
---------
Co-authored-by: Caspar Broekhuizen <caspar@langchain.dev>
Co-authored-by: Mason Daugherty <mason@langchain.dev>30 days ago
by keenborder786 Merge branch 'master' into wip-v1.0 fix: increase `max_tokens` limit to 64000 re: Anthropic dynamic tokens Merge branch 'master' of github.com:langchain-ai/langchain into wip-v1.0 fix(anthropic): update cassette for streaming benchmark (#32609) fix(core): (v1) update BaseChatModel return type to AIMessage (#32626) Merge branch 'master' into wip-v1.0 feat(openai): (v1) delete `bind_functions` and remove `tool_calls` from `additional_kwargs` (#32669) Merge branch 'master' into wip-v1.0 Merge branch 'master' into wip-v1.0
# Conflicts:
# libs/langchain_v1/langchain/chains/documents/map_reduce.py
# libs/langchain_v1/langchain/chains/documents/stuff.py fix(langchain): (v1) delete unused chains (#32711)
Merge conflict was not resolved correctly chore: (v1) drop support for python 3.9 (#32712)
EOL in October
Will update ruff / formatting closer to 1.0 release to minimize merge
conflicts on branch release(core): 1.0.0dev0 (#32713) release(core): 1.0.0a1 (#32715) chore(infra): drop anthropic from core test matrix (#32717) release: anthropic, openai 1.0.0a1 (#32723) fix: openai, anthropic (v1) fix core lower bound (#32724) Merge branch 'master' into wip-v1.0 fix(core): typo in `content.py` Merge branch 'master' into wip-v1.0 chore(cli): drop python 3.9 support (#32761) Merge branch 'master' into wip-v1.0 chore(text-splitters): drop python 3.9 support (#32771) chore(standard-tests): drop python 3.9 (#32772) fix: update some docstrings and typing chore: move `_convert_openai_format_to_data_block` from `langchain_v0` to `openai` Merge branch 'wip-v1.0' of github.com:langchain-ai/langchain into wip-v1.0 feat(openai): (v1) update default `output_version` (#32674) release(openai): 1.0.0a2 (#32790) release(core): 1.0.0a2 (#32792) Merge branch 'master' into wip-v1.0 Merge branch 'master' into wip-v1.0
# Conflicts:
# libs/langchain_v1/langchain/__init__.py chore(openai): bump minimum core version (#32795) Merge branch 'master' into wip-v1.0 Merge branch 'master' into wip-v1.0 chore: remove erroneous pyversion specifiers Merge branch 'master' into wip-v1.0 Merge branch 'master' into wip-v1.0 Merge branch 'master' into wip-v1.0 Merge branch 'master' into wip-v1.0 Merge branch 'master' into wip-v1.0 Merge branch 'master' into wip-v1.0 fix(core): add `on_tool_error` to `_AstreamEventsCallbackHandler` (#30709)
Fixes https://github.com/langchain-ai/langchain/issues/30708
---------
Co-authored-by: Mason Daugherty <mason@langchain.dev> Merge branch 'master' into wip-v1.0 refactor(core): remove `example` attribute from `AIMessage` and `HumanMessage` (#32565) Merge branch 'master' into wip-v1.0 Merge branch 'master' into wip-v1.0 fix: anthropic test since new dynamic max tokens fix: anthropic tests (stale cassette from max dynamic tokens) Merge branch 'master' into wip-v1.0