def is_generation_confident(
        self,
        history: ChatMessageHistory,
        agent_output: Union[AgentAction, AgentFinish],
        min_confidence: int = 3,
    ) -> bool:
        """Check if the generation is confident enough to take action"""
        return True
Check if the generation is confident enough to take action
autochain/agent/base_agent.py