zhaoqingang
2024-12-24 7a4f38d7a3e27ad7d86c51dab2348f877a34a05d
定时刷新
1个文件已修改
4 ■■■■ 已修改文件
app/task/fetch_agent.py 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
app/task/fetch_agent.py
@@ -324,6 +324,8 @@
        print("v2 Agents synchronized successfully")
    except Exception as e:
        print(f"v2 Failed to sync agents: {str(e)}")
    finally:
        db.close()
def update_ids_in_local_knowledge(data, klg_type):
    type_dict = {"1": RAGFLOW, "2": BISHENG, "4": DIFY}
@@ -386,6 +388,8 @@
        print("sync knowledge successfully")
    except Exception as e:
        print(f"Failed to sync knowledge: {str(e)}")
    finally:
        db.close()
if __name__ == "__main__":