Christophe Bornet

Results 125 issues of Christophe Bornet

core
infra
text-splitters

This makes mypy crash !!

core
infra
dependencies

`dict()` is a problematic method name as it clashes with the builtin `dict` used as a type annotation. This PR replaces it with an `asdict` method (inspired by dataclasses). It...

core
langchain
dependencies
github_actions
cli
feature

As per its doc `BaseTool` `args_schema` can be a Pydantic v1 model. This PR fixes `TypeBaseModel` so it includes `pydantic.v1.BaseModel`. This detected a few places in the code where a...

core
langchain
fix
langchain-classic

This way mypy can infer the return type when `ResponseT` is not passed.

waiting-on-author
langchain
infra