Chester Curme
01b1122a81
example implementation for SummarizationMiddleware
2025-10-28 11:55:29 -04:00
Chester Curme
cb71e10f95
Revert "example implementation for SummarizationMiddleware"
...
This reverts commit c568d2fc62 .
2025-10-28 11:33:57 -04:00
Chester Curme
c568d2fc62
example implementation for SummarizationMiddleware
2025-10-28 11:24:33 -04:00
Chester Curme
abd46163a2
example implementation
2025-10-28 10:45:36 -04:00
ccurme
3286a98b27
fix(core): translate Google GenAI text blocks to v1 ( #33699 )
2025-10-28 09:53:01 -04:00
Mason Daugherty
62769a0dac
feat(langchain): export UsageMetadata ( #33692 )
...
as well as `InputTokenDetails`, and `OutputTokenDetails` from
`langchain_core.messages`
2025-10-27 19:47:41 -04:00
Mason Daugherty
f94108b4bc
fix: links ( #33691 )
...
* X-ref to new docs
* Formatting updates
2025-10-27 19:04:29 -04:00
ccurme
60a0ff8217
fix(standard-tests): fix tool description in agent loop test ( #33690 )
2025-10-27 15:02:13 -04:00
Christophe Bornet
b3dffc70e2
fix(core): fix PydanticOutputParser's get_format_instructions for v1 models ( #32479 )
2025-10-27 13:44:20 -04:00
Arun Prasad
86ac39e11f
refactor(core): Minor refactor for code readability ( #33674 )
2025-10-27 11:39:36 -04:00
John Eismeier
6e036d38b2
fix(infra): add emacs backup files to gitignore ( #33675 )
2025-10-27 11:26:47 -04:00
Shanto Mathew
2d30ebb53b
docs(langchain): clarify create_tool_calling_agent system_prompt formatting and add troubleshooting ( #33679 )
2025-10-27 11:18:10 -04:00
Arun Prasad
b3934b9580
refactor(anthropic): remove unnecessary url check ( #33671 )
...
if "url" in annotation: in Line 15 , already ensures "url" is key in
annotation , so no need to check again to set "url" key in out object
---------
Co-authored-by: Mason Daugherty <mason@langchain.dev >
2025-10-27 11:13:54 -04:00
Mason Daugherty
09102a634a
fix: update some links ( #33686 )
2025-10-27 11:12:11 -04:00
ccurme
95ff5901a1
chore(anthropic): update integration test cassette ( #33685 )
2025-10-27 10:43:36 -04:00
Mason Daugherty
f3d7152074
style(core): more refs work ( #33664 )
2025-10-24 16:06:24 -04:00
Christophe Bornet
dff37f6048
fix(nomic): support Python 3.14 ( #33655 )
...
Pyarrow just published 3.14 binaries
Co-authored-by: Mason Daugherty <mason@langchain.dev >
2025-10-24 13:32:07 -04:00
ccurme
832036ef0f
chore(infra): remove openai from langchain-core release test matrix ( #33661 )
langchain-core==1.0.1
2025-10-24 11:55:33 -04:00
ccurme
f1742954ab
fix(core): make handling of schemas more defensive ( #33660 )
2025-10-24 11:10:06 -04:00
ccurme
6ab0476676
fix(openai): update test ( #33659 )
2025-10-24 11:04:33 -04:00
ccurme
d36413c821
release(mistralai): 1.0.1 ( #33657 )
langchain-mistralai==1.0.1
2025-10-24 09:50:23 -04:00
Romi45
99097f799c
fix(mistralai): resolve duplicate tool calls when converting to mistral chat message ( #33648 )
2025-10-24 09:40:31 -04:00
Mohammad Mohtashim
0666571519
chore(perplexity): Added all keys for usage metadata ( #33480 )
2025-10-24 09:32:35 -04:00
ccurme
ef85161525
release(core): 1.0.1 ( #33639 )
2025-10-22 14:25:21 -04:00
ccurme
079eb808f8
release(qdrant): 1.1.0 ( #33638 )
langchain-qdrant==1.1.0
2025-10-22 13:24:36 -04:00
Anush
39fb2d1a3b
feat(qdrant): Use Qdrant's built-in MMR search ( #32302 )
2025-10-22 13:19:32 -04:00
Mason Daugherty
db7f2db1ae
feat(infra): langchain docs MCP ( #33636 )
2025-10-22 11:50:35 -04:00
Yu Zhong
df46c82ae2
feat(core): automatic set required to include all properties in strict mode ( #32930 )
2025-10-22 11:31:08 -04:00
Eugene Yurtsev
f8adbbc461
chore(langchain_v1): bump version from 1.0.1 to 1.0.2 ( #33629 )
...
Release 1.0.2
langchain==1.0.2
2025-10-21 17:05:51 -04:00
Eugene Yurtsev
17f0716d6c
fix(langchain_v1): remove non llm controllable params from tool message on invocation failure ( #33625 )
...
The LLM shouldn't be seeing parameters it cannot control in the
ToolMessage error it gets when it invokes a tool with incorrect args.
This fixes the behavior within langchain to address immediate issue.
We may want to change the behavior in langchain_core as well to prevent
validation of injected arguments. But this would be done in a separate
change
2025-10-21 15:40:30 -04:00
Ali Ismail
5acd34ae92
feat(openai): add unit test for streaming error in _generate ( #33134 )
2025-10-21 15:08:37 -04:00
Aaron Sequeira
84dbebac4f
fix(langchain): correctly initialize huggingface models in init_chat_model ( #33167 )
2025-10-21 14:21:46 -04:00
Mohammad Mohtashim
eddfcd2c88
docs(core): Updated docs for mustache_template_vars ( #33481 )
2025-10-21 13:01:25 -04:00
noeliecherrier
9f470d297f
feat(mistralai): remove tenacity retries for embeddings ( #33491 )
2025-10-21 12:35:10 -04:00
ccurme
2222470f69
release(openai): 1.0.1 ( #33624 )
langchain-openai==1.0.1
2025-10-21 11:37:47 -04:00
Marlene
78175fcb96
feat(openai): add callable support for openai_api_key parameter ( #33532 )
2025-10-21 11:16:02 -04:00
Mason Daugherty
d9e659ca4f
style: even more refs work ( #33619 )
2025-10-21 01:09:52 -04:00
Mason Daugherty
e731ba1e47
style: more refs work ( #33616 )
2025-10-20 18:40:19 -04:00
Cole Murray
557fc9a817
fix(infra): harden pydantic test workflow against command injection ( #33446 )
2025-10-20 10:35:48 -04:00
Christophe Bornet
965dac74e5
chore(infra): test pydantic with python 3.12 ( #33421 )
2025-10-20 10:28:41 -04:00
Sydney Runkle
7d7a50d4cc
release(langchain_v1): 1.0.1 ( #33610 )
langchain==1.0.1
2025-10-20 13:03:16 +00:00
Sydney Runkle
9319eecaba
fix(langchain_v1): ToolRuntime default for args ( #33606 )
...
added some noqas, this is a quick patch to support a bug uncovered in
the quickstart, will resolve fully depending on where we centralize
ToolNode stuff.
2025-10-20 08:45:50 -04:00
Mason Daugherty
a47386f6dc
style: more refs polishing ( #33601 )
2025-10-20 00:52:52 -04:00
Mason Daugherty
aaf88c157f
docs(langchain): update reference documentation to note moved embeddings modules ( #33600 )
2025-10-19 20:10:25 -04:00
Christophe Bornet
3dcf4ae1e9
fix(cli): support Python 3.14 ( #33598 )
...
Co-authored-by: Mason Daugherty <mason@langchain.dev >
2025-10-19 19:37:34 -04:00
Christophe Bornet
3391168777
ci(infra): test CodSpeed with Python 3.13 ( #33599 )
2025-10-19 19:33:20 -04:00
repeat-Q
28728dca9f
docs: add contributing guide to README ( #33490 )
...
**Description:** Added a beginner-friendly tip to the README to help
first-time contributors find a starting point. This is a documentation
improvement aimed at lowering the barrier for newcomers to participate
in open source.
**Issue:** No related issue
**Dependencies:** None
---
## Note to maintainers
I'm new to open source and this is my first PR! If there's anything that
needs improvement, please guide me and I'll be happy to learn and make
changes. Thank you for your patience! 😊
## What does this PR do?
- Added a noticeable beginner tip box after the badges section in README
- Provided specific guidance (Good First Issues link)
- Encourages newcomers to start with documentation fixes
## Why is this change needed?
- Makes it easier for new contributors to get started
- Provides clear direction and reduces confusion
- Creates a more welcoming open source community environment
---------
Co-authored-by: Mason Daugherty <mason@langchain.dev >
2025-10-19 00:01:21 -04:00
Christophe Bornet
1ae7fb7694
chore(langchain-classic): remove unused duckdb dependency ( #33582 )
...
* The dependency is not used.
* It takes a long time to build in Python 3.14 as there are no prebuilt
binaries yet. This slows down CI a lot.
Co-authored-by: Mason Daugherty <mason@langchain.dev >
langchain-classic==1.0.0
2025-10-17 18:45:30 -04:00
Mason Daugherty
7aef3388d9
release(xai): 1.0.0 ( #33591 )
langchain-xai==1.0.0
2025-10-17 17:42:29 -04:00
Mason Daugherty
1d056487c7
style(anthropic): use aliases for model names ( #33590 )
2025-10-17 21:40:22 +00:00