Commit Graph

14382 Commits

Author SHA1 Message Date
Lauren Hirata Singh
889e8b6de8 Revert 33805 fix last plz (#33806) 2025-11-03 16:16:18 -05:00
Lauren Hirata Singh
5cb0501c59 fix(docs): redirects (#33805) 2025-11-03 15:58:13 -05:00
Lauren Hirata Singh
5838e3e8e5 fix(docs): fine tune redirects (#33802) 2025-11-03 15:01:53 -05:00
Lauren Hirata Singh
fbd96c688a chore(docs): Add redirect for multi-modal (#33801) 2025-11-03 13:04:41 -05:00
Lauren Hirata Singh
2085f69d68 fix(docs): Make redirects more specific for integrations (#33799) 2025-11-03 11:38:56 -05:00
Lauren Hirata Singh
df2ec0ca38 fix(docs): Fix regex in redirects (#33795) 2025-11-03 10:52:37 -05:00
Lauren Hirata Singh
51e1447c9e chore(docs): add api reference redirects (#33765) 2025-10-31 13:50:00 -04:00
Lauren Hirata Singh
bac96fe33f fix(docs): get redirects to build (#33763) 2025-10-31 12:09:21 -04:00
Lauren Hirata Singh
d8b08a1ecd fix(docs): redirects (#33734) 2025-10-29 17:57:08 -04:00
Lauren Hirata Singh
9b5e00f578 fix(docs): Redirects fix (#33724) 2025-10-29 13:47:16 -04:00
Lauren Hirata Singh
8c22e69491 chore(docs): redirects to new docs (#33703)
Co-authored-by: Mason Daugherty <mason@langchain.dev>
2025-10-29 12:12:18 -04:00
Mason Daugherty
d62b4499ad fix: (v0.3) unsupported @vercel/edge import (#33620) 2025-10-21 00:37:40 -04:00
Mason Daugherty
f8bb3f0d19 docs: v0.3 deprecation banner (#33613) 2025-10-20 17:01:06 -04:00
Mason Daugherty
8284e278d6 Revert "chore(docs): v0.3 redirects" (#33612)
Reverts langchain-ai/langchain#33553
2025-10-20 11:27:03 -04:00
Lauren Hirata Singh
3a846eeb8d chore(docs): v0.3 redirects (#33553) 2025-10-17 00:00:21 -04:00
Lauren Hirata Singh
d273341249 chore(docs): add middleware to handle redirects (#33547)
still need to add v0.3 redirects
2025-10-16 21:12:08 -04:00
Lauren Hirata Singh
db49a14a34 chore(docs): Redirects v0.1/v0.2 (#33538) 2025-10-16 16:46:37 -04:00
Mason Daugherty
ab7eda236e fix: feature table for MongoDB (#33471) 2025-10-13 21:17:22 -04:00
Jib
d418cbdf44 docs: flag Multi Tenancy as a MongoDBAtlasVectorStore supported feature (#33469)
- **Description:** 
- Change the docs flag for v0.3 branch to list Multi-tenancy as a
MongoDBAtlasVectorStore supported feature
  - **Issue:** N/A
  - **Dependencies:** None

- [x] **Lint and test**: Run `make format`, `make lint` and `make test`
from the root of the package(s) you've modified. **We will not consider
a PR unless these three are passing in CI.** See [contribution
guidelines](https://docs.langchain.com/oss/python/contributing) for
more.

Additional guidelines:

- Most PRs should not touch more than one package.
- Please do not add dependencies to `pyproject.toml` files (even
optional ones) unless they are **required** for unit tests. Likewise,
please do not update the `uv.lock` files unless you are adding a
required dependency.
- Changes should be backwards compatible.
- Make sure optional dependencies are imported within a function.
2025-10-13 16:57:40 -04:00
ccurme
b93d2f7f3a release(core): 0.3.79 (#33401) langchain-core==0.3.79 2025-10-09 16:59:16 -04:00
ccurme
a763ebe86c release(anthropic): 0.3.22 (#33394) langchain-anthropic==0.3.22 2025-10-09 14:29:38 -04:00
ccurme
5fa1094451 fix(anthropic,standard-tests): carry over updates to v0.3 (#33393)
Cherry pick of https://github.com/langchain-ai/langchain/pull/33390 and
https://github.com/langchain-ai/langchain/pull/33391.
2025-10-09 14:25:34 -04:00
Anika
dd4de696b8 fix(core): handle parent/child mustache vars (#33346)
Description:

currently mustache_schema("{{x.y}} {{x}}") will error. pr fixes

Issue: na
**Dependencies:**na

---------

Co-authored-by: Mason Daugherty <github@mdrxy.com>
2025-10-09 08:52:10 -07:00
Mason Daugherty
809a0216a5 chore: update v0.3 ref homepage (#33338) 2025-10-07 12:56:07 -04:00
Mason Daugherty
44ec72fa0d fix(infra): allow prerelease installations for partner packages during api ref doc build (#33325) 2025-10-06 18:05:30 -04:00
Mason Daugherty
5459ff1ee3 chore: cap lib upper bounds, run sync (#33320) 2025-10-06 17:39:01 -04:00
ccurme
f95669aa0a release(openai): 0.3.35 (#33299) langchain-openai==0.3.35 2025-10-06 10:51:01 -04:00
ccurme
3a465d635b feat(openai): enable stream_usage when using default base URL and client (#33296) 2025-10-06 10:22:36 -04:00
ccurme
0b51de4cab release(core): 0.3.78 (#33253) langchain-core==0.3.78 2025-10-03 12:40:15 -04:00
ccurme
5904cbea89 feat(core): add optional include_id param to convert_to_openai_messages function (#33248) 2025-10-03 11:37:16 -04:00
Mason Daugherty
c9590ef79d docs: fix infinite loop in vercel.json redirects (#33240) 2025-10-02 20:24:09 -04:00
Mason Daugherty
c972552c40 docs: work for freeze (#33239) 2025-10-02 20:01:26 -04:00
Mason Daugherty
e16feb93b9 release(ollama): 0.3.10 (#33210) langchain-ollama==0.3.10 2025-10-02 11:35:24 -04:00
Mason Daugherty
2bb57d45d2 fix(ollama): exclude None parameters from options dictionary (#33208) (#33209)
fix #33206
2025-10-02 11:32:21 -04:00
ccurme
d7cce2f469 feat(langchain_v1): update messages namespace (#33207) 2025-10-02 10:35:00 -04:00
Mason Daugherty
48b77752d0 release(ollama): 0.3.9 (#33200) langchain-ollama==0.3.9 2025-10-01 22:31:20 -04:00
Mason Daugherty
6f2d16e6be refactor(ollama): simplify options handling (#33199)
Fixes #32744

Don't restrict options; the client accepts any dict
2025-10-01 21:58:12 -04:00
Mason Daugherty
a9eda18e1e refactor(ollama): clean up tests (#33198) 2025-10-01 21:52:01 -04:00
Mason Daugherty
a89c549cb0 feat(ollama): add basic auth support (#32328)
support for URL authentication in the format
`https://user:password@host:port` for all LangChain Ollama clients.

Related to #32327 and #25055
2025-10-01 20:46:37 -04:00
Sydney Runkle
a336afaecd feat(langchain): use decorators for jumps instead (#33179)
The old `before_model_jump_to` classvar approach was quite clunky, this
is nicer imo and easier to document. Also moving from `jump_to` to
`can_jump_to` which is more idiomatic.

Before:

```py
class MyMiddleware(AgentMiddleware):
    before_model_jump_to: ClassVar[list[JumpTo]] = ["end"]

    def before_model(state, runtime) -> dict[str, Any]:
        return {"jump_to": "end"}
```

After

```py
class MyMiddleware(AgentMiddleware):

    @hook_config(can_jump_to=["end"])
    def before_model(state, runtime) -> dict[str, Any]:
        return {"jump_to": "end"}
```
2025-10-01 16:49:27 -07:00
Lauren Hirata Singh
af07949d13 fix(docs): Redirects (#33190) 2025-10-01 16:28:47 -04:00
Sydney Runkle
a10e880c00 feat(langchain_v1): add async support for create_agent (#33175)
This makes branching **much** more simple internally and helps greatly
w/ type safety for users. It just allows for one signature on hooks
instead of multiple.

Opened after https://github.com/langchain-ai/langchain/pull/33164
ballooned more than expected, w/ branching for:
* sync vs async
* runtime vs no runtime (this is self imposed)

**This also removes support for nodes w/o `runtime` in the signature.**
We can always go back and add support for nodes w/o `runtime`.

I think @christian-bromann's idea to re-export `runtime` from
langchain's agents might make sense due to the abundance of imports
here.

Check out the value of the change based on this diff:
https://github.com/langchain-ai/langchain/pull/33176
2025-10-01 19:15:39 +00:00
Eugene Yurtsev
7b5e839be3 chore(langchain_v1): use list[str] for modifyModelRequest (#33166)
Update model request to return tools by name. This will decrease the
odds of misusing the API.

We'll need to extend the type for built-in tools later.
2025-10-01 14:46:19 -04:00
ccurme
740842485c fix(openai): bump min core version (#33188)
Required for new tests added in
https://github.com/langchain-ai/langchain/pull/32541 and
https://github.com/langchain-ai/langchain/pull/33183.
langchain-openai==0.3.34
2025-10-01 11:01:15 -04:00
noeliecherrier
08bb74f148 fix(mistralai): handle HTTP errors in async embed documents (#33187)
The async embed function does not properly handle HTTP errors.

For instance with large batches, Mistral AI returns `Too many inputs in
request, split into more batches.` in a 400 error.

This leads to a KeyError in `response.json()["data"]` l.288

This PR fixes the issue by:
- calling `response.raise_for_status()` before returning
- adding a retry similarly to what is done in the synchronous
counterpart `embed_documents`

I also added an integration test, but willing to move it to unit tests
if more relevant.
2025-10-01 10:57:47 -04:00
ccurme
7d78ed9b53 release(standard-tests): 0.3.22 (#33186) langchain-tests==0.3.22 2025-10-01 10:39:17 -04:00
ccurme
7ccff656eb release(core): 0.3.77 (#33185) langchain-core==0.3.77 2025-10-01 10:24:07 -04:00
ccurme
002d623f2d feat: (core, standard-tests) support PDF inputs in ToolMessages (#33183) 2025-10-01 10:16:16 -04:00
Mohammad Mohtashim
34f8031bd9 feat(langchain): Using Structured Response as Key in Output Schema for Middleware Agent (#33159)
- **Description:** Changing the key from `response` to
`structured_response` for middleware agent to keep it sync with agent
without middleware. This a breaking change.
 - **Issue:** #33154
2025-10-01 03:24:59 +00:00
Mason Daugherty
a541b5bee1 chore(infra): rfc README.md for better presentation (#33172) 2025-09-30 17:44:42 -04:00