mirror of
https://github.com/hwchase17/langchain.git
synced 2025-06-30 02:13:23 +00:00
langchain[patch]: fix requests lint (#16049)
This commit is contained in:
parent
061e63eef2
commit
697a6f2c80
@ -163,7 +163,7 @@ class APIChain(Chain):
|
||||
)
|
||||
api_response = self.requests_wrapper.get(api_url)
|
||||
_run_manager.on_text(
|
||||
api_response, color="yellow", end="\n", verbose=self.verbose
|
||||
str(api_response), color="yellow", end="\n", verbose=self.verbose
|
||||
)
|
||||
answer = self.api_answer_chain.predict(
|
||||
question=question,
|
||||
@ -198,7 +198,7 @@ class APIChain(Chain):
|
||||
)
|
||||
api_response = await self.requests_wrapper.aget(api_url)
|
||||
await _run_manager.on_text(
|
||||
api_response, color="yellow", end="\n", verbose=self.verbose
|
||||
str(api_response), color="yellow", end="\n", verbose=self.verbose
|
||||
)
|
||||
answer = await self.api_answer_chain.apredict(
|
||||
question=question,
|
||||
|
Loading…
Reference in New Issue
Block a user