Skip to content

Commit 1aeff43

Browse files
committed
Merge branch 'master' into noeliecarbo/feat_remove_tenacity_retries_from_mistralai_embeddings
2 parents 7457d95 + 7d7a50d commit 1aeff43

File tree

356 files changed

+19411
-8923
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

356 files changed

+19411
-8923
lines changed

.github/scripts/check_diff.py

Lines changed: 7 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -130,23 +130,14 @@ def _get_configs_for_single_dir(job: str, dir_: str) -> List[Dict[str, str]]:
130130
return _get_pydantic_test_configs(dir_)
131131

132132
if job == "codspeed":
133-
py_versions = ["3.12"] # 3.13 is not yet supported
133+
py_versions = ["3.13"]
134134
elif dir_ == "libs/core":
135-
py_versions = ["3.10", "3.11", "3.12", "3.13"]
135+
py_versions = ["3.10", "3.11", "3.12", "3.13", "3.14"]
136136
# custom logic for specific directories
137-
138-
elif dir_ == "libs/langchain" and job == "extended-tests":
139-
py_versions = ["3.10", "3.13"]
140-
elif dir_ == "libs/langchain_v1":
141-
py_versions = ["3.10", "3.13"]
142-
elif dir_ in {"libs/cli"}:
137+
elif dir_ in {"libs/partners/chroma", "libs/partners/nomic"}:
143138
py_versions = ["3.10", "3.13"]
144-
145-
elif dir_ == ".":
146-
# unable to install with 3.13 because tokenizers doesn't support 3.13 yet
147-
py_versions = ["3.10", "3.12"]
148139
else:
149-
py_versions = ["3.10", "3.13"]
140+
py_versions = ["3.10", "3.14"]
150141

151142
return [{"working-directory": dir_, "python-version": py_v} for py_v in py_versions]
152143

@@ -306,7 +297,9 @@ def _get_configs_for_multi_dirs(
306297
if not filename.startswith(".")
307298
] != ["README.md"]:
308299
dirs_to_run["test"].add(f"libs/partners/{partner_dir}")
309-
dirs_to_run["codspeed"].add(f"libs/partners/{partner_dir}")
300+
# Skip codspeed for partners without benchmarks or in IGNORED_PARTNERS
301+
if partner_dir not in IGNORED_PARTNERS:
302+
dirs_to_run["codspeed"].add(f"libs/partners/{partner_dir}")
310303
# Skip if the directory was deleted or is just a tombstone readme
311304
elif file.startswith("libs/"):
312305
# Check if this is a root-level file in libs/ (e.g., libs/README.md)

.github/workflows/check_diffs.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -184,15 +184,14 @@ jobs:
184184
steps:
185185
- uses: actions/checkout@v5
186186

187-
# We have to use 3.12 as 3.13 is not yet supported
188187
- name: "📦 Install UV Package Manager"
189188
uses: astral-sh/setup-uv@v7
190189
with:
191-
python-version: "3.12"
190+
python-version: "3.13"
192191

193192
- uses: actions/setup-python@v6
194193
with:
195-
python-version: "3.12"
194+
python-version: "3.13"
196195

197196
- name: "📦 Install Test Dependencies"
198197
run: uv sync --group test

.github/workflows/pr_lint.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
# * release — prepare a new release
2828
#
2929
# Allowed Scopes (optional):
30-
# core, cli, langchain, langchain_v1, langchain_legacy, standard-tests,
30+
# core, cli, langchain, langchain_v1, langchain-classic, standard-tests,
3131
# text-splitters, docs, anthropic, chroma, deepseek, exa, fireworks, groq,
3232
# huggingface, mistralai, nomic, ollama, openai, perplexity, prompty, qdrant,
3333
# xai, infra
@@ -80,7 +80,7 @@ jobs:
8080
cli
8181
langchain
8282
langchain_v1
83-
langchain_legacy
83+
langchain-classic
8484
standard-tests
8585
text-splitters
8686
docs

AGENTS.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,9 +163,11 @@ def send_email(to: str, msg: str, *, priority: str = "normal") -> bool:
163163
**Documentation Guidelines:**
164164

165165
- Types go in function signatures, NOT in docstrings
166+
- If a default is present, DO NOT repeat it in the docstring unless there is post-processing or it is set conditionally.
166167
- Focus on "why" rather than "what" in descriptions
167168
- Document all parameters, return values, and exceptions
168169
- Keep descriptions concise but clear
170+
- Ensure American English spelling (e.g., "behavior", not "behaviour")
169171

170172
📌 *Tip:* Keep descriptions concise but clear. Only document return values if non-obvious.
171173

CLAUDE.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,9 +163,11 @@ def send_email(to: str, msg: str, *, priority: str = "normal") -> bool:
163163
**Documentation Guidelines:**
164164

