Commit Graph

14172 Commits

Author SHA1 Message Date
open-swe[bot]
7be9393319 Apply patch [skip ci] 2025-09-10 00:12:12 +00:00
open-swe[bot]
00a56d1eb0 Apply patch [skip ci] 2025-09-10 00:11:55 +00:00
open-swe[bot]
9cc388563d Apply patch [skip ci] 2025-09-10 00:11:17 +00:00
open-swe[bot]
ae1fd2378d Apply patch [skip ci] 2025-09-10 00:10:42 +00:00
open-swe[bot]
110d364c02 Apply patch [skip ci] 2025-09-10 00:10:22 +00:00
open-swe[bot]
107f810438 Apply patch [skip ci] 2025-09-10 00:10:04 +00:00
open-swe[bot]
fcccd0ad6a Apply patch [skip ci] 2025-09-10 00:09:45 +00:00
open-swe[bot]
1f2e074138 Apply patch [skip ci] 2025-09-10 00:08:46 +00:00
open-swe[bot]
0fcad2d2f3 Apply patch [skip ci] 2025-09-10 00:06:42 +00:00
open-swe[bot]
46c81c2faf Apply patch [skip ci] 2025-09-10 00:04:25 +00:00
open-swe[bot]
56b947a1a7 Apply patch [skip ci] 2025-09-10 00:03:32 +00:00
open-swe[bot]
3070424a18 Apply patch [skip ci] 2025-09-10 00:02:48 +00:00
open-swe[bot]
36b5e27ed7 Apply patch [skip ci] 2025-09-10 00:01:45 +00:00
open-swe[bot]
94a70cf851 Apply patch [skip ci] 2025-09-10 00:01:23 +00:00
open-swe[bot]
873f657b91 Apply patch [skip ci] 2025-09-10 00:00:17 +00:00
open-swe[bot]
8dfb5578ec Apply patch [skip ci] 2025-09-09 23:58:35 +00:00
open-swe[bot]
6d62aebb7f Apply patch [skip ci] 2025-09-09 23:57:52 +00:00
open-swe[bot]
57ae383059 Apply patch [skip ci] 2025-09-09 23:56:32 +00:00
open-swe[bot]
c3ea3138c4 Apply patch [skip ci] 2025-09-09 23:55:51 +00:00
open-swe[bot]
6fb94bd723 Apply patch [skip ci] 2025-09-09 23:55:33 +00:00
open-swe[bot]
953351fd0e Apply patch [skip ci] 2025-09-09 23:54:44 +00:00
open-swe[bot]
b9b3d51e32 Apply patch [skip ci] 2025-09-09 23:54:03 +00:00
open-swe[bot]
e98eb59d2d Apply patch [skip ci] 2025-09-09 23:53:22 +00:00
Sydney Runkle
d464d3089b chore: redirect docs template -> docs repo (#32872) 2025-09-09 18:24:22 -04:00
William FH
f1d44d0f9d fix(core): honor enabled=false in nested tracing (#31986)
Co-authored-by: Mason Daugherty <mason@langchain.dev>
Co-authored-by: Mason Daugherty <github@mdrxy.com>
2025-09-09 13:12:17 -07:00
Christophe Bornet
a35ee49f37 chore(langchain): enable ruff docstring-code-format in langchain (#32858) 2025-09-09 15:00:38 -04:00
Christophe Bornet
352ff363ca chore(cli): remove ruff exclusion of templates (#32864) 2025-09-09 14:56:47 -04:00
Christophe Bornet
256a0b5f2f chore(langchain): add ruff rule BLE (#32868)
Co-authored-by: Mason Daugherty <mason@langchain.dev>
2025-09-09 18:52:53 +00:00
ccurme
937087a29c release(groq): 0.3.8 (#32870) langchain-groq==0.3.8 2025-09-09 14:39:02 -04:00
Jan Z
08bf4c321f feat(groq): add support for json_schema (#32396) 2025-09-09 18:30:07 +00:00
Mason Daugherty
4c6af2d1b2 fix(openai): structured output (#32551) 2025-09-09 11:37:50 -04:00
Christophe Bornet
ee268db1c5 feat(standard-tests): add a property to skip relevant tests if the vector store doesn't support get_by_ids() (#32633) 2025-09-09 11:37:23 -04:00
Zhou Jing
dcc517b187 fix(core): ensure InjectedToolCallId always overrides LLM-generated values (#32766) 2025-09-09 11:25:52 -04:00
Mason Daugherty
c124e67325 chore(docs): update package READMEs (#32869)
- Fix badges
- Focus on agents
- Cut down fluff
2025-09-09 14:50:32 +00:00
Christophe Bornet
699a5d06d1 chore(langchain): add ruff rule ERA (#32867) 2025-09-09 10:13:18 -04:00
Christophe Bornet
00f699c60d chore(core): cleanup pyproject.toml (#32865) 2025-09-09 10:12:18 -04:00
Christophe Bornet
e36e25fe2f feat(langchain): support PEP604 ( | union) in tool node error handlers (#32861)
This allows to use PEP604 syntax for `ToolNode` error handlers
```python
def error_handler(e: ValueError | ToolException) -> str:
    return "error"

ToolNode(my_tool, handle_tool_errors=error_handler).invoke(...)
```
Without this change, this fails with `AttributeError: 'types.UnionType'
object has no attribute '__mro__'`
2025-09-09 10:11:12 -04:00
Christophe Bornet
cc3b5afe52 fix(huggingface): fix typing in test_standard (#32863) 2025-09-09 10:05:41 -04:00
Gal Bloch
428c2ee6c5 fix(langchain): preserve supplied llm in FlareChain.from_llm (#32847) 2025-09-09 13:41:23 +00:00
Christophe Bornet
714f74a847 refactor(core): improve beta decorator (#32505)
This is better than using a subclass as returning a `property` works
with `ClassWithBetaMethods.beta_property.__doc__`

Co-authored-by: Mason Daugherty <mason@langchain.dev>
2025-09-08 18:06:48 -04:00
Christophe Bornet
c3b28c769a chore(langchain): add ruff rules D (except D100 and D104) (#31994)
See https://docs.astral.sh/ruff/rules/#pydocstyle-d

Co-authored-by: Mason Daugherty <mason@langchain.dev>
2025-09-08 21:47:22 +00:00
Christophe Bornet
017348b27c chore(langchain): add ruff rule E501 in langchain_v1 (#32812)
Co-authored-by: Mason Daugherty <mason@langchain.dev>
2025-09-08 17:28:14 -04:00
Christophe Bornet
1e101ae9a2 chore(langchain): add ruff rules N (#32098)
See https://docs.astral.sh/ruff/rules/#pep8-naming-n

Co-authored-by: Mason Daugherty <mason@langchain.dev>
2025-09-08 17:27:43 -04:00
Christophe Bornet
fe6c415c9f chore(langchain): add ruff rule UP007 in langchain_v1 (#32811)
Done by autofix
2025-09-08 17:26:00 -04:00
Christophe Bornet
54c2419a4e chore(langchain): enable ruff docstring-code-format in langchain_v1 (#32855) 2025-09-08 16:51:18 -04:00
Mason Daugherty
35e9d36b0e fix(standard-tests): ensure non-negative token counts in usage metadata assertions (#32593) 2025-09-08 16:49:26 -04:00
Christophe Bornet
8b90eae455 chore(text-splitters): enable ruff docstring-code-format (#32854) 2025-09-08 16:40:11 -04:00
Christophe Bornet
05d14775f2 chore(standard-tests): enable ruff docstring-code-format (#32852) 2025-09-08 16:39:53 -04:00
PieterKok-jaam
33c7f230e0 feat(core): add id field to Document passed to filter for InMemoryVectorStore similarity search (#32688)
Added an id field to the Document passed to filter for
InMemoryVectorStore similarity search. This allows filtering by Document
id and brings the input to the filter in line with the result returned
by the vector similarity search.

---------

Co-authored-by: Eugene Yurtsev <eyurtsev@gmail.com>
2025-09-08 20:39:18 +00:00
Mason Daugherty
97dd7628d2 chore: update badges (#32851)
- stars badge redundant (look at the top of the page)
- remove version badge since we have many pkgs (and it was only showing
core) -- also, just look at the releases tab to the right of the readme
2025-09-08 20:06:59 +00:00