mirror of
https://github.com/hwchase17/langchain.git
synced 2025-09-14 22:17:15 +00:00
cr
This commit is contained in:
@@ -294,6 +294,8 @@ class AgentExecutor(Chain, BaseModel):
|
||||
output = self.agent.return_stopped_response(
|
||||
self.early_stopping_method, intermediate_steps, **inputs
|
||||
)
|
||||
if self.verbose:
|
||||
self.callback_manager.on_agent_end(output, color="green")
|
||||
final_output = output.return_values
|
||||
if self.return_intermediate_steps:
|
||||
final_output["intermediate_steps"] = intermediate_steps
|
||||
|
Reference in New Issue
Block a user