zhangqian
2024-11-22 165d75b97916335ec7b5046f7c476e494a12df51
app/models/agent_model.py
@@ -128,5 +128,5 @@
    @staticmethod
    def is_type(record_id, t):
        record = UnifiedAgent.get_by_id(record_id)
        record = UnifiedAgentModel.get_by_id(record_id)
        return record and record.type == t