mirror of
https://github.com/hwchase17/langchain.git
synced 2025-07-06 21:20:33 +00:00
hotfix for api logging (#262)
This commit is contained in:
parent
5cd6956d58
commit
8cba5b791a
@ -80,7 +80,7 @@ class APIChain(Chain, BaseModel):
|
|||||||
print_text(api_url, color="green", end="\n")
|
print_text(api_url, color="green", end="\n")
|
||||||
api_response = self.requests_wrapper.run(api_url)
|
api_response = self.requests_wrapper.run(api_url)
|
||||||
if self.verbose:
|
if self.verbose:
|
||||||
print_text(api_url, color="yellow", end="\n")
|
print_text(api_response, color="yellow", end="\n")
|
||||||
answer = self.api_answer_chain.predict(
|
answer = self.api_answer_chain.predict(
|
||||||
question=question,
|
question=question,
|
||||||
api_docs=self.api_docs,
|
api_docs=self.api_docs,
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
[tool.poetry]
|
[tool.poetry]
|
||||||
name = "langchain"
|
name = "langchain"
|
||||||
version = "0.0.28"
|
version = "0.0.29"
|
||||||
description = "Building applications with LLMs through composability"
|
description = "Building applications with LLMs through composability"
|
||||||
authors = []
|
authors = []
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
@ -21,7 +21,6 @@ manifest-ml = {version = "^0.0.1", optional = true}
|
|||||||
spacy = {version = "^3", optional = true}
|
spacy = {version = "^3", optional = true}
|
||||||
nltk = {version = "^3", optional = true}
|
nltk = {version = "^3", optional = true}
|
||||||
transformers = {version = "^4", optional = true}
|
transformers = {version = "^4", optional = true}
|
||||||
types-toml = "^0.10.8.1"
|
|
||||||
|
|
||||||
[tool.poetry.group.test.dependencies]
|
[tool.poetry.group.test.dependencies]
|
||||||
pytest = "^7.2.0"
|
pytest = "^7.2.0"
|
||||||
@ -32,6 +31,7 @@ flake8-docstrings = "^1.6.0"
|
|||||||
black = "^22.10.0"
|
black = "^22.10.0"
|
||||||
isort = "^5.10.1"
|
isort = "^5.10.1"
|
||||||
flake8 = "^6.0.0"
|
flake8 = "^6.0.0"
|
||||||
|
types-toml = "^0.10.8.1"
|
||||||
|
|
||||||
[tool.poetry.group.typing.dependencies]
|
[tool.poetry.group.typing.dependencies]
|
||||||
mypy = "^0.991"
|
mypy = "^0.991"
|
||||||
|
Loading…
Reference in New Issue
Block a user