mirror of
https://github.com/hwchase17/langchain.git
synced 2025-06-01 04:29:09 +00:00
Lint
This commit is contained in:
parent
f6b0b065d3
commit
f3f3f71811
@ -84,7 +84,7 @@ class OpenAIFunctionsAgentOutputParser(AgentOutputParser):
|
||||
return self._parse_ai_message(message)
|
||||
|
||||
async def aparse_result(
|
||||
self, result: List[Generation]
|
||||
self, result: List[Generation], *, partial: bool = False
|
||||
) -> Union[AgentAction, AgentFinish]:
|
||||
return await asyncio.get_running_loop().run_in_executor(
|
||||
None, self.parse_result, result
|
||||
|
Loading…
Reference in New Issue
Block a user