Mason Daugherty
2dc89a2ae7
release(cli): 0.0.37 ( #32760 )
...
It's been a minute. Final release prior to dropping Python 3.9 support.
2025-08-30 13:07:55 -05:00
Christophe Bornet
e3c4aeaea1
chore(cli): add mypy strict checking ( #32386 )
...
Co-authored-by: Mason Daugherty <mason@langchain.dev >
2025-08-30 13:02:45 -05:00
Christophe Bornet
8a1419dad1
chore(cli): add ruff rules ANN401 and D1 ( #32576 )
2025-08-30 12:41:16 -05:00
Mason Daugherty
3d08b6bd11
chore: adress pytest-asyncio deprecation warnings + other nits ( #32696 )
...
amongst some linting imcompatible rules
2025-08-26 15:51:38 -04:00
Christophe Bornet
cf2b4bbe09
chore(cli): select ALL rules with exclusions ( #31936 )
...
Co-authored-by: Mason Daugherty <mason@langchain.dev >
2025-08-11 22:43:11 +00:00
Christophe Bornet
46bbd52e81
chore(cli): add ruff rules D1 ( #32350 )
...
Co-authored-by: Mason Daugherty <mason@langchain.dev >
2025-08-11 22:25:30 +00:00
niceg
0d6f915442
fix: LLM mimicking Unicode responses due to forced Unicode conversion of non-ASCII characters. ( #32222 )
...
fix: Fix LLM mimicking Unicode responses due to forced Unicode
conversion of non-ASCII characters.
- **Description:** This PR fixes an issue where the LLM would mimic
Unicode responses due to forced Unicode conversion of non-ASCII
characters in tool calls. The fix involves disabling the `ensure_ascii`
flag in `json.dumps()` when converting tool calls to OpenAI format.
- **Issue:** Fixes ↓↓↓
input:
```json
{'role': 'assistant', 'tool_calls': [{'type': 'function', 'id': 'call_nv9trcehdpihr21zj9po19vq', 'function': {'name': 'create_customer', 'arguments': '{"customer_name": "你好啊集团"}'}}]}
```
output:
```json
{'role': 'assistant', 'tool_calls': [{'type': 'function', 'id': 'call_nv9trcehdpihr21zj9po19vq', 'function': {'name': 'create_customer', 'arguments': '{"customer_name": "\\u4f60\\u597d\\u554a\\u96c6\\u56e2"}'}}]}
```
then:
llm will mimic outputting unicode. Unicode's vast number of symbols can
lengthen LLM responses, leading to slower performance.
<img width="686" height="277" alt="image"
src="https://github.com/user-attachments/assets/28f3b007-3964-4455-bee2-68f86ac1906d "
/>
---------
Co-authored-by: Mason Daugherty <github@mdrxy.com >
Co-authored-by: Mason Daugherty <mason@langchain.dev >
2025-07-24 17:01:31 -04:00
Mason Daugherty
ae210c1590
ruff: add bugbear across packages ( #31917 )
...
WIP, other packages will get in next PRs
2025-07-08 12:22:55 -04:00
Mason Daugherty
750721b4c3
huggingface[patch]: ruff fixes and rules ( #31912 )
...
* bump ruff deps
* add more thorough ruff rules
* fix said rules
2025-07-08 10:07:57 -04:00
Mason Daugherty
e7eac27241
ruff: more rules across the board & fixes ( #31898 )
...
* standardizes ruff dep version across all `pyproject.toml` files
* cli: ruff rules and corrections
* langchain: rules and corrections
2025-07-07 17:48:01 -04:00
Christophe Bornet
46fe09f013
cli: Bump ruff version to 0.12 ( #31864 )
2025-07-05 17:15:24 -04:00
Christophe Bornet
b8e9b4adfc
cli: Add ruff rule UP (pyupgrade) ( #31843 )
...
See https://docs.astral.sh/ruff/rules/#pyupgrade-up
All auto-fixed
Co-authored-by: Eugene Yurtsev <eyurtsev@gmail.com >
2025-07-03 14:12:46 +00:00
Sydney Runkle
7e926520d5
packaging: remove Python upper bound for langchain and co libs ( #31025 )
...
Follow up to https://github.com/langchain-ai/langsmith-sdk/pull/1696 ,
I've bumped the `langsmith` version where applicable in `uv.lock`.
Type checking problems here because deps have been updated in
`pyproject.toml` and `uv lock` hasn't been run - we should enforce that
in the future - goes with the other dependabot todos :).
2025-04-28 14:44:28 -04:00
ccurme
b09e7c125c
cli: use pytest-watcher ( #30465 )
...
pytest-watch is no longer maintained.
2025-03-24 18:06:31 +00:00
Eugene Yurtsev
894fd63a61
cli: release 0.0.36 ( #30159 )
...
Bump for 0.0.36
2025-03-07 13:05:40 -05:00
ccurme
806211475a
core[patch]: update structured output tracing ( #30123 )
...
- Trace JSON schema in `options`
- Rename to `ls_structured_output_format`
2025-03-07 13:05:25 -05:00
Erick Friis
1a225fad03
multiple: fix uv path deps ( #29790 )
...
file:// format wasn't working with updates - it doesn't install as an
editable dep
move to tool.uv.sources with path= instead
2025-02-13 21:32:34 +00:00
ccurme
d172984c91
infra: migrate to uv ( #29566 )
2025-02-06 13:36:26 -05:00
Morgante Pell
79fc9b6b04
cli: bump gritql version ( #28981 )
...
**Description:**
bump gritql dependency, to use new binary names from
[here](https://github.com/getgrit/gritql/pull/565 )
**Issue:**
fixes https://github.com/langchain-ai/langchain/issues/27822
2025-01-01 20:02:46 -08:00
Erick Friis
bc636ccc60
cli: release 0.0.35 ( #28557 )
2024-12-05 16:40:52 -08:00
Erick Friis
ecff9a01e4
cli: release 0.0.34 ( #28525 )
2024-12-05 15:35:49 +00:00
Erick Friis
43c35d19d4
cli: standard tests in cli, test that they run, skip vectorstore tests ( #28521 )
2024-12-05 00:38:32 -08:00
Erick Friis
4ccb3e64c7
cli: release 0.0.33 ( #28278 )
2024-11-21 20:13:37 -08:00
William FH
197b885911
[CLI] Relax constraints ( #28218 )
2024-11-19 09:31:56 -08:00
Eugene Yurtsev
88891477eb
langchain-cli: release 0.0.31 ( #26533 )
...
langchain-cli 0.0.31 release
2024-09-16 12:57:24 -04:00
Erick Friis
c2a3021bb0
multiple: pydantic 2 compatibility, v0.3 ( #26443 )
...
Signed-off-by: ChengZi <chen.zhang@zilliz.com >
Co-authored-by: Eugene Yurtsev <eyurtsev@gmail.com >
Co-authored-by: Bagatur <22008038+baskaryan@users.noreply.github.com >
Co-authored-by: Dan O'Donovan <dan.odonovan@gmail.com >
Co-authored-by: Tom Daniel Grande <tomdgrande@gmail.com >
Co-authored-by: Grande <Tom.Daniel.Grande@statsbygg.no >
Co-authored-by: Bagatur <baskaryan@gmail.com >
Co-authored-by: ccurme <chester.curme@gmail.com >
Co-authored-by: Harrison Chase <hw.chase.17@gmail.com >
Co-authored-by: Tomaz Bratanic <bratanic.tomaz@gmail.com >
Co-authored-by: ZhangShenao <15201440436@163.com >
Co-authored-by: Friso H. Kingma <fhkingma@gmail.com >
Co-authored-by: ChengZi <chen.zhang@zilliz.com >
Co-authored-by: Nuno Campos <nuno@langchain.dev >
Co-authored-by: Morgante Pell <morgantep@google.com >
2024-09-13 14:38:45 -07:00
Erick Friis
9447925d94
cli: release 0.0.30 ( #25672 )
2024-08-22 10:21:19 -07:00
Erick Friis
da9281feb2
cli: release 0.0.29 ( #25196 )
2024-08-08 12:52:49 -07:00
Erick Friis
a7380dd531
cli: release 0.0.28 ( #24852 )
2024-07-31 13:03:24 -07:00
Erick Friis
b099cc3507
cli: release 0.0.27 ( #24842 )
2024-07-30 22:07:50 +00:00
Erick Friis
8f3c052db1
cli: release 0.0.26 ( #24623 )
...
- **cli: remove snapshot flag from pytest defaults**
- **x**
- **x**
2024-07-24 13:13:58 -07:00
Erick Friis
3dce2e1d35
all: add release notes to pypi ( #24519 )
2024-07-22 13:59:13 -07:00
Bagatur
a4798802ef
cli[patch]: ruff 0.5 ( #23833 )
2024-07-03 18:33:15 +00:00
Bagatur
8bd368d07e
cli[patch]: Release 0.0.25 ( #22876 )
2024-06-14 02:31:04 +00:00
Bagatur
aa6c31df53
cli[patch]: Release 0.0.24 ( #22293 )
2024-05-29 13:37:34 -07:00
Bagatur
627a337887
docs, cli[patch]: chat model doc template ( #22290 )
...
Update ChatModel integration doc template, integration docstring, and
adds langchain-cli command to easily create just doc (for updating
existing integrations):
```bash
langchain-cli integration create-doc --name "foo-bar"
```
2024-05-29 13:34:58 -07:00
Erick Friis
95c3e5f85f
cli: model name substitution fix, release 0.0.23 ( #22089 )
2024-05-23 13:09:38 -07:00
Erick Friis
8580e350be
cli: release 0.0.22 ( #21507 )
2024-05-09 21:45:20 +00:00
Eugene Yurtsev
12c906f6ce
cli[minor]: Improve partner migrations ( #20938 )
...
This auto generates partner migrations.
At the moment the migration is from community -> partner.
So one would need to run the migration script twice to go from langchain to partner.
2024-04-26 12:30:15 -04:00
Eugene Yurtsev
6598757037
cli[minor]: Add first version of migrate ( #20902 )
...
Adds a first version of the migrate script.
2024-04-26 10:50:21 -04:00
Taqi Jaffri
72c8b3127d
cli[patch]: Fix typo in dev script name for the --chat-playground option on the cli ( #19673 )
...
Fixes typo
---------
Co-authored-by: Taqi Jaffri <tjaffri@docugami.com >
2024-03-27 15:56:11 -04:00
Erick Friis
bf8ba00520
cli[patch]: release 0.0.22rc0, chat playground ( #19614 )
2024-03-26 15:08:56 -07:00
Erick Friis
3a2eb6e12b
infra: add print rule to ruff ( #16221 )
...
Added noqa for existing prints. Can slowly remove / will prevent more
being intro'd
2024-02-09 16:13:30 -08:00
Charlie Marsh
24c0bab57b
infra, multiple: Upgrade configuration for Ruff v0.2.0 ( #16905 )
...
## Summary
This PR upgrades LangChain's Ruff configuration in preparation for
Ruff's v0.2.0 release. (The changes are compatible with Ruff v0.1.5,
which LangChain uses today.) Specifically, we're now warning when
linter-only options are specified under `[tool.ruff]` instead of
`[tool.ruff.lint]`.
---------
Co-authored-by: Erick Friis <erick@langchain.dev >
Co-authored-by: Bagatur <baskaryan@gmail.com >
2024-02-09 14:28:02 -08:00
Erick Friis
35ec0bbd3b
cli[patch]: pypi fields ( #16410 )
2024-01-22 14:28:30 -07:00
Erick Friis
2ac3a82d85
cli[patch]: new fields in integration template, release 0.0.21 ( #16398 )
2024-01-22 14:26:47 -07:00
Erick Friis
8b29b31554
cli: test_integration group ( #14924 )
2023-12-19 12:09:04 -08:00
Erick Friis
4d48aedea3
cli: 0.0.20 ( #14920 )
2023-12-19 11:56:21 -08:00
Erick Friis
858f4cbce4
cli[patch]: rc ( #14667 )
2023-12-13 10:00:04 -08:00
Erick Friis
7e6ca3c2b9
cli[patch]: integration template ( #14571 )
2023-12-13 08:55:30 -08:00