pass kwargs and bump (#770)

This commit is contained in:
Harrison Chase 2023-01-27 08:56:36 -08:00 committed by GitHub
parent fc19d14a65
commit 924b7ecf89
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -101,7 +101,7 @@ def _load_from_hub(path: str, **kwargs: Any) -> Agent:
file = tmpdirname + "/agent." + suffix
with open(file, "wb") as f:
f.write(r.content)
return _load_agent_from_file(file)
return _load_agent_from_file(file, **kwargs)
def _load_agent_from_file(file: Union[str, Path], **kwargs: Any) -> Agent:

View File

@ -1,6 +1,6 @@
[tool.poetry]
name = "langchain"
version = "0.0.72"
version = "0.0.73"
description = "Building applications with LLMs through composability"
authors = []
license = "MIT"