mirror of
https://github.com/hwchase17/langchain.git
synced 2025-08-19 09:30:15 +00:00
fix logging in api chain
This commit is contained in:
parent
bf8bed493f
commit
ec842b7e7b
@ -80,7 +80,7 @@ class APIChain(Chain, BaseModel):
|
||||
print_text(api_url, color="green", end="\n")
|
||||
api_response = self.requests_wrapper.run(api_url)
|
||||
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(
|
||||
question=question,
|
||||
api_docs=self.api_docs,
|
||||
|
Loading…
Reference in New Issue
Block a user