165165
- Types go in function signatures, NOT in docstrings
166+
- If a default is present, DO NOT repeat it in the docstring unless there is post-processing or it is set conditionally.
166167
- Focus on "why" rather than "what" in descriptions
167168
- Document all parameters, return values, and exceptions
168169
- Keep descriptions concise but clear
170+
- Ensure American English spelling (e.g., "behavior", not "behaviour")
169171

170172
📌 *Tip:* Keep descriptions concise but clear. Only document return values if non-obvious.
171173

MIGRATE.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
Please see the following guides for migrating LangChain code:
44

5+
* Migrate to [LangChain v1.0](https://docs.langchain.com/oss/python/migrate/langchain-v1)
56
* Migrate to [LangChain v0.3](https://python.langchain.com/docs/versions/v0_3/)
67
* Migrate to [LangChain v0.2](https://python.langchain.com/docs/versions/v0_2/)
78
* Migrating from [LangChain 0.0.x Chains](https://python.langchain.com/docs/versions/migrating_chains/)

README.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,16 @@
1212

1313
<p align="center">
1414
<a href="https://opensource.org/licenses/MIT" target="_blank">
15-
<img src="https://img.shields.io/pypi/l/langchain-core?style=flat-square" alt="PyPI - License">
15+
<img src="https://img.shields.io/pypi/l/langchain" alt="PyPI - License">
1616
</a>
17-
<a href="https://pypistats.org/packages/langchain-core" target="_blank">
17+
<a href="https://pypistats.org/packages/langchain" target="_blank">
1818
<img src="https://img.shields.io/pepy/dt/langchain" alt="PyPI - Downloads">
1919
</a>
20+
<a href="https://pypi.org/project/langchain/#history" target="_blank">
21+
<img src="https://img.shields.io/pypi/v/langchain?label=%20" alt="Version">
22+
</a>
2023
<a href="https://vscode.dev/redirect?url=vscode://ms-vscode-remote.remote-containers/cloneInVolume?url=https://github.com/langchain-ai/langchain" target="_blank">
21-
<img src="https://img.shields.io/static/v1?label=Dev%20Containers&message=Open&color=blue&logo=visualstudiocode&style=flat-square" alt="Open in Dev Containers">
24+
<img src="https://img.shields.io/static/v1?label=Dev%20Containers&message=Open&color=blue&logo=visualstudiocode" alt="Open in Dev Containers">
2225
</a>
2326
<a href="https://codespaces.new/langchain-ai/langchain" target="_blank">
2427
<img src="https://github.com/codespaces/badge.svg" alt="Open in Github Codespace" title="Open in Github Codespace" width="150" height="20">
@@ -70,5 +73,6 @@ To improve your LLM application development, pair LangChain with:
7073
- [Learn](https://docs.langchain.com/oss/python/learn): Use cases, conceptual overviews, and more.
7174
- [API Reference](https://reference.langchain.com/python): Detailed reference on
7275
navigating base packages and integrations for LangChain.
76+
- [Contributing Guide](https://docs.langchain.com/oss/python/contributing/overview): Learn how to contribute to LangChain and find good first issues.
7377
- [LangChain Forum](https://forum.langchain.com): Connect with the community and share all of your technical questions, ideas, and feedback.
7478
- [Chat LangChain](https://chat.langchain.com): Ask questions & chat with our documentation.

libs/cli/README.md

Lines changed: 26 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,30 @@
11
# langchain-cli
22

3-
This package implements the official CLI for LangChain. Right now, it is most useful
4-
for getting started with LangChain Templates!
3+
[![PyPI - Version](https://img.shields.io/pypi/v/langchain-cli?label=%20)](https://pypi.org/project/langchain-cli/#history)
4+
[![PyPI - License](https://img.shields.io/pypi/l/langchain-cli)](https://opensource.org/licenses/MIT)
5+
[![PyPI - Downloads](https://img.shields.io/pepy/dt/langchain-cli)](https://pypistats.org/packages/langchain-cli)
6+
[![Twitter](https://img.shields.io/twitter/url/https/twitter.com/langchainai.svg?style=social&label=Follow%20%40LangChainAI)](https://twitter.com/langchainai)
7+
8+
## Quick Install
9+
10+
```bash
11+
pip install langchain-cli
12+
```
13+
14+
## 🤔 What is this?
15+
16+
This package implements the official CLI for LangChain. Right now, it is most useful for getting started with LangChain Templates!
17+
18+
## 📖 Documentation
519

620
[CLI Docs](https://github.com/langchain-ai/langchain/blob/master/libs/cli/DOCS.md)
21+
22+
## 📕 Releases & Versioning
23+
24+
See our [Releases](https://docs.langchain.com/oss/python/release-policy) and [Versioning](https://docs.langchain.com/oss/python/versioning) policies.
25+
26+
## 💁 Contributing
27+
28+
As an open-source project in a rapidly developing field, we are extremely open to contributions, whether it be in the form of a new feature, improved infrastructure, or better documentation.
29+
30+
For detailed information on how to contribute, see the [Contributing Guide](https://docs.langchain.com/oss/python/contributing/overview).

0 commit comments

Comments
 (0)