Abstract
Optional
kwargs: SerializedFieldsRest
..._args: never[]Abstract
inputAbstract
planDecide what to do, given some input.
Steps the LLM has taken so far, along with observations from each.
User inputs.
Optional
callbackManager: CallbackManagerCallback manager.
Optional
config: RunnableConfig<Record<string, any>>Action specifying what tool to use.
Prepare the agent for output, if needed
Return response when agent has been stopped due to max iterations
Optional
_callbackManager: CallbackManager
Abstract base class for single action agents in LangChain. Extends the BaseAgent class and provides additional functionality specific to single action agents.