Eugene Yurtsev
f8adbbc461
chore(langchain_v1): bump version from 1.0.1 to 1.0.2 ( #33629 )
...
Release 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 )
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
Sydney Runkle
7d7a50d4cc
release(langchain_v1): 1.0.1 ( #33610 )
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
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 >
2025-10-17 18:45:30 -04:00
Mason Daugherty
7aef3388d9
release(xai): 1.0.0 ( #33591 )
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
Mason Daugherty
64e6798a39
chore: update pyproject.toml url entries ( #33587 )
2025-10-17 17:16:55 -04:00
Sydney Runkle
4a65e827f7
release(langchain_v1): v1.0.0 ( #33588 )
...
waiting on langgraph bump
2025-10-17 16:49:07 -04:00
Sydney Runkle
35b89b8b10
fix: shell tool middleware ( #33589 )
...
the fact that this was broken showcases that we need significantly
better test coverage, this is literally the most minimalistic usage of
this middleware there could be 😿
will document these two gotchas better for custom middleware
```py
from langchain.agents.middleware.shell_tool import ShellToolMiddleware
from langchain.agents import create_agent
agent = create_agent(model="openai:gpt-4",middleware = [ShellToolMiddleware()])
agent.invoke({"messages":[{"role": "user", "content": "hi"}]})
```
2025-10-17 16:48:30 -04:00
Mason Daugherty
8efa75d04c
fix(xai): inject model_provider in response_metadata ( #33543 )
...
plus tests minor rfc
2025-10-17 16:11:03 -04:00
Sydney Runkle
8fd54f13b5
feat(langchain_v1): Python 3.14 support ( #33560 )
...
Co-authored-by: Christophe Bornet <cbornet@hotmail.com >
2025-10-17 15:10:01 -04:00
ccurme
952fa8aa99
fix(langchain,langchain_v1): enable huggingface optional dep ( #33586 )
2025-10-17 18:42:53 +00:00
Mason Daugherty
3948273350
release(prompty): 1.0.0 ( #33584 )
2025-10-17 14:10:01 -04:00
Eugene Yurtsev
af6f2cf366
chore(langchain_legacy): bump version 1.0 ( #33579 )
...
Bump version for langchain-classic
2025-10-17 11:55:13 -04:00
Mason Daugherty
6997867f0e
release(deepseek): 1.0.0 ( #33581 )
2025-10-17 11:52:08 -04:00
Mason Daugherty
de791bc3ef
fix(deepseek): inject model_provider in response_metadata ( #33544 )
...
& slight tests rfc
2025-10-17 11:47:59 -04:00
Mason Daugherty
69c6e7de59
release(ollama): 1.0.0 ( #33567 )
2025-10-17 11:39:24 -04:00
Mason Daugherty
10cee59f2e
release(mistralai): 1.0.0 ( #33573 )
2025-10-17 11:33:17 -04:00
Mason Daugherty
58f521ea4f
release(fireworks): 1.0.0 ( #33571 )
2025-10-17 11:32:57 -04:00
Mason Daugherty
a194ae6959
release(huggingface): 1.0.0 ( #33572 )
2025-10-17 11:26:48 -04:00
ccurme
4d623133a5
release(openai): 1.0.0 ( #33578 )
2025-10-17 11:25:25 -04:00
Mason Daugherty
8fbf192c2a
release(perplexity): 1.0.0 ( #33576 )
2025-10-17 11:18:43 -04:00
Mason Daugherty
241a382fba
docs: fix Anthropic, OpenAI docstrings ( #33566 )
...
minor
2025-10-17 11:18:32 -04:00
Mason Daugherty
c194ee2046
release(exa): 1.0.0 ( #33570 )
2025-10-17 11:17:43 -04:00
Mason Daugherty
85567f1dc3
release(qdrant): 1.0.0 ( #33577 )
2025-10-17 11:17:01 -04:00
Mason Daugherty
6f4978041e
release(nomic): 1.0.0 ( #33574 )
2025-10-17 11:16:41 -04:00
Mason Daugherty
f1fca4f46f
release(chroma): 1.0.0 ( #33569 )
2025-10-17 11:16:24 -04:00
Mason Daugherty
2b899fe961
release(groq): 1.0.0 ( #33568 )
2025-10-17 11:15:57 -04:00
ccurme
3152d25811
fix: support python 3.14 in various projects ( #33575 )
...
Co-authored-by: cbornet <cbornet@hotmail.com >
Co-authored-by: Mason Daugherty <mason@langchain.dev >
2025-10-17 11:06:23 -04:00
ccurme
3b8cb3d4b6
release(text-splitters): 1.0.0 ( #33565 )
2025-10-17 10:30:42 -04:00
ccurme
15047ae28a
release(anthropic): 1.0.0 ( #33564 )
2025-10-17 10:03:04 -04:00
ccurme
888fa3a2fb
release(standard-tests): 1.0.0 ( #33563 )
2025-10-17 09:53:59 -04:00
ccurme
90346b8a35
release(core): 1.0.0 ( #33562 )
2025-10-17 09:22:45 -04:00
Christophe Bornet
2d5efd7b29
fix(core): support for Python 3.14 ( #33461 )
...
* Fix detection of support of context in `asyncio.create_task`
* Fix: in Python 3.14 `asyncio.get_event_loop()` raises an exception if
there's no running loop
* Bump pydantic to version 2.12
* Skips tests with pydantic v1 models as they are not supported with
Python 3.14
* Run core tests with Python 3.14 in CI.
---------
Co-authored-by: Mason Daugherty <mason@langchain.dev >
Co-authored-by: Sydney Runkle <54324534+sydney-runkle@users.noreply.github.com >
2025-10-17 05:27:34 -04:00
Mason Daugherty
1d2273597a
docs: more fixes for refs ( #33554 )
2025-10-16 22:54:16 -04:00
Sydney Runkle
9dd494ddcd
fix(langchain): conditional tools -> end edge when all client side calls return direct ( #33550 )
...
mostly #33520
also tacking on change to make sure we're only looking at client side
calls for the jump to end
---------
Co-authored-by: Nuno Campos <nuno@boringbits.io >
2025-10-17 02:35:47 +00:00
Sydney Runkle
2fa07b19f6
chore(langchain_v1): relax typing on input state ( #33552 )
...
so we don't get type errors when invoking w/ dict type (openai format)
messages
would love to have types for these eventually so we can get proper
checking
before
<img width="759" height="257" alt="Screenshot 2025-10-16 at 9 46 08 PM"
src="https://github.com/user-attachments/assets/aabe716f-6d8f-429d-ae47-31dd8617752d "
/>
after
<img width="751" height="228" alt="Screenshot 2025-10-16 at 9 51 09 PM"
src="https://github.com/user-attachments/assets/e74dcf12-874b-43ca-9d5b-5575ef8ced73 "
/>
2025-10-16 22:35:28 -04:00