Mason Daugherty
1ead03c79d
feat(standard-tests): ensure final chunk has chunk_position='last' ( #34704 )
2026-01-13 10:55:21 -05:00
Mason Daugherty
3d687ea8fb
chore: update twitter URLs ( #34736 )
2026-01-13 01:54:11 -05:00
Mason Daugherty
3bd8c0c4a3
fix(standard-tests): add type ignore ( #34696 )
...
Regression introduced in 8e3c6b109f
The commit changed the return annotation of `with_structured_output`
from `typing.Dict | BaseModel` to `builtins.dict[str, Any] | BaseModel`.
Since `BaseModel` refers to `pydantic.BaseModel (v2)`, but the test
`test_structured_output_pydantic_2_v1` uses `pydantic.v1.BaseModel`,
mypy's `warn_unreachable` setting flags the `isinstance` checks as
unreachable (since a class can't be both a `dict` and a different
`BaseModel` type).
Switching to `builtins.dict[str, Any]` made the type more precise, which
exposed this type incompatibility that was always latent but hidden by
the looser `typing.Dict` annotation.
2026-01-09 23:07:05 -05:00
Christophe Bornet
8e824d9ec4
style: bump ruff version to 0.14.11 ( #34674 )
...
With ruff 0.14.11+, we can remove `PLW1510` from `unfixable` (see
https://github.com/astral-sh/ruff/issues/17091 )
2026-01-09 16:30:24 -05:00
Sydney Runkle
fbe9babb34
fix: remove relative imports ( #34680 )
...
standardizing on absolute imports rather than relative across the
codebase
2026-01-09 13:00:51 -05:00
Christophe Bornet
e03d6b80d5
chore(deps): bump mypy to v1.19 and ruff to v1.14 ( #34521 )
...
* Set mypy to >=1.19.1,<1.20
* Set ruff to >=0.14.10,<0.15
2025-12-29 18:07:55 -06:00
Mason Daugherty
e81f00fb29
docs(standard-tests): remove autodoc comment ( #34532 )
2025-12-29 17:25:52 -06:00
Mason Daugherty
30ac1da0de
release(standard-tests): 1.1.2 ( #34507 )
2025-12-27 03:01:56 -06:00
Christophe Bornet
5884fb9523
style(text-splitters,standard-tests,cli): add ruff TC and RUF012 rules ( #34495 )
...
Co-authored-by: Mason Daugherty <mason@langchain.dev >
2025-12-27 01:41:33 -06:00
Christophe Bornet
d46187201d
style: add ruff ISC001 rule ( #34493 )
...
ISC001 doesn't conflict anymore with the formatter. See
https://github.com/astral-sh/ruff/issues/8272
Co-authored-by: Mason Daugherty <mason@langchain.dev >
2025-12-26 21:39:56 -06:00
ccurme
5ec0fa69de
fix(core): serialization patch ( #34455 )
...
- `allowed_objects` kwarg in `load`
- escape lc-ser formatted dicts on `dump`
- fix for jinja2
---------
Co-authored-by: Mason Daugherty <github@mdrxy.com >
2025-12-22 17:33:31 -06:00
Mason Daugherty
b83e9b1056
release(standard-tests): 1.1.1 ( #34393 )
2025-12-16 14:25:12 -05:00
Mason Daugherty
c85f7b6061
docs(standard-tests): throw more descriptive errors for some streaming cases ( #34389 )
2025-12-16 11:22:35 -05:00
Mason Daugherty
7c9223d2b2
release(standard-tests): 1.1.0 ( #34331 )
2025-12-12 16:55:41 -05:00
Christophe Bornet
fc35544e0d
chore(standard-tests): enable mypy disallow_any_generics rule ( #34222 )
...
Co-authored-by: Sydney Runkle <54324534+sydney-runkle@users.noreply.github.com >
Co-authored-by: Sydney Runkle <sydneymarierunkle@gmail.com >
2025-12-12 14:30:27 -05:00
Christophe Bornet
f5b6eecf72
refactor(standard-tests): improve VCR config ( #33968 )
...
Use of the fixture `_base_vcr_config` is deprecated with alternative
function `base_vcr_config()`
This way:
* we don't need to import `_base_vcr_config` seen as unused (which leads
to ruff violations PLC0414 and F811)
* we don't need to make a copy since a new dict is created at each
function invocation
Co-authored-by: Mason Daugherty <mason@langchain.dev >
2025-12-12 10:14:26 -05:00
Mason Daugherty
b009ca4d23
feat(standard-tests): invocation model override ( #34170 )
...
inspired by noticing `ChatGoogleGenerativeAI` failed to do so
2025-12-08 15:44:22 -05:00
Mason Daugherty
0254c12cb0
feat(standard-tests): ensure only one chunk sets model_name in usage_metadata ( #34224 )
2025-12-08 15:41:39 -05:00
Mason Daugherty
d886dcfba5
fix(standard-tests)!: remove deprecated has_tool_choice property ( #34174 )
...
Deprecated since `0.3.15`
This was marked as being removed in `0.3.20` but never was
2025-12-08 15:31:55 -05:00
Mason Daugherty
b95cb770e8
docs(standard-tests): ensure first admonition is expanded ( #34194 )
...
better UX
2025-12-03 15:03:11 -05:00
Mason Daugherty
3108b14164
docs(standard-tests): fix supports_json_mode docstring ( #34181 )
2025-12-03 00:12:57 -05:00
Mason Daugherty
1922adc092
docs(standard-tests): fix formatting bug, rearrange admonition ( #34180 )
2025-12-02 23:40:11 -05:00
Mason Daugherty
4a242a8a4f
docs(standard-tests): enrich doc to indicate missing default values ( #34179 )
2025-12-02 23:32:21 -05:00
Mason Daugherty
064b37f90e
docs(standard-tests): improve doc for structured_output_kwargs and supports_json_mode ( #34178 )
2025-12-02 23:18:53 -05:00
Mason Daugherty
062678fa18
fix(standard-tests): fix broken links ( #34175 )
2025-12-02 20:52:27 -05:00
Mason Daugherty
5d3e3d3f31
fix(standard-tests): remove broken code block docstring title ( #34173 )
2025-12-02 20:18:31 -05:00
Mason Daugherty
5a7cf87626
style(standard-tests): some fencing ( #34171 )
2025-12-02 14:42:26 -05:00
ccurme
f070217c3b
release(standard-tests): 1.0.2 ( #34071 )
...
Resolves https://github.com/langchain-ai/langchain/issues/34069
2025-11-22 18:35:09 -05:00
Mason Daugherty
47b79c30c0
chore(docs): fix a few refs syntax errors ( #34044 )
...
missing whitespace for some admonitions
2025-11-22 00:58:21 -05:00
ccurme
9b7792631d
feat(anthropic): support native structured output feature and strict tool calling ( #33980 )
2025-11-17 16:14:20 -05:00
Mason Daugherty
52b1516d44
style(langchain): fix some middleware ref syntax ( #33988 )
2025-11-16 00:33:17 -05:00
Christophe Bornet
ef79c26f18
chore(cli,standard-tests,text-splitters): fix some ruff TC rules ( #33934 )
...
Co-authored-by: Mason Daugherty <mason@langchain.dev >
2025-11-12 14:06:31 -05:00
Mason Daugherty
e023201d42
style: some cleanup ( #33857 )
2025-11-06 23:50:46 -05:00
Mason Daugherty
d40e340479
chore: attribute package change versions ( #33854 )
...
Needed to disambiguate for within inherited docs
2025-11-06 16:57:30 -05:00
Mason Daugherty
c6547f58b7
style(standard-tests): refs pass ( #33814 )
2025-11-04 00:01:16 -05:00
Mason Daugherty
dfb05a7fa0
style: refs pass ( #33813 )
2025-11-03 22:11:10 -05:00
ccurme
1381137c37
release(standard-tests): 1.0.1 ( #33792 )
2025-11-03 09:46:39 -05:00
ccurme
81c4f21b52
fix(standard-tests): update multimodal tests ( #33781 )
2025-11-01 16:38:20 -04:00
Mason Daugherty
123e29dc26
style: more refs fixes ( #33730 )
2025-10-29 16:34:46 -04:00
Mason Daugherty
7872643910
chore(standard-tests): Update API reference link in README ( #33714 )
2025-10-28 23:29:02 -04:00
Mason Daugherty
e5e1d6c705
style: more refs work ( #33707 )
2025-10-28 14:43:28 -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
Mason Daugherty
e731ba1e47
style: more refs work ( #33616 )
2025-10-20 18:40:19 -04:00
Mason Daugherty
64e6798a39
chore: update pyproject.toml url entries ( #33587 )
2025-10-17 17:16:55 -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
888fa3a2fb
release(standard-tests): 1.0.0 ( #33563 )
2025-10-17 09:53:59 -04:00
Mason Daugherty
1d2273597a
docs: more fixes for refs ( #33554 )
2025-10-16 22:54:16 -04:00
ccurme
13259a109a
release(standard-tests): 1.0.0rc1 ( #33531 )
2025-10-16 14:09:41 -04:00
Mason Daugherty
26e0a00c4c
style: more work for refs ( #33508 )
...
Largely:
- Remove explicit `"Default is x"` since new refs show default inferred
from sig
- Inline code (useful for eventual parsing)
- Fix code block rendering (indentations)
2025-10-15 18:46:55 -04:00