From 72a8a0a1ad6b79b8e9fb2facef121f9b5d584666 Mon Sep 17 00:00:00 2001
From: xuyonghao <898441624@qq.com>
Date: 星期六, 08 二月 2025 10:56:30 +0800
Subject: [PATCH] 报表合并历史记录功能
---
app/models/agent_model.py | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/app/models/agent_model.py b/app/models/agent_model.py
index cc9120e..67323e3 100644
--- a/app/models/agent_model.py
+++ b/app/models/agent_model.py
@@ -9,6 +9,7 @@
RAGFLOW = 1
BISHENG = 2
BASIC = 3
+ DIFY = 4
class AgentModel(Base):
@@ -128,5 +129,7 @@
@staticmethod
def is_type(record_id, t):
- record = UnifiedAgent.get_by_id(record_id)
- return record and record.type == t
\ No newline at end of file
+ record = UnifiedAgentModel.get_by_id(record_id)
+ return record and record.type == t
+
+
--
Gitblit v1.8.0