mirror of
https://github.com/hwchase17/langchain.git
synced 2026-03-18 11:07:36 +00:00
specified input keys
This commit is contained in:
@@ -322,7 +322,7 @@ class RunnableAgent(BaseSingleActionAgent):
|
||||
|
||||
runnable: Runnable[dict, Union[AgentAction, AgentFinish]]
|
||||
"""Runnable to call to get agent action."""
|
||||
_input_keys: List[str] = []
|
||||
specified_input_keys: List[str] = []
|
||||
"""Input keys."""
|
||||
|
||||
class Config:
|
||||
@@ -337,7 +337,7 @@ class RunnableAgent(BaseSingleActionAgent):
|
||||
Returns:
|
||||
List of input keys.
|
||||
"""
|
||||
return self._input_keys
|
||||
return self.specified_input_keys
|
||||
|
||||
def plan(
|
||||
self,
|
||||
|
||||
Reference in New Issue
Block a user