From 9c275b214f9619a64cd2998596ce696610185eb4 Mon Sep 17 00:00:00 2001
From: zhaoqingang <zhaoqg0118@163.com>
Date: 星期二, 19 十一月 2024 10:05:56 +0800
Subject: [PATCH] 增加删除

---
 Log/log.log.3                      | 1304 ++++++++
 app/service/bisheng.py             |   14 
 Log/log.log.4                      | 1199 +++++++
 Log/log.log.5                      | 1277 ++++++++
 app/models/app_model.py            |    1 
 .gitignore                         |    1 
 Log/log.log.6                      | 1301 ++++++++
 app/config/config.py               |    3 
 app/service/group.py               |    5 
 Log/log.log.1                      | 1303 ++++++++
 Log/log.log.2                      | 1284 ++++++++
 app/service/user.py                |   27 
 app/config/config.yaml             |    3 
 Log/log.log.7                      |  830 +++++
 Log/log.log.8                      |  565 +++
 app/service/auth.py                |    4 
 main.py                            |    6 
 app/api/report.py                  |    2 
 app/service/ragflow.py             |   40 
 app/service/service_token.py       |    0 
 app/api/chat.py                    |    3 
 app/service/common/app_register.py |   12 
 app/api/agent.py                   |    2 
 app/api/user.py                    |    8 
 app/task/sync_resources.py         |   15 
 app/api/auth.py                    |    1 
 app/models/user_model.py           |   16 
 app/service/common/__init__.py     |    0 
 app/api/__init__.py                |    6 
 app/api/files.py                   |    2 
 30 files changed, 9,199 insertions(+), 35 deletions(-)

diff --git a/.gitignore b/.gitignore
index 52d2d3f..2344cdf 100644
--- a/.gitignore
+++ b/.gitignore
@@ -10,3 +10,4 @@
 .ipynb_checkpoints
 .pytest
 *.log
+*.log.*
diff --git a/Log/log.log.1 b/Log/log.log.1
new file mode 100644
index 0000000..04e9a76
--- /dev/null
+++ b/Log/log.log.1
@@ -0,0 +1,1303 @@
+2024-11-18 20:01:29,376 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 20:02:29 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 20:02:29,376 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 20:03:29 CST)" (scheduled at 2024-11-18 20:02:29.360601+08:00)
+2024-11-18 20:02:29,377 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 20:03:29 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 20:03:29,371 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 20:04:29 CST)" (scheduled at 2024-11-18 20:03:29.360601+08:00)
+2024-11-18 20:03:29,372 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 20:04:29 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 20:04:29,370 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 20:05:29 CST)" (scheduled at 2024-11-18 20:04:29.360601+08:00)
+2024-11-18 20:04:29,371 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 20:05:29 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 20:05:29,370 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 20:06:29 CST)" (scheduled at 2024-11-18 20:05:29.360601+08:00)
+2024-11-18 20:05:29,371 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 20:06:29 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 20:06:29,363 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 20:07:29 CST)" (scheduled at 2024-11-18 20:06:29.360601+08:00)
+2024-11-18 20:06:29,364 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 20:07:29 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 20:07:29,367 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 20:08:29 CST)" (scheduled at 2024-11-18 20:07:29.360601+08:00)
+2024-11-18 20:07:29,368 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 20:08:29 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 20:08:29,368 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 20:09:29 CST)" (scheduled at 2024-11-18 20:08:29.360601+08:00)
+2024-11-18 20:08:29,369 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 20:09:29 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 20:09:29,370 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 20:10:29 CST)" (scheduled at 2024-11-18 20:09:29.360601+08:00)
+2024-11-18 20:09:29,371 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 20:10:29 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 20:10:29,376 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 20:11:29 CST)" (scheduled at 2024-11-18 20:10:29.360601+08:00)
+2024-11-18 20:10:29,377 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 20:11:29 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 20:11:29,365 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 20:12:29 CST)" (scheduled at 2024-11-18 20:11:29.360601+08:00)
+2024-11-18 20:11:29,367 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 20:12:29 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 20:12:29,375 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 20:13:29 CST)" (scheduled at 2024-11-18 20:12:29.360601+08:00)
+2024-11-18 20:12:29,376 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 20:13:29 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 20:13:29,367 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 20:14:29 CST)" (scheduled at 2024-11-18 20:13:29.360601+08:00)
+2024-11-18 20:13:29,368 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 20:14:29 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 20:14:29,370 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 20:15:29 CST)" (scheduled at 2024-11-18 20:14:29.360601+08:00)
+2024-11-18 20:14:29,371 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 20:15:29 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 20:15:29,368 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 20:16:29 CST)" (scheduled at 2024-11-18 20:15:29.360601+08:00)
+2024-11-18 20:15:29,369 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 20:16:29 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 20:16:29,369 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 20:17:29 CST)" (scheduled at 2024-11-18 20:16:29.360601+08:00)
+2024-11-18 20:16:29,370 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 20:17:29 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 20:17:29,361 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 20:18:29 CST)" (scheduled at 2024-11-18 20:17:29.360601+08:00)
+2024-11-18 20:17:29,362 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 20:18:29 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 20:18:29,371 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 20:19:29 CST)" (scheduled at 2024-11-18 20:18:29.360601+08:00)
+2024-11-18 20:18:29,372 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 20:19:29 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 20:19:29,367 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 20:20:29 CST)" (scheduled at 2024-11-18 20:19:29.360601+08:00)
+2024-11-18 20:19:29,368 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 20:20:29 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 20:20:29,365 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 20:21:29 CST)" (scheduled at 2024-11-18 20:20:29.360601+08:00)
+2024-11-18 20:20:29,366 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 20:21:29 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 20:21:29,363 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 20:22:29 CST)" (scheduled at 2024-11-18 20:21:29.360601+08:00)
+2024-11-18 20:21:29,364 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 20:22:29 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 20:22:29,365 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 20:23:29 CST)" (scheduled at 2024-11-18 20:22:29.360601+08:00)
+2024-11-18 20:22:29,366 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 20:23:29 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 20:23:29,361 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 20:24:29 CST)" (scheduled at 2024-11-18 20:23:29.360601+08:00)
+2024-11-18 20:23:29,362 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 20:24:29 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 20:24:29,375 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 20:25:29 CST)" (scheduled at 2024-11-18 20:24:29.360601+08:00)
+2024-11-18 20:24:29,376 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 20:25:29 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 20:25:29,362 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 20:26:29 CST)" (scheduled at 2024-11-18 20:25:29.360601+08:00)
+2024-11-18 20:25:29,363 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 20:26:29 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 20:26:29,366 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 20:27:29 CST)" (scheduled at 2024-11-18 20:26:29.360601+08:00)
+2024-11-18 20:26:29,368 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 20:27:29 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 20:27:29,371 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 20:28:29 CST)" (scheduled at 2024-11-18 20:27:29.360601+08:00)
+2024-11-18 20:27:29,372 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 20:28:29 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 20:28:29,375 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 20:29:29 CST)" (scheduled at 2024-11-18 20:28:29.360601+08:00)
+2024-11-18 20:28:29,376 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 20:29:29 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 20:29:29,364 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 20:30:29 CST)" (scheduled at 2024-11-18 20:29:29.360601+08:00)
+2024-11-18 20:29:29,365 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 20:30:29 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 20:30:29,376 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 20:31:29 CST)" (scheduled at 2024-11-18 20:30:29.360601+08:00)
+2024-11-18 20:30:29,377 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 20:31:29 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 20:31:29,375 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 20:32:29 CST)" (scheduled at 2024-11-18 20:31:29.360601+08:00)
+2024-11-18 20:31:29,376 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 20:32:29 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 20:32:29,363 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 20:33:29 CST)" (scheduled at 2024-11-18 20:32:29.360601+08:00)
+2024-11-18 20:32:29,364 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 20:33:29 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 20:33:29,375 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 20:34:29 CST)" (scheduled at 2024-11-18 20:33:29.360601+08:00)
+2024-11-18 20:33:29,376 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 20:34:29 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 20:34:29,371 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 20:35:29 CST)" (scheduled at 2024-11-18 20:34:29.360601+08:00)
+2024-11-18 20:34:29,372 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 20:35:29 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 20:35:29,366 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 20:36:29 CST)" (scheduled at 2024-11-18 20:35:29.360601+08:00)
+2024-11-18 20:35:29,367 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 20:36:29 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 20:36:29,366 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 20:37:29 CST)" (scheduled at 2024-11-18 20:36:29.360601+08:00)
+2024-11-18 20:36:29,367 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 20:37:29 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 20:37:29,368 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 20:38:29 CST)" (scheduled at 2024-11-18 20:37:29.360601+08:00)
+2024-11-18 20:37:29,369 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 20:38:29 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 20:38:29,375 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 20:39:29 CST)" (scheduled at 2024-11-18 20:38:29.360601+08:00)
+2024-11-18 20:38:29,376 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 20:39:29 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 20:39:29,363 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 20:40:29 CST)" (scheduled at 2024-11-18 20:39:29.360601+08:00)
+2024-11-18 20:39:29,364 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 20:40:29 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 20:40:29,363 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 20:41:29 CST)" (scheduled at 2024-11-18 20:40:29.360601+08:00)
+2024-11-18 20:40:29,364 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 20:41:29 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 20:41:29,368 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 20:42:29 CST)" (scheduled at 2024-11-18 20:41:29.360601+08:00)
+2024-11-18 20:41:29,369 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 20:42:29 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 20:42:29,375 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 20:43:29 CST)" (scheduled at 2024-11-18 20:42:29.360601+08:00)
+2024-11-18 20:42:29,376 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 20:43:29 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 20:43:29,365 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 20:44:29 CST)" (scheduled at 2024-11-18 20:43:29.360601+08:00)
+2024-11-18 20:43:29,366 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 20:44:29 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 20:44:29,364 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 20:45:29 CST)" (scheduled at 2024-11-18 20:44:29.360601+08:00)
+2024-11-18 20:44:29,365 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 20:45:29 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 20:45:29,364 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 20:46:29 CST)" (scheduled at 2024-11-18 20:45:29.360601+08:00)
+2024-11-18 20:45:29,365 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 20:46:29 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 20:46:29,365 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 20:47:29 CST)" (scheduled at 2024-11-18 20:46:29.360601+08:00)
+2024-11-18 20:46:29,366 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 20:47:29 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 20:47:29,370 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 20:48:29 CST)" (scheduled at 2024-11-18 20:47:29.360601+08:00)
+2024-11-18 20:47:29,371 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 20:48:29 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 20:48:29,376 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 20:49:29 CST)" (scheduled at 2024-11-18 20:48:29.360601+08:00)
+2024-11-18 20:48:29,377 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 20:49:29 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 20:49:29,364 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 20:50:29 CST)" (scheduled at 2024-11-18 20:49:29.360601+08:00)
+2024-11-18 20:49:29,365 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 20:50:29 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-19 08:38:38,285 - base - run_job - line:120 - WARNING -: Run time of job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-19 08:39:29 CST)" was missed by 0:00:08.924561
+2024-11-19 08:39:29,361 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-19 08:40:29 CST)" (scheduled at 2024-11-19 08:39:29.360601+08:00)
+2024-11-19 08:39:29,363 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-19 08:40:29 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-19 08:40:29,366 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-19 08:41:29 CST)" (scheduled at 2024-11-19 08:40:29.360601+08:00)
+2024-11-19 08:40:29,367 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-19 08:41:29 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-19 08:41:29,376 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-19 08:42:29 CST)" (scheduled at 2024-11-19 08:41:29.360601+08:00)
+2024-11-19 08:41:29,377 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-19 08:42:29 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-19 08:42:29,368 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-19 08:43:29 CST)" (scheduled at 2024-11-19 08:42:29.360601+08:00)
+2024-11-19 08:42:29,369 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-19 08:43:29 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-19 08:43:29,366 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-19 08:44:29 CST)" (scheduled at 2024-11-19 08:43:29.360601+08:00)
+2024-11-19 08:43:29,367 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-19 08:44:29 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-19 08:44:29,373 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-19 08:45:29 CST)" (scheduled at 2024-11-19 08:44:29.360601+08:00)
+2024-11-19 08:44:29,374 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-19 08:45:29 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-19 08:45:29,375 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-19 08:46:29 CST)" (scheduled at 2024-11-19 08:45:29.360601+08:00)
+2024-11-19 08:45:29,376 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-19 08:46:29 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-19 08:46:29,367 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-19 08:47:29 CST)" (scheduled at 2024-11-19 08:46:29.360601+08:00)
+2024-11-19 08:46:29,368 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-19 08:47:29 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-19 08:47:29,367 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-19 08:48:29 CST)" (scheduled at 2024-11-19 08:47:29.360601+08:00)
+2024-11-19 08:47:29,368 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-19 08:48:29 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-19 08:48:29,364 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-19 08:49:29 CST)" (scheduled at 2024-11-19 08:48:29.360601+08:00)
+2024-11-19 08:48:29,365 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-19 08:49:29 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-19 08:49:29,365 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-19 08:50:29 CST)" (scheduled at 2024-11-19 08:49:29.360601+08:00)
+2024-11-19 08:49:29,366 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-19 08:50:29 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-19 08:50:29,363 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-19 08:51:29 CST)" (scheduled at 2024-11-19 08:50:29.360601+08:00)
+2024-11-19 08:50:29,364 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-19 08:51:29 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-19 08:51:29,376 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-19 08:52:29 CST)" (scheduled at 2024-11-19 08:51:29.360601+08:00)
+2024-11-19 08:51:29,377 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-19 08:52:29 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-19 08:52:29,363 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-19 08:53:29 CST)" (scheduled at 2024-11-19 08:52:29.360601+08:00)
diff --git a/Log/log.log.2 b/Log/log.log.2
new file mode 100644
index 0000000..958260c
--- /dev/null
+++ b/Log/log.log.2
@@ -0,0 +1,1284 @@
+2024-11-18 18:59:55,407 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:00:55 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 19:00:55,406 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:01:55 CST)" (scheduled at 2024-11-18 19:00:55.398192+08:00)
+2024-11-18 19:00:55,407 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:01:55 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 19:01:55,408 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:02:55 CST)" (scheduled at 2024-11-18 19:01:55.398192+08:00)
+2024-11-18 19:01:55,409 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:02:55 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 19:02:55,404 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:03:55 CST)" (scheduled at 2024-11-18 19:02:55.398192+08:00)
+2024-11-18 19:02:55,405 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:03:55 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 19:03:55,411 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:04:55 CST)" (scheduled at 2024-11-18 19:03:55.398192+08:00)
+2024-11-18 19:03:55,412 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:04:55 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 19:04:55,409 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:05:55 CST)" (scheduled at 2024-11-18 19:04:55.398192+08:00)
+2024-11-18 19:04:55,410 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:05:55 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 19:05:55,404 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:06:55 CST)" (scheduled at 2024-11-18 19:05:55.398192+08:00)
+2024-11-18 19:05:55,405 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:06:55 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 19:06:11,782 - base - add_job - line:454 - INFO -: Adding job tentatively -- it will be properly scheduled when the scheduler starts
+2024-11-18 19:06:11,783 - base - _real_add_job - line:895 - INFO -: Added job "sync_resource" to job store "default"
+2024-11-18 19:06:11,784 - base - start - line:181 - INFO -: Scheduler started
+2024-11-18 19:07:11,792 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:08:11 CST)" (scheduled at 2024-11-18 19:07:11.782521+08:00)
+2024-11-18 19:07:11,795 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:08:11 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 19:07:25,943 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: POST http://192.168.20.119:11080/v1/tenant/a9155a70a19311ef94530242ac130006/user "HTTP/1.1 200 OK"
+2024-11-18 19:07:26,094 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: POST http://192.168.20.119:11080/v1/tenant//user "HTTP/1.1 200 OK"
+2024-11-18 19:08:11,791 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:09:11 CST)" (scheduled at 2024-11-18 19:08:11.782521+08:00)
+2024-11-18 19:08:11,792 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:09:11 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 19:09:11,790 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:10:11 CST)" (scheduled at 2024-11-18 19:09:11.782521+08:00)
+2024-11-18 19:09:11,791 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:10:11 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 19:10:11,787 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:11:11 CST)" (scheduled at 2024-11-18 19:10:11.782521+08:00)
+2024-11-18 19:10:11,788 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:11:11 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 19:11:11,789 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:12:11 CST)" (scheduled at 2024-11-18 19:11:11.782521+08:00)
+2024-11-18 19:11:11,790 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:12:11 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 19:12:11,796 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:13:11 CST)" (scheduled at 2024-11-18 19:12:11.782521+08:00)
+2024-11-18 19:12:11,797 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:13:11 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 19:13:11,794 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:14:11 CST)" (scheduled at 2024-11-18 19:13:11.782521+08:00)
+2024-11-18 19:13:11,796 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:14:11 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 19:14:11,796 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:15:11 CST)" (scheduled at 2024-11-18 19:14:11.782521+08:00)
+2024-11-18 19:14:11,797 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:15:11 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 19:15:11,785 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:16:11 CST)" (scheduled at 2024-11-18 19:15:11.782521+08:00)
+2024-11-18 19:15:11,786 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:16:11 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 19:16:11,796 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:17:11 CST)" (scheduled at 2024-11-18 19:16:11.782521+08:00)
+2024-11-18 19:16:11,797 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:17:11 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 19:17:11,785 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:18:11 CST)" (scheduled at 2024-11-18 19:17:11.782521+08:00)
+2024-11-18 19:17:11,786 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:18:11 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 19:17:17,667 - base - add_job - line:454 - INFO -: Adding job tentatively -- it will be properly scheduled when the scheduler starts
+2024-11-18 19:17:17,668 - base - _real_add_job - line:895 - INFO -: Added job "sync_resource" to job store "default"
+2024-11-18 19:17:17,668 - base - start - line:181 - INFO -: Scheduler started
+2024-11-18 19:17:44,044 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: POST http://192.168.20.119:11080/v1/tenant/a9155a70a19311ef94530242ac130006/user "HTTP/1.1 200 OK"
+2024-11-18 19:17:44,075 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: POST http://192.168.20.119:11080/v1/tenant//user "HTTP/1.1 200 OK"
+2024-11-18 19:18:17,678 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:19:17 CST)" (scheduled at 2024-11-18 19:18:17.667608+08:00)
+2024-11-18 19:18:17,680 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:19:17 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 19:18:41,132 - base - add_job - line:454 - INFO -: Adding job tentatively -- it will be properly scheduled when the scheduler starts
+2024-11-18 19:18:41,133 - base - _real_add_job - line:895 - INFO -: Added job "sync_resource" to job store "default"
+2024-11-18 19:18:41,133 - base - start - line:181 - INFO -: Scheduler started
+2024-11-18 19:19:10,193 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: POST http://192.168.20.119:11080/v1/tenant/a9155a70a19311ef94530242ac130006/user "HTTP/1.1 200 OK"
+2024-11-18 19:19:10,223 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: POST http://192.168.20.119:11080/v1/tenant//user "HTTP/1.1 200 OK"
+2024-11-18 19:19:41,139 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:20:41 CST)" (scheduled at 2024-11-18 19:19:41.132420+08:00)
+2024-11-18 19:19:41,141 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:20:41 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 19:20:21,003 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: POST http://192.168.20.119:11080/v1/tenant/a9155a70a19311ef94530242ac130006/user "HTTP/1.1 200 OK"
+2024-11-18 19:20:21,196 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: POST http://192.168.20.119:11080/v1/tenant/fe24dd2c9be611ef92880242ac160006/user "HTTP/1.1 200 OK"
+2024-11-18 19:20:41,145 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:21:41 CST)" (scheduled at 2024-11-18 19:20:41.132420+08:00)
+2024-11-18 19:20:41,146 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:21:41 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 19:21:29,360 - base - add_job - line:454 - INFO -: Adding job tentatively -- it will be properly scheduled when the scheduler starts
+2024-11-18 19:21:29,361 - base - _real_add_job - line:895 - INFO -: Added job "sync_resource" to job store "default"
+2024-11-18 19:21:29,362 - base - start - line:181 - INFO -: Scheduler started
+2024-11-18 19:21:54,535 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: POST http://192.168.20.119:11080/v1/tenant/a9155a70a19311ef94530242ac130006/user "HTTP/1.1 200 OK"
+2024-11-18 19:21:54,582 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: POST http://192.168.20.119:11080/v1/tenant/fe24dd2c9be611ef92880242ac160006/user "HTTP/1.1 200 OK"
+2024-11-18 19:22:29,367 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:23:29 CST)" (scheduled at 2024-11-18 19:22:29.360601+08:00)
+2024-11-18 19:22:29,369 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:23:29 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 19:23:29,366 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:24:29 CST)" (scheduled at 2024-11-18 19:23:29.360601+08:00)
+2024-11-18 19:23:29,367 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:24:29 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 19:24:29,373 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:25:29 CST)" (scheduled at 2024-11-18 19:24:29.360601+08:00)
+2024-11-18 19:24:29,374 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:25:29 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 19:25:29,375 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:26:29 CST)" (scheduled at 2024-11-18 19:25:29.360601+08:00)
+2024-11-18 19:25:29,376 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:26:29 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 19:26:29,371 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:27:29 CST)" (scheduled at 2024-11-18 19:26:29.360601+08:00)
+2024-11-18 19:26:29,372 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:27:29 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 19:27:29,366 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:28:29 CST)" (scheduled at 2024-11-18 19:27:29.360601+08:00)
+2024-11-18 19:27:29,367 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:28:29 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 19:28:18,574 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: POST http://192.168.20.119:11080/v1/tenant/a9155a70a19311ef94530242ac130006/user "HTTP/1.1 200 OK"
+2024-11-18 19:28:18,623 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: POST http://192.168.20.119:11080/v1/tenant/fe24dd2c9be611ef92880242ac160006/user "HTTP/1.1 200 OK"
+2024-11-18 19:28:29,367 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:29:29 CST)" (scheduled at 2024-11-18 19:28:29.360601+08:00)
+2024-11-18 19:28:29,369 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:29:29 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 19:29:29,365 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:30:29 CST)" (scheduled at 2024-11-18 19:29:29.360601+08:00)
+2024-11-18 19:29:29,366 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:30:29 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 19:30:29,363 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:31:29 CST)" (scheduled at 2024-11-18 19:30:29.360601+08:00)
+2024-11-18 19:30:29,364 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:31:29 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 19:31:29,368 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:32:29 CST)" (scheduled at 2024-11-18 19:31:29.360601+08:00)
+2024-11-18 19:31:29,369 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:32:29 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 19:32:29,374 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:33:29 CST)" (scheduled at 2024-11-18 19:32:29.360601+08:00)
+2024-11-18 19:32:29,376 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:33:29 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 19:33:29,371 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:34:29 CST)" (scheduled at 2024-11-18 19:33:29.360601+08:00)
+2024-11-18 19:33:29,372 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:34:29 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 19:34:29,375 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:35:29 CST)" (scheduled at 2024-11-18 19:34:29.360601+08:00)
+2024-11-18 19:34:29,376 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:35:29 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 19:35:29,373 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:36:29 CST)" (scheduled at 2024-11-18 19:35:29.360601+08:00)
+2024-11-18 19:35:29,374 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:36:29 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 19:36:29,374 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:37:29 CST)" (scheduled at 2024-11-18 19:36:29.360601+08:00)
+2024-11-18 19:36:29,375 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:37:29 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 19:37:29,375 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:38:29 CST)" (scheduled at 2024-11-18 19:37:29.360601+08:00)
+2024-11-18 19:37:29,376 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:38:29 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 19:38:29,370 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:39:29 CST)" (scheduled at 2024-11-18 19:38:29.360601+08:00)
+2024-11-18 19:38:29,371 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:39:29 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 19:39:29,361 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:40:29 CST)" (scheduled at 2024-11-18 19:39:29.360601+08:00)
+2024-11-18 19:39:29,362 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:40:29 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 19:40:29,362 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:41:29 CST)" (scheduled at 2024-11-18 19:40:29.360601+08:00)
+2024-11-18 19:40:29,363 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:41:29 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 19:41:29,361 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:42:29 CST)" (scheduled at 2024-11-18 19:41:29.360601+08:00)
+2024-11-18 19:41:29,362 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:42:29 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 19:42:29,374 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:43:29 CST)" (scheduled at 2024-11-18 19:42:29.360601+08:00)
+2024-11-18 19:42:29,377 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:43:29 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 19:43:29,372 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:44:29 CST)" (scheduled at 2024-11-18 19:43:29.360601+08:00)
+2024-11-18 19:43:29,373 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:44:29 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 19:44:29,363 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:45:29 CST)" (scheduled at 2024-11-18 19:44:29.360601+08:00)
+2024-11-18 19:44:29,364 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:45:29 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 19:45:29,375 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:46:29 CST)" (scheduled at 2024-11-18 19:45:29.360601+08:00)
+2024-11-18 19:45:29,376 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:46:29 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 19:46:29,373 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:47:29 CST)" (scheduled at 2024-11-18 19:46:29.360601+08:00)
+2024-11-18 19:46:29,374 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:47:29 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 19:47:29,376 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:48:29 CST)" (scheduled at 2024-11-18 19:47:29.360601+08:00)
+2024-11-18 19:47:29,377 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:48:29 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 19:48:29,366 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:49:29 CST)" (scheduled at 2024-11-18 19:48:29.360601+08:00)
+2024-11-18 19:48:29,367 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:49:29 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 19:49:29,376 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:50:29 CST)" (scheduled at 2024-11-18 19:49:29.360601+08:00)
+2024-11-18 19:49:29,377 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:50:29 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 19:50:29,372 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:51:29 CST)" (scheduled at 2024-11-18 19:50:29.360601+08:00)
+2024-11-18 19:50:29,373 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:51:29 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 19:51:29,371 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:52:29 CST)" (scheduled at 2024-11-18 19:51:29.360601+08:00)
+2024-11-18 19:51:29,372 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:52:29 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 19:52:29,369 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:53:29 CST)" (scheduled at 2024-11-18 19:52:29.360601+08:00)
+2024-11-18 19:52:29,370 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:53:29 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 19:53:29,374 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:54:29 CST)" (scheduled at 2024-11-18 19:53:29.360601+08:00)
+2024-11-18 19:53:29,375 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:54:29 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 19:54:29,369 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:55:29 CST)" (scheduled at 2024-11-18 19:54:29.360601+08:00)
+2024-11-18 19:54:29,370 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:55:29 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 19:55:29,369 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:56:29 CST)" (scheduled at 2024-11-18 19:55:29.360601+08:00)
+2024-11-18 19:55:29,370 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:56:29 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 19:56:29,374 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:57:29 CST)" (scheduled at 2024-11-18 19:56:29.360601+08:00)
+2024-11-18 19:56:29,375 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:57:29 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 19:57:29,365 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:58:29 CST)" (scheduled at 2024-11-18 19:57:29.360601+08:00)
+2024-11-18 19:57:29,366 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:58:29 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 19:58:29,361 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:59:29 CST)" (scheduled at 2024-11-18 19:58:29.360601+08:00)
+2024-11-18 19:58:29,362 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:59:29 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 19:59:29,372 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 20:00:29 CST)" (scheduled at 2024-11-18 19:59:29.360601+08:00)
+2024-11-18 19:59:29,373 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 20:00:29 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 20:00:29,370 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 20:01:29 CST)" (scheduled at 2024-11-18 20:00:29.360601+08:00)
+2024-11-18 20:00:29,371 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 20:01:29 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 20:01:29,375 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 20:02:29 CST)" (scheduled at 2024-11-18 20:01:29.360601+08:00)
diff --git a/Log/log.log.3 b/Log/log.log.3
new file mode 100644
index 0000000..c0ce232
--- /dev/null
+++ b/Log/log.log.3
@@ -0,0 +1,1304 @@
+2024-11-18 15:51:55,414 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:52:55 CST)" (scheduled at 2024-11-18 15:51:55.398192+08:00)
+2024-11-18 15:51:55,419 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:52:55 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 15:52:55,410 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:53:55 CST)" (scheduled at 2024-11-18 15:52:55.398192+08:00)
+2024-11-18 15:52:55,411 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:53:55 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 15:53:55,405 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:54:55 CST)" (scheduled at 2024-11-18 15:53:55.398192+08:00)
+2024-11-18 15:53:55,406 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:54:55 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 15:54:55,404 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:55:55 CST)" (scheduled at 2024-11-18 15:54:55.398192+08:00)
+2024-11-18 15:54:55,405 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:55:55 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 15:55:55,398 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:56:55 CST)" (scheduled at 2024-11-18 15:55:55.398192+08:00)
+2024-11-18 15:55:55,399 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:56:55 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 15:56:55,402 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:57:55 CST)" (scheduled at 2024-11-18 15:56:55.398192+08:00)
+2024-11-18 15:56:55,403 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:57:55 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 15:57:55,407 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:58:55 CST)" (scheduled at 2024-11-18 15:57:55.398192+08:00)
+2024-11-18 15:57:55,409 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:58:55 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 15:58:55,412 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:59:55 CST)" (scheduled at 2024-11-18 15:58:55.398192+08:00)
+2024-11-18 15:58:55,417 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:59:55 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 15:59:55,413 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 16:00:55 CST)" (scheduled at 2024-11-18 15:59:55.398192+08:00)
+2024-11-18 15:59:55,414 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 16:00:55 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 16:00:55,407 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 16:01:55 CST)" (scheduled at 2024-11-18 16:00:55.398192+08:00)
+2024-11-18 16:00:55,408 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 16:01:55 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 16:01:55,401 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 16:02:55 CST)" (scheduled at 2024-11-18 16:01:55.398192+08:00)
+2024-11-18 16:01:55,402 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 16:02:55 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 16:02:55,403 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 16:03:55 CST)" (scheduled at 2024-11-18 16:02:55.398192+08:00)
+2024-11-18 16:02:55,404 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 16:03:55 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 16:03:55,409 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 16:04:55 CST)" (scheduled at 2024-11-18 16:03:55.398192+08:00)
+2024-11-18 16:03:55,410 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 16:04:55 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 16:04:55,399 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 16:05:55 CST)" (scheduled at 2024-11-18 16:04:55.398192+08:00)
+2024-11-18 16:04:55,400 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 16:05:55 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 16:05:55,413 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 16:06:55 CST)" (scheduled at 2024-11-18 16:05:55.398192+08:00)
+2024-11-18 16:05:55,415 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 16:06:55 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 16:06:55,404 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 16:07:55 CST)" (scheduled at 2024-11-18 16:06:55.398192+08:00)
+2024-11-18 16:06:55,405 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 16:07:55 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 16:07:55,402 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 16:08:55 CST)" (scheduled at 2024-11-18 16:07:55.398192+08:00)
+2024-11-18 16:07:55,403 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 16:08:55 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 16:08:55,400 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 16:09:55 CST)" (scheduled at 2024-11-18 16:08:55.398192+08:00)
+2024-11-18 16:08:55,401 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 16:09:55 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 16:09:55,401 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 16:10:55 CST)" (scheduled at 2024-11-18 16:09:55.398192+08:00)
+2024-11-18 16:09:55,402 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 16:10:55 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 16:10:55,414 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 16:11:55 CST)" (scheduled at 2024-11-18 16:10:55.398192+08:00)
+2024-11-18 16:10:55,415 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 16:11:55 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 16:11:55,406 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 16:12:55 CST)" (scheduled at 2024-11-18 16:11:55.398192+08:00)
+2024-11-18 16:11:55,407 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 16:12:55 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 16:12:55,410 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 16:13:55 CST)" (scheduled at 2024-11-18 16:12:55.398192+08:00)
+2024-11-18 16:12:55,411 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 16:13:55 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 16:13:55,407 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 16:14:55 CST)" (scheduled at 2024-11-18 16:13:55.398192+08:00)
+2024-11-18 16:13:55,408 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 16:14:55 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 16:14:55,408 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 16:15:55 CST)" (scheduled at 2024-11-18 16:14:55.398192+08:00)
+2024-11-18 16:14:55,409 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 16:15:55 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 16:15:55,405 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 16:16:55 CST)" (scheduled at 2024-11-18 16:15:55.398192+08:00)
+2024-11-18 16:15:55,406 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 16:16:55 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 16:16:55,401 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 16:17:55 CST)" (scheduled at 2024-11-18 16:16:55.398192+08:00)
+2024-11-18 16:16:55,402 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 16:17:55 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 16:17:55,399 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 16:18:55 CST)" (scheduled at 2024-11-18 16:17:55.398192+08:00)
+2024-11-18 16:17:55,400 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 16:18:55 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 16:18:55,403 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 16:19:55 CST)" (scheduled at 2024-11-18 16:18:55.398192+08:00)
+2024-11-18 16:18:55,404 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 16:19:55 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 16:19:55,400 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 16:20:55 CST)" (scheduled at 2024-11-18 16:19:55.398192+08:00)
+2024-11-18 16:19:55,401 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 16:20:55 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 16:20:55,399 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 16:21:55 CST)" (scheduled at 2024-11-18 16:20:55.398192+08:00)
+2024-11-18 16:20:55,401 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 16:21:55 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 16:21:55,401 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 16:22:55 CST)" (scheduled at 2024-11-18 16:21:55.398192+08:00)
+2024-11-18 16:21:55,402 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 16:22:55 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 16:22:55,406 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 16:23:55 CST)" (scheduled at 2024-11-18 16:22:55.398192+08:00)
+2024-11-18 16:22:55,407 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 16:23:55 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 16:23:55,407 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 16:24:55 CST)" (scheduled at 2024-11-18 16:23:55.398192+08:00)
+2024-11-18 16:23:55,408 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 16:24:55 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 16:24:55,411 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 16:25:55 CST)" (scheduled at 2024-11-18 16:24:55.398192+08:00)
+2024-11-18 16:24:55,413 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 16:25:55 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 16:25:55,402 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 16:26:55 CST)" (scheduled at 2024-11-18 16:25:55.398192+08:00)
+2024-11-18 16:25:55,403 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 16:26:55 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 18:32:48,737 - base - run_job - line:120 - WARNING -: Run time of job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 18:32:55 CST)" was missed by 0:00:53.339656
+2024-11-18 18:32:55,403 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 18:33:55 CST)" (scheduled at 2024-11-18 18:32:55.398192+08:00)
+2024-11-18 18:32:55,405 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 18:33:55 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 18:33:55,400 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 18:34:55 CST)" (scheduled at 2024-11-18 18:33:55.398192+08:00)
+2024-11-18 18:33:55,401 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 18:34:55 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 18:34:55,401 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 18:35:55 CST)" (scheduled at 2024-11-18 18:34:55.398192+08:00)
+2024-11-18 18:34:55,403 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 18:35:55 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 18:35:55,405 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 18:36:55 CST)" (scheduled at 2024-11-18 18:35:55.398192+08:00)
+2024-11-18 18:35:55,406 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 18:36:55 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 18:36:55,411 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 18:37:55 CST)" (scheduled at 2024-11-18 18:36:55.398192+08:00)
+2024-11-18 18:36:55,412 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 18:37:55 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 18:37:55,410 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 18:38:55 CST)" (scheduled at 2024-11-18 18:37:55.398192+08:00)
+2024-11-18 18:37:55,411 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 18:38:55 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 18:38:55,404 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 18:39:55 CST)" (scheduled at 2024-11-18 18:38:55.398192+08:00)
+2024-11-18 18:38:55,405 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 18:39:55 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 18:39:55,400 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 18:40:55 CST)" (scheduled at 2024-11-18 18:39:55.398192+08:00)
+2024-11-18 18:39:55,401 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 18:40:55 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 18:40:55,412 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 18:41:55 CST)" (scheduled at 2024-11-18 18:40:55.398192+08:00)
+2024-11-18 18:40:55,413 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 18:41:55 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 18:41:55,400 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 18:42:55 CST)" (scheduled at 2024-11-18 18:41:55.398192+08:00)
+2024-11-18 18:41:55,402 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 18:42:55 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 18:42:55,403 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 18:43:55 CST)" (scheduled at 2024-11-18 18:42:55.398192+08:00)
+2024-11-18 18:42:55,404 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 18:43:55 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 18:43:55,412 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 18:44:55 CST)" (scheduled at 2024-11-18 18:43:55.398192+08:00)
+2024-11-18 18:43:55,413 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 18:44:55 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 18:44:55,404 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 18:45:55 CST)" (scheduled at 2024-11-18 18:44:55.398192+08:00)
+2024-11-18 18:44:55,405 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 18:45:55 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 18:45:55,405 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 18:46:55 CST)" (scheduled at 2024-11-18 18:45:55.398192+08:00)
+2024-11-18 18:45:55,406 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 18:46:55 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 18:46:55,410 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 18:47:55 CST)" (scheduled at 2024-11-18 18:46:55.398192+08:00)
+2024-11-18 18:46:55,412 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 18:47:55 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 18:47:55,405 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 18:48:55 CST)" (scheduled at 2024-11-18 18:47:55.398192+08:00)
+2024-11-18 18:47:55,406 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 18:48:55 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 18:48:55,407 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 18:49:55 CST)" (scheduled at 2024-11-18 18:48:55.398192+08:00)
+2024-11-18 18:48:55,409 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 18:49:55 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 18:49:55,405 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 18:50:55 CST)" (scheduled at 2024-11-18 18:49:55.398192+08:00)
+2024-11-18 18:49:55,406 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 18:50:55 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 18:50:55,402 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 18:51:55 CST)" (scheduled at 2024-11-18 18:50:55.398192+08:00)
+2024-11-18 18:50:55,403 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 18:51:55 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 18:51:55,408 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 18:52:55 CST)" (scheduled at 2024-11-18 18:51:55.398192+08:00)
+2024-11-18 18:51:55,409 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 18:52:55 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 18:52:55,413 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 18:53:55 CST)" (scheduled at 2024-11-18 18:52:55.398192+08:00)
+2024-11-18 18:52:55,414 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 18:53:55 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 18:53:55,406 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 18:54:55 CST)" (scheduled at 2024-11-18 18:53:55.398192+08:00)
+2024-11-18 18:53:55,407 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 18:54:55 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 18:54:55,404 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 18:55:55 CST)" (scheduled at 2024-11-18 18:54:55.398192+08:00)
+2024-11-18 18:54:55,405 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 18:55:55 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 18:55:55,405 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 18:56:55 CST)" (scheduled at 2024-11-18 18:55:55.398192+08:00)
+2024-11-18 18:55:55,406 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 18:56:55 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 18:56:55,402 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 18:57:55 CST)" (scheduled at 2024-11-18 18:56:55.398192+08:00)
+2024-11-18 18:56:55,403 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 18:57:55 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 18:57:55,399 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 18:58:55 CST)" (scheduled at 2024-11-18 18:57:55.398192+08:00)
+2024-11-18 18:57:55,400 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 18:58:55 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 18:58:55,399 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 18:59:55 CST)" (scheduled at 2024-11-18 18:58:55.398192+08:00)
+2024-11-18 18:58:55,400 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 18:59:55 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 18:59:55,406 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:00:55 CST)" (scheduled at 2024-11-18 18:59:55.398192+08:00)
diff --git a/Log/log.log.4 b/Log/log.log.4
new file mode 100644
index 0000000..b4fe465
--- /dev/null
+++ b/Log/log.log.4
@@ -0,0 +1,1199 @@
+2024-11-18 14:51:41,624 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 14:52:41 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 14:52:41,630 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 14:53:41 CST)" (scheduled at 2024-11-18 14:52:41.614880+08:00)
+2024-11-18 14:52:41,631 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 14:53:41 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 14:53:41,622 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 14:54:41 CST)" (scheduled at 2024-11-18 14:53:41.614880+08:00)
+2024-11-18 14:53:41,623 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 14:54:41 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 14:54:41,618 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 14:55:41 CST)" (scheduled at 2024-11-18 14:54:41.614880+08:00)
+2024-11-18 14:54:41,619 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 14:55:41 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 14:55:41,619 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 14:56:41 CST)" (scheduled at 2024-11-18 14:55:41.614880+08:00)
+2024-11-18 14:55:41,620 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 14:56:41 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 14:56:41,624 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 14:57:41 CST)" (scheduled at 2024-11-18 14:56:41.614880+08:00)
+2024-11-18 14:56:41,625 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 14:57:41 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 14:57:41,628 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 14:58:41 CST)" (scheduled at 2024-11-18 14:57:41.614880+08:00)
+2024-11-18 14:57:41,629 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 14:58:41 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 14:58:41,626 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 14:59:41 CST)" (scheduled at 2024-11-18 14:58:41.614880+08:00)
+2024-11-18 14:58:41,627 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 14:59:41 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 14:59:41,619 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:00:41 CST)" (scheduled at 2024-11-18 14:59:41.614880+08:00)
+2024-11-18 14:59:41,620 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:00:41 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 15:00:41,620 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:01:41 CST)" (scheduled at 2024-11-18 15:00:41.614880+08:00)
+2024-11-18 15:00:41,621 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:01:41 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 15:01:33,351 - base - add_job - line:454 - INFO -: Adding job tentatively -- it will be properly scheduled when the scheduler starts
+2024-11-18 15:01:33,352 - base - _real_add_job - line:895 - INFO -: Added job "sync_resource" to job store "default"
+2024-11-18 15:01:33,352 - base - start - line:181 - INFO -: Scheduler started
+2024-11-18 15:02:33,364 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:03:33 CST)" (scheduled at 2024-11-18 15:02:33.351142+08:00)
+2024-11-18 15:02:33,368 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:03:33 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 15:02:46,291 - base - add_job - line:454 - INFO -: Adding job tentatively -- it will be properly scheduled when the scheduler starts
+2024-11-18 15:02:46,292 - base - _real_add_job - line:895 - INFO -: Added job "sync_resource" to job store "default"
+2024-11-18 15:02:46,292 - base - start - line:181 - INFO -: Scheduler started
+2024-11-18 15:03:02,953 - user - edit_user_pwd - line:123 - ERROR -: AppRegister.__init__() missing 1 required positional argument: 'db'
+2024-11-18 15:03:46,306 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:04:46 CST)" (scheduled at 2024-11-18 15:03:46.291994+08:00)
+2024-11-18 15:03:46,309 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:04:46 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 15:03:59,072 - base - add_job - line:454 - INFO -: Adding job tentatively -- it will be properly scheduled when the scheduler starts
+2024-11-18 15:03:59,073 - base - _real_add_job - line:895 - INFO -: Added job "sync_resource" to job store "default"
+2024-11-18 15:03:59,073 - base - start - line:181 - INFO -: Scheduler started
+2024-11-18 15:04:01,013 - user - edit_user_pwd - line:123 - ERROR -: 'int' object has no attribute 'app_type'
+2024-11-18 15:05:00,006 - base - add_job - line:454 - INFO -: Adding job tentatively -- it will be properly scheduled when the scheduler starts
+2024-11-18 15:05:00,007 - base - _real_add_job - line:895 - INFO -: Added job "sync_resource" to job store "default"
+2024-11-18 15:05:00,007 - base - start - line:181 - INFO -: Scheduler started
+2024-11-18 15:05:51,077 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: GET http://192.168.20.119:13001/api/v1/user/public_key "HTTP/1.1 200 OK"
+2024-11-18 15:05:51,347 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: POST http://192.168.20.119:13001/api/v1/user/login "HTTP/1.1 201 Created"
+2024-11-18 15:05:51,686 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: POST http://192.168.20.119:11080/v1/user/login "HTTP/1.1 200 OK"
+2024-11-18 15:06:00,010 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:07:00 CST)" (scheduled at 2024-11-18 15:06:00.006230+08:00)
+2024-11-18 15:06:00,013 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:07:00 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 15:07:00,018 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:08:00 CST)" (scheduled at 2024-11-18 15:07:00.006230+08:00)
+2024-11-18 15:07:00,020 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:08:00 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 15:08:00,019 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:09:00 CST)" (scheduled at 2024-11-18 15:08:00.006230+08:00)
+2024-11-18 15:08:00,020 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:09:00 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 15:09:00,018 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:10:00 CST)" (scheduled at 2024-11-18 15:09:00.006230+08:00)
+2024-11-18 15:09:00,020 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:10:00 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 15:10:00,011 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:11:00 CST)" (scheduled at 2024-11-18 15:10:00.006230+08:00)
+2024-11-18 15:10:00,013 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:11:00 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 15:11:00,017 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:12:00 CST)" (scheduled at 2024-11-18 15:11:00.006230+08:00)
+2024-11-18 15:11:00,018 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:12:00 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 15:11:24,039 - base - add_job - line:454 - INFO -: Adding job tentatively -- it will be properly scheduled when the scheduler starts
+2024-11-18 15:11:24,040 - base - _real_add_job - line:895 - INFO -: Added job "sync_resource" to job store "default"
+2024-11-18 15:11:24,040 - base - start - line:181 - INFO -: Scheduler started
+2024-11-18 15:11:26,698 - user - edit_user_pwd - line:125 - ERROR -: BishengService.change_password_public() missing 1 required positional argument: 'new_password'
+2024-11-18 15:11:58,671 - base - add_job - line:454 - INFO -: Adding job tentatively -- it will be properly scheduled when the scheduler starts
+2024-11-18 15:11:58,672 - base - _real_add_job - line:895 - INFO -: Added job "sync_resource" to job store "default"
+2024-11-18 15:11:58,672 - base - start - line:181 - INFO -: Scheduler started
+2024-11-18 15:12:01,321 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: POST http://192.168.20.119:11080/v1/user/setting "HTTP/1.1 200 OK"
+2024-11-18 15:12:01,322 - ragflow - set_user_password - line:198 - INFO -: set_user_password:{}
+2024-11-18 15:12:01,325 - user - edit_user_pwd - line:125 - ERROR -: BishengService.change_password_public() missing 1 required positional argument: 'new_password'
+2024-11-18 15:12:58,686 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:13:58 CST)" (scheduled at 2024-11-18 15:12:58.671687+08:00)
+2024-11-18 15:12:58,689 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:13:58 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 15:13:04,079 - base - add_job - line:454 - INFO -: Adding job tentatively -- it will be properly scheduled when the scheduler starts
+2024-11-18 15:13:04,079 - base - _real_add_job - line:895 - INFO -: Added job "sync_resource" to job store "default"
+2024-11-18 15:13:04,080 - base - start - line:181 - INFO -: Scheduler started
+2024-11-18 15:13:06,875 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: POST http://192.168.20.119:11080/v1/user/setting "HTTP/1.1 200 OK"
+2024-11-18 15:13:06,876 - ragflow - set_user_password - line:198 - INFO -: set_user_password:{}
+2024-11-18 15:13:07,021 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: POST http://192.168.20.119:13001/api/v1/user/change_password_public "HTTP/1.1 500 Internal Server Error"
+2024-11-18 15:13:07,021 - user - edit_user_pwd - line:125 - ERROR -: Failed to fetch data from Bisheng API: Internal Server Error
+2024-11-18 15:14:02,085 - base - add_job - line:454 - INFO -: Adding job tentatively -- it will be properly scheduled when the scheduler starts
+2024-11-18 15:14:02,086 - base - _real_add_job - line:895 - INFO -: Added job "sync_resource" to job store "default"
+2024-11-18 15:14:02,087 - base - start - line:181 - INFO -: Scheduler started
+2024-11-18 15:14:03,802 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: POST http://192.168.20.119:11080/v1/user/setting "HTTP/1.1 200 OK"
+2024-11-18 15:14:03,803 - ragflow - set_user_password - line:198 - INFO -: set_user_password:{}
+2024-11-18 15:14:03,855 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: POST http://192.168.20.119:13001/api/v1/user/change_password_public "HTTP/1.1 500 Internal Server Error"
+2024-11-18 15:14:03,855 - user - edit_user_pwd - line:125 - ERROR -: Failed to fetch data from Bisheng API: Internal Server Error
+2024-11-18 15:15:02,086 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:16:02 CST)" (scheduled at 2024-11-18 15:15:02.085338+08:00)
+2024-11-18 15:15:02,088 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:16:02 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 15:16:02,086 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:17:02 CST)" (scheduled at 2024-11-18 15:16:02.085338+08:00)
+2024-11-18 15:16:02,087 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:17:02 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 15:17:02,097 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:18:02 CST)" (scheduled at 2024-11-18 15:17:02.085338+08:00)
+2024-11-18 15:17:02,099 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:18:02 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 15:18:02,088 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:19:02 CST)" (scheduled at 2024-11-18 15:18:02.085338+08:00)
+2024-11-18 15:18:02,089 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:19:02 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 15:19:02,097 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:20:02 CST)" (scheduled at 2024-11-18 15:19:02.085338+08:00)
+2024-11-18 15:19:02,098 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:20:02 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 15:20:02,089 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:21:02 CST)" (scheduled at 2024-11-18 15:20:02.085338+08:00)
+2024-11-18 15:20:02,090 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:21:02 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 15:20:41,344 - base - add_job - line:454 - INFO -: Adding job tentatively -- it will be properly scheduled when the scheduler starts
+2024-11-18 15:20:41,345 - base - _real_add_job - line:895 - INFO -: Added job "sync_resource" to job store "default"
+2024-11-18 15:20:41,346 - base - start - line:181 - INFO -: Scheduler started
+2024-11-18 15:20:44,425 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: POST http://192.168.20.119:11080/v1/user/setting "HTTP/1.1 200 OK"
+2024-11-18 15:20:44,426 - ragflow - set_user_password - line:198 - INFO -: set_user_password:{}
+2024-11-18 15:20:44,473 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: GET http://192.168.20.119:13001/api/v1/user/public_key "HTTP/1.1 200 OK"
+2024-11-18 15:20:44,541 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: POST http://192.168.20.119:13001/api/v1/user/change_password_public "HTTP/1.1 200 OK"
+2024-11-18 15:20:44,541 - user - edit_user_pwd - line:125 - ERROR -: Failed to fetch data from Bisheng API: {"status_code":10600,"status_message":"璐﹀彿鎴栧瘑鐮侀敊璇�","data":null}
+2024-11-18 15:21:35,948 - base - add_job - line:454 - INFO -: Adding job tentatively -- it will be properly scheduled when the scheduler starts
+2024-11-18 15:21:35,949 - base - _real_add_job - line:895 - INFO -: Added job "sync_resource" to job store "default"
+2024-11-18 15:21:35,949 - base - start - line:181 - INFO -: Scheduler started
+2024-11-18 15:21:37,778 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: POST http://192.168.20.119:11080/v1/user/setting "HTTP/1.1 200 OK"
+2024-11-18 15:21:37,779 - ragflow - set_user_password - line:198 - INFO -: set_user_password:{}
+2024-11-18 15:21:37,829 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: GET http://192.168.20.119:13001/api/v1/user/public_key "HTTP/1.1 200 OK"
+2024-11-18 15:21:37,897 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: POST http://192.168.20.119:13001/api/v1/user/change_password_public "HTTP/1.1 200 OK"
+2024-11-18 15:21:37,897 - user - edit_user_pwd - line:125 - ERROR -: Failed to fetch data from Bisheng API: {"status_code":10600,"status_message":"璐﹀彿鎴栧瘑鐮侀敊璇�","data":null}
+2024-11-18 15:22:35,687 - base - add_job - line:454 - INFO -: Adding job tentatively -- it will be properly scheduled when the scheduler starts
+2024-11-18 15:22:35,688 - base - _real_add_job - line:895 - INFO -: Added job "sync_resource" to job store "default"
+2024-11-18 15:22:35,688 - base - start - line:181 - INFO -: Scheduler started
+2024-11-18 15:22:37,007 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: POST http://192.168.20.119:11080/v1/user/setting "HTTP/1.1 200 OK"
+2024-11-18 15:22:37,007 - ragflow - set_user_password - line:198 - INFO -: set_user_password:{}
+2024-11-18 15:22:37,056 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: GET http://192.168.20.119:13001/api/v1/user/public_key "HTTP/1.1 200 OK"
+2024-11-18 15:22:37,125 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: POST http://192.168.20.119:13001/api/v1/user/change_password_public "HTTP/1.1 200 OK"
+2024-11-18 15:22:37,125 - user - edit_user_pwd - line:125 - ERROR -: Failed to fetch data from Bisheng API: {"status_code":10600,"status_message":"璐﹀彿鎴栧瘑鐮侀敊璇�","data":null}
+2024-11-18 15:22:54,746 - base - add_job - line:454 - INFO -: Adding job tentatively -- it will be properly scheduled when the scheduler starts
+2024-11-18 15:22:54,746 - base - _real_add_job - line:895 - INFO -: Added job "sync_resource" to job store "default"
+2024-11-18 15:22:54,747 - base - start - line:181 - INFO -: Scheduler started
+2024-11-18 15:22:56,269 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: POST http://192.168.20.119:11080/v1/user/setting "HTTP/1.1 200 OK"
+2024-11-18 15:22:56,270 - ragflow - set_user_password - line:198 - INFO -: set_user_password:{}
+2024-11-18 15:22:56,318 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: GET http://192.168.20.119:13001/api/v1/user/public_key "HTTP/1.1 200 OK"
+2024-11-18 15:22:56,390 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: POST http://192.168.20.119:13001/api/v1/user/change_password_public "HTTP/1.1 200 OK"
+2024-11-18 15:22:56,391 - user - edit_user_pwd - line:125 - ERROR -: Failed to fetch data from Bisheng API: {"status_code":10600,"status_message":"璐﹀彿鎴栧瘑鐮侀敊璇�","data":null}
+2024-11-18 15:23:50,794 - base - add_job - line:454 - INFO -: Adding job tentatively -- it will be properly scheduled when the scheduler starts
+2024-11-18 15:23:50,795 - base - _real_add_job - line:895 - INFO -: Added job "sync_resource" to job store "default"
+2024-11-18 15:23:50,795 - base - start - line:181 - INFO -: Scheduler started
+2024-11-18 15:23:54,278 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: POST http://192.168.20.119:11080/v1/user/setting "HTTP/1.1 200 OK"
+2024-11-18 15:23:54,279 - ragflow - set_user_password - line:196 - INFO -: set_user_password:{}
+2024-11-18 15:23:54,327 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: GET http://192.168.20.119:13001/api/v1/user/public_key "HTTP/1.1 200 OK"
+2024-11-18 15:23:54,395 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: POST http://192.168.20.119:13001/api/v1/user/change_password_public "HTTP/1.1 200 OK"
+2024-11-18 15:23:54,395 - user - edit_user_pwd - line:125 - ERROR -: Failed to fetch data from Bisheng API: {"status_code":10600,"status_message":"璐﹀彿鎴栧瘑鐮侀敊璇�","data":null}
+2024-11-18 15:24:50,808 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:25:50 CST)" (scheduled at 2024-11-18 15:24:50.794246+08:00)
+2024-11-18 15:24:50,810 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:25:50 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 15:25:02,352 - base - add_job - line:454 - INFO -: Adding job tentatively -- it will be properly scheduled when the scheduler starts
+2024-11-18 15:25:02,353 - base - _real_add_job - line:895 - INFO -: Added job "sync_resource" to job store "default"
+2024-11-18 15:25:02,353 - base - start - line:181 - INFO -: Scheduler started
+2024-11-18 15:25:04,412 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: POST http://192.168.20.119:11080/v1/user/setting "HTTP/1.1 200 OK"
+2024-11-18 15:25:04,413 - ragflow - set_user_password - line:196 - INFO -: set_user_password:{}
+2024-11-18 15:25:04,458 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: GET http://192.168.20.119:13001/api/v1/user/public_key "HTTP/1.1 200 OK"
+2024-11-18 15:25:04,527 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: POST http://192.168.20.119:13001/api/v1/user/change_password_public "HTTP/1.1 200 OK"
+2024-11-18 15:25:04,527 - user - edit_user_pwd - line:126 - ERROR -: Failed to fetch data from Bisheng API: {"status_code":10600,"status_message":"璐﹀彿鎴栧瘑鐮侀敊璇�","data":null}
+2024-11-18 15:26:02,361 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:26:02 CST)" (scheduled at 2024-11-18 15:26:02.352080+08:00)
+2024-11-18 15:26:02,388 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:27:02 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 15:26:06,332 - base - add_job - line:454 - INFO -: Adding job tentatively -- it will be properly scheduled when the scheduler starts
+2024-11-18 15:26:06,333 - base - _real_add_job - line:895 - INFO -: Added job "sync_resource" to job store "default"
+2024-11-18 15:26:06,333 - base - start - line:181 - INFO -: Scheduler started
+2024-11-18 15:26:12,542 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: POST http://192.168.20.119:11080/v1/user/setting "HTTP/1.1 200 OK"
+2024-11-18 15:26:12,543 - ragflow - set_user_password - line:198 - INFO -: set_user_password:{}
+2024-11-18 15:26:12,590 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: GET http://192.168.20.119:13001/api/v1/user/public_key "HTTP/1.1 200 OK"
+2024-11-18 15:26:12,663 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: POST http://192.168.20.119:13001/api/v1/user/change_password_public "HTTP/1.1 200 OK"
+2024-11-18 15:26:12,663 - user - edit_user_pwd - line:126 - ERROR -: Failed to fetch data from Bisheng API: {"status_code":10600,"status_message":"璐﹀彿鎴栧瘑鐮侀敊璇�","data":null}
+2024-11-18 15:27:06,343 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:28:06 CST)" (scheduled at 2024-11-18 15:27:06.332248+08:00)
+2024-11-18 15:27:06,345 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:28:06 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 15:27:15,295 - base - add_job - line:454 - INFO -: Adding job tentatively -- it will be properly scheduled when the scheduler starts
+2024-11-18 15:27:15,296 - base - _real_add_job - line:895 - INFO -: Added job "sync_resource" to job store "default"
+2024-11-18 15:27:15,296 - base - start - line:181 - INFO -: Scheduler started
+2024-11-18 15:27:17,403 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: POST http://192.168.20.119:11080/v1/user/setting "HTTP/1.1 200 OK"
+2024-11-18 15:27:17,404 - ragflow - set_user_password - line:198 - INFO -: set_user_password:{}
+2024-11-18 15:27:17,450 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: GET http://192.168.20.119:13001/api/v1/user/public_key "HTTP/1.1 200 OK"
+2024-11-18 15:27:17,599 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: POST http://192.168.20.119:13001/api/v1/user/change_password_public "HTTP/1.1 200 OK"
+2024-11-18 15:27:36,584 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: GET http://192.168.20.119:13001/api/v1/user/public_key "HTTP/1.1 200 OK"
+2024-11-18 15:27:36,649 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: POST http://192.168.20.119:13001/api/v1/user/login "HTTP/1.1 201 Created"
+2024-11-18 15:28:15,303 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:29:15 CST)" (scheduled at 2024-11-18 15:28:15.295491+08:00)
+2024-11-18 15:28:15,305 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:29:15 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 15:29:15,296 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:30:15 CST)" (scheduled at 2024-11-18 15:29:15.295491+08:00)
+2024-11-18 15:29:15,297 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:30:15 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 15:29:39,898 - base - add_job - line:454 - INFO -: Adding job tentatively -- it will be properly scheduled when the scheduler starts
+2024-11-18 15:29:39,899 - base - _real_add_job - line:895 - INFO -: Added job "sync_resource" to job store "default"
+2024-11-18 15:29:39,899 - base - start - line:181 - INFO -: Scheduler started
+2024-11-18 15:29:41,589 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: GET http://192.168.20.119:13001/api/v1/user/public_key "HTTP/1.1 200 OK"
+2024-11-18 15:29:41,984 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: POST http://192.168.20.119:13001/api/v1/user/login "HTTP/1.1 201 Created"
+2024-11-18 15:29:42,275 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: POST http://192.168.20.119:11080/v1/user/login "HTTP/1.1 200 OK"
+2024-11-18 15:30:39,912 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:31:39 CST)" (scheduled at 2024-11-18 15:30:39.898188+08:00)
+2024-11-18 15:30:39,914 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:31:39 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 15:31:39,913 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:32:39 CST)" (scheduled at 2024-11-18 15:31:39.898188+08:00)
+2024-11-18 15:31:39,915 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:32:39 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 15:32:39,910 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:33:39 CST)" (scheduled at 2024-11-18 15:32:39.898188+08:00)
+2024-11-18 15:32:39,912 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:33:39 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 15:33:01,475 - base - add_job - line:454 - INFO -: Adding job tentatively -- it will be properly scheduled when the scheduler starts
+2024-11-18 15:33:01,476 - base - _real_add_job - line:895 - INFO -: Added job "sync_resource" to job store "default"
+2024-11-18 15:33:01,476 - base - start - line:181 - INFO -: Scheduler started
+2024-11-18 15:33:10,204 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: GET http://192.168.20.119:13001/api/v1/user/public_key "HTTP/1.1 200 OK"
+2024-11-18 15:33:10,569 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: POST http://192.168.20.119:13001/api/v1/user/regist "HTTP/1.1 201 Created"
+2024-11-18 15:33:11,546 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: POST http://192.168.20.119:11080/v1/user/register "HTTP/1.1 200 OK"
+2024-11-18 15:33:20,854 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: GET http://192.168.20.119:13001/api/v1/user/public_key "HTTP/1.1 200 OK"
+2024-11-18 15:33:20,913 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: POST http://192.168.20.119:13001/api/v1/user/login "HTTP/1.1 201 Created"
+2024-11-18 15:33:27,032 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: GET http://192.168.20.119:13001/api/v1/user/public_key "HTTP/1.1 200 OK"
+2024-11-18 15:33:27,307 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: POST http://192.168.20.119:13001/api/v1/user/login "HTTP/1.1 201 Created"
+2024-11-18 15:33:27,911 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: POST http://192.168.20.119:11080/v1/user/login "HTTP/1.1 200 OK"
+2024-11-18 15:33:38,908 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: POST http://192.168.20.119:11080/v1/user/setting "HTTP/1.1 200 OK"
+2024-11-18 15:33:38,910 - ragflow - set_user_password - line:200 - INFO -: set_user_password:{}
+2024-11-18 15:33:38,956 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: GET http://192.168.20.119:13001/api/v1/user/public_key "HTTP/1.1 200 OK"
+2024-11-18 15:33:39,201 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: POST http://192.168.20.119:13001/api/v1/user/change_password_public "HTTP/1.1 200 OK"
+2024-11-18 15:33:47,384 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: GET http://192.168.20.119:13001/api/v1/user/public_key "HTTP/1.1 200 OK"
+2024-11-18 15:33:47,489 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: POST http://192.168.20.119:13001/api/v1/user/login "HTTP/1.1 201 Created"
+2024-11-18 15:33:52,948 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: GET http://192.168.20.119:13001/api/v1/user/public_key "HTTP/1.1 200 OK"
+2024-11-18 15:33:53,151 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: POST http://192.168.20.119:13001/api/v1/user/login "HTTP/1.1 201 Created"
+2024-11-18 15:33:53,402 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: POST http://192.168.20.119:11080/v1/user/login "HTTP/1.1 200 OK"
+2024-11-18 15:34:01,476 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:35:01 CST)" (scheduled at 2024-11-18 15:34:01.475933+08:00)
+2024-11-18 15:34:01,478 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:35:01 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 15:35:01,488 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:36:01 CST)" (scheduled at 2024-11-18 15:35:01.475933+08:00)
+2024-11-18 15:35:01,489 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:36:01 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 15:36:01,491 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:37:01 CST)" (scheduled at 2024-11-18 15:36:01.475933+08:00)
+2024-11-18 15:36:01,492 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:37:01 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 15:37:01,476 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:38:01 CST)" (scheduled at 2024-11-18 15:37:01.475933+08:00)
+2024-11-18 15:37:01,477 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:38:01 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 15:38:01,491 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:39:01 CST)" (scheduled at 2024-11-18 15:38:01.475933+08:00)
+2024-11-18 15:38:01,493 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:39:01 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 15:39:01,487 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:40:01 CST)" (scheduled at 2024-11-18 15:39:01.475933+08:00)
+2024-11-18 15:39:01,488 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:40:01 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 15:40:01,478 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:41:01 CST)" (scheduled at 2024-11-18 15:40:01.475933+08:00)
+2024-11-18 15:40:01,480 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:41:01 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 15:41:01,488 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:42:01 CST)" (scheduled at 2024-11-18 15:41:01.475933+08:00)
+2024-11-18 15:41:01,490 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:42:01 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 15:41:55,398 - base - add_job - line:454 - INFO -: Adding job tentatively -- it will be properly scheduled when the scheduler starts
+2024-11-18 15:41:55,399 - base - _real_add_job - line:895 - INFO -: Added job "sync_resource" to job store "default"
+2024-11-18 15:41:55,399 - base - start - line:181 - INFO -: Scheduler started
+2024-11-18 15:42:06,068 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: GET http://192.168.20.119:13001/api/v1/user/public_key "HTTP/1.1 200 OK"
+2024-11-18 15:42:06,440 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: POST http://192.168.20.119:13001/api/v1/user/regist "HTTP/1.1 201 Created"
+2024-11-18 15:42:07,880 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: POST http://192.168.20.119:11080/v1/user/register "HTTP/1.1 200 OK"
+2024-11-18 15:42:21,109 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: GET http://192.168.20.119:13001/api/v1/user/public_key "HTTP/1.1 200 OK"
+2024-11-18 15:42:21,291 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: POST http://192.168.20.119:13001/api/v1/user/login "HTTP/1.1 201 Created"
+2024-11-18 15:42:21,826 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: POST http://192.168.20.119:11080/v1/user/login "HTTP/1.1 200 OK"
+2024-11-18 15:42:55,403 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:43:55 CST)" (scheduled at 2024-11-18 15:42:55.398192+08:00)
+2024-11-18 15:42:55,405 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:43:55 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 15:43:55,407 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:44:55 CST)" (scheduled at 2024-11-18 15:43:55.398192+08:00)
+2024-11-18 15:43:55,409 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:44:55 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 15:44:55,409 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:45:55 CST)" (scheduled at 2024-11-18 15:44:55.398192+08:00)
+2024-11-18 15:44:55,410 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:45:55 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 15:45:55,411 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:46:55 CST)" (scheduled at 2024-11-18 15:45:55.398192+08:00)
+2024-11-18 15:45:55,412 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:46:55 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 15:45:58,191 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: POST http://192.168.20.119:11080/v1/user/setting "HTTP/1.1 200 OK"
+2024-11-18 15:45:58,191 - ragflow - set_user_password - line:200 - INFO -: set_user_password:{}
+2024-11-18 15:45:58,239 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: GET http://192.168.20.119:13001/api/v1/user/public_key "HTTP/1.1 200 OK"
+2024-11-18 15:45:58,402 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: POST http://192.168.20.119:13001/api/v1/user/change_password_public "HTTP/1.1 200 OK"
+2024-11-18 15:46:07,462 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: GET http://192.168.20.119:13001/api/v1/user/public_key "HTTP/1.1 200 OK"
+2024-11-18 15:46:07,536 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: POST http://192.168.20.119:13001/api/v1/user/login "HTTP/1.1 201 Created"
+2024-11-18 15:46:12,627 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: GET http://192.168.20.119:13001/api/v1/user/public_key "HTTP/1.1 200 OK"
+2024-11-18 15:46:12,817 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: POST http://192.168.20.119:13001/api/v1/user/login "HTTP/1.1 201 Created"
+2024-11-18 15:46:13,082 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: POST http://192.168.20.119:11080/v1/user/login "HTTP/1.1 200 OK"
+2024-11-18 15:46:55,408 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:47:55 CST)" (scheduled at 2024-11-18 15:46:55.398192+08:00)
+2024-11-18 15:46:55,409 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:47:55 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 15:47:55,413 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:48:55 CST)" (scheduled at 2024-11-18 15:47:55.398192+08:00)
+2024-11-18 15:47:55,414 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:48:55 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 15:48:55,401 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:49:55 CST)" (scheduled at 2024-11-18 15:48:55.398192+08:00)
+2024-11-18 15:48:55,402 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:49:55 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 15:49:55,399 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:50:55 CST)" (scheduled at 2024-11-18 15:49:55.398192+08:00)
+2024-11-18 15:49:55,400 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:50:55 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 15:50:55,408 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:51:55 CST)" (scheduled at 2024-11-18 15:50:55.398192+08:00)
+2024-11-18 15:50:55,409 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:51:55 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
diff --git a/Log/log.log.5 b/Log/log.log.5
new file mode 100644
index 0000000..a47893f
--- /dev/null
+++ b/Log/log.log.5
@@ -0,0 +1,1277 @@
+2024-11-18 13:45:50,529 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 13:46:50 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 13:46:50,532 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 13:47:50 CST)" (scheduled at 2024-11-18 13:46:50.521852+08:00)
+2024-11-18 13:46:50,533 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 13:47:50 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 13:47:50,522 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 13:48:50 CST)" (scheduled at 2024-11-18 13:47:50.521852+08:00)
+2024-11-18 13:47:50,523 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 13:48:50 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 13:48:50,532 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 13:49:50 CST)" (scheduled at 2024-11-18 13:48:50.521852+08:00)
+2024-11-18 13:48:50,533 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 13:49:50 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 13:49:50,527 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 13:50:50 CST)" (scheduled at 2024-11-18 13:49:50.521852+08:00)
+2024-11-18 13:49:50,529 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 13:50:50 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 13:50:50,529 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 13:51:50 CST)" (scheduled at 2024-11-18 13:50:50.521852+08:00)
+2024-11-18 13:50:50,530 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 13:51:50 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 13:51:50,530 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 13:52:50 CST)" (scheduled at 2024-11-18 13:51:50.521852+08:00)
+2024-11-18 13:51:50,531 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 13:52:50 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 13:52:50,524 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 13:53:50 CST)" (scheduled at 2024-11-18 13:52:50.521852+08:00)
+2024-11-18 13:52:50,525 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 13:53:50 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 13:53:50,528 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 13:54:50 CST)" (scheduled at 2024-11-18 13:53:50.521852+08:00)
+2024-11-18 13:53:50,529 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 13:54:50 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 13:54:50,531 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 13:55:50 CST)" (scheduled at 2024-11-18 13:54:50.521852+08:00)
+2024-11-18 13:54:50,532 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 13:55:50 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 13:55:50,527 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 13:56:50 CST)" (scheduled at 2024-11-18 13:55:50.521852+08:00)
+2024-11-18 13:55:50,528 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 13:56:50 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 13:56:50,531 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 13:57:50 CST)" (scheduled at 2024-11-18 13:56:50.521852+08:00)
+2024-11-18 13:56:50,532 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 13:57:50 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 13:57:50,532 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 13:58:50 CST)" (scheduled at 2024-11-18 13:57:50.521852+08:00)
+2024-11-18 13:57:50,533 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 13:58:50 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 13:58:50,524 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 13:59:50 CST)" (scheduled at 2024-11-18 13:58:50.521852+08:00)
+2024-11-18 13:58:50,525 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 13:59:50 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 13:59:50,528 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 14:00:50 CST)" (scheduled at 2024-11-18 13:59:50.521852+08:00)
+2024-11-18 13:59:50,529 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 14:00:50 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 14:00:50,528 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 14:01:50 CST)" (scheduled at 2024-11-18 14:00:50.521852+08:00)
+2024-11-18 14:00:50,529 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 14:01:50 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 14:01:50,522 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 14:02:50 CST)" (scheduled at 2024-11-18 14:01:50.521852+08:00)
+2024-11-18 14:01:50,523 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 14:02:50 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 14:02:50,524 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 14:03:50 CST)" (scheduled at 2024-11-18 14:02:50.521852+08:00)
+2024-11-18 14:02:50,525 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 14:03:50 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 14:03:50,532 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 14:04:50 CST)" (scheduled at 2024-11-18 14:03:50.521852+08:00)
+2024-11-18 14:03:50,533 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 14:04:50 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 14:04:50,532 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 14:05:50 CST)" (scheduled at 2024-11-18 14:04:50.521852+08:00)
+2024-11-18 14:04:50,533 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 14:05:50 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 14:05:50,528 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 14:06:50 CST)" (scheduled at 2024-11-18 14:05:50.521852+08:00)
+2024-11-18 14:05:50,529 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 14:06:50 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 14:06:50,532 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 14:07:50 CST)" (scheduled at 2024-11-18 14:06:50.521852+08:00)
+2024-11-18 14:06:50,533 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 14:07:50 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 14:07:50,536 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 14:08:50 CST)" (scheduled at 2024-11-18 14:07:50.521852+08:00)
+2024-11-18 14:07:50,537 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 14:08:50 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 14:08:50,535 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 14:09:50 CST)" (scheduled at 2024-11-18 14:08:50.521852+08:00)
+2024-11-18 14:08:50,537 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 14:09:50 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 14:09:50,531 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 14:10:50 CST)" (scheduled at 2024-11-18 14:09:50.521852+08:00)
+2024-11-18 14:09:50,532 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 14:10:50 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 14:10:50,528 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 14:11:50 CST)" (scheduled at 2024-11-18 14:10:50.521852+08:00)
+2024-11-18 14:10:50,530 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 14:11:50 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 14:11:50,532 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 14:12:50 CST)" (scheduled at 2024-11-18 14:11:50.521852+08:00)
+2024-11-18 14:11:50,533 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 14:12:50 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 14:12:50,527 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 14:13:50 CST)" (scheduled at 2024-11-18 14:12:50.521852+08:00)
+2024-11-18 14:12:50,528 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 14:13:50 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 14:13:50,535 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 14:14:50 CST)" (scheduled at 2024-11-18 14:13:50.521852+08:00)
+2024-11-18 14:13:50,536 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 14:14:50 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 14:14:50,528 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 14:15:50 CST)" (scheduled at 2024-11-18 14:14:50.521852+08:00)
+2024-11-18 14:14:50,529 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 14:15:50 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 14:15:50,524 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 14:16:50 CST)" (scheduled at 2024-11-18 14:15:50.521852+08:00)
+2024-11-18 14:15:50,525 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 14:16:50 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 14:16:50,537 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 14:17:50 CST)" (scheduled at 2024-11-18 14:16:50.521852+08:00)
+2024-11-18 14:16:50,539 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 14:17:50 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 14:17:50,536 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 14:18:50 CST)" (scheduled at 2024-11-18 14:17:50.521852+08:00)
+2024-11-18 14:17:50,537 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 14:18:50 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 14:18:50,524 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 14:19:50 CST)" (scheduled at 2024-11-18 14:18:50.521852+08:00)
+2024-11-18 14:18:50,525 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 14:19:50 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 14:19:50,529 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 14:20:50 CST)" (scheduled at 2024-11-18 14:19:50.521852+08:00)
+2024-11-18 14:19:50,530 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 14:20:50 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 14:20:50,522 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 14:21:50 CST)" (scheduled at 2024-11-18 14:20:50.521852+08:00)
+2024-11-18 14:20:50,523 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 14:21:50 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 14:21:50,534 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 14:22:50 CST)" (scheduled at 2024-11-18 14:21:50.521852+08:00)
+2024-11-18 14:21:50,535 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 14:22:50 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 14:22:50,535 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 14:23:50 CST)" (scheduled at 2024-11-18 14:22:50.521852+08:00)
+2024-11-18 14:22:50,536 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 14:23:50 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 14:23:50,533 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 14:24:50 CST)" (scheduled at 2024-11-18 14:23:50.521852+08:00)
+2024-11-18 14:23:50,534 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 14:24:50 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 14:24:50,533 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 14:25:50 CST)" (scheduled at 2024-11-18 14:24:50.521852+08:00)
+2024-11-18 14:24:50,534 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 14:25:50 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 14:25:50,530 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 14:26:50 CST)" (scheduled at 2024-11-18 14:25:50.521852+08:00)
+2024-11-18 14:25:50,531 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 14:26:50 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 14:26:50,536 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 14:27:50 CST)" (scheduled at 2024-11-18 14:26:50.521852+08:00)
+2024-11-18 14:26:50,537 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 14:27:50 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 14:27:50,526 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 14:28:50 CST)" (scheduled at 2024-11-18 14:27:50.521852+08:00)
+2024-11-18 14:27:50,527 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 14:28:50 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 14:28:50,531 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 14:29:50 CST)" (scheduled at 2024-11-18 14:28:50.521852+08:00)
+2024-11-18 14:28:50,532 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 14:29:50 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 14:29:50,530 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 14:30:50 CST)" (scheduled at 2024-11-18 14:29:50.521852+08:00)
+2024-11-18 14:29:50,532 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 14:30:50 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 14:30:50,529 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 14:31:50 CST)" (scheduled at 2024-11-18 14:30:50.521852+08:00)
+2024-11-18 14:30:50,530 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 14:31:50 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 14:31:50,529 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 14:32:50 CST)" (scheduled at 2024-11-18 14:31:50.521852+08:00)
+2024-11-18 14:31:50,531 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 14:32:50 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 14:32:50,527 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 14:33:50 CST)" (scheduled at 2024-11-18 14:32:50.521852+08:00)
+2024-11-18 14:32:50,528 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 14:33:50 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 14:33:50,532 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 14:34:50 CST)" (scheduled at 2024-11-18 14:33:50.521852+08:00)
+2024-11-18 14:33:50,533 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 14:34:50 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 14:37:53,422 - base - add_job - line:454 - INFO -: Adding job tentatively -- it will be properly scheduled when the scheduler starts
+2024-11-18 14:37:53,423 - base - _real_add_job - line:895 - INFO -: Added job "sync_resource" to job store "default"
+2024-11-18 14:37:53,423 - base - start - line:181 - INFO -: Scheduler started
+2024-11-18 14:38:53,434 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 14:39:53 CST)" (scheduled at 2024-11-18 14:38:53.422513+08:00)
+2024-11-18 14:38:53,437 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 14:39:53 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 14:39:17,799 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: GET http://192.168.20.119:13001/api/v1/user/public_key "HTTP/1.1 200 OK"
+2024-11-18 14:39:18,169 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: POST http://192.168.20.119:13001/api/v1/user/regist "HTTP/1.1 201 Created"
+2024-11-18 14:39:19,196 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: POST http://192.168.20.119:11080/v1/user/register "HTTP/1.1 200 OK"
+2024-11-18 14:39:53,433 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 14:40:53 CST)" (scheduled at 2024-11-18 14:39:53.422513+08:00)
+2024-11-18 14:39:53,434 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 14:40:53 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 14:40:53,438 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 14:41:53 CST)" (scheduled at 2024-11-18 14:40:53.422513+08:00)
+2024-11-18 14:40:53,439 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 14:41:53 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 14:41:14,812 - base - add_job - line:454 - INFO -: Adding job tentatively -- it will be properly scheduled when the scheduler starts
+2024-11-18 14:41:14,813 - base - _real_add_job - line:895 - INFO -: Added job "sync_resource" to job store "default"
+2024-11-18 14:41:14,813 - base - start - line:181 - INFO -: Scheduler started
+2024-11-18 14:41:19,702 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: GET http://192.168.20.119:13001/api/v1/user/public_key "HTTP/1.1 200 OK"
+2024-11-18 14:41:19,789 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: POST http://192.168.20.119:13001/api/v1/user/regist "HTTP/1.1 200 OK"
+2024-11-18 14:41:57,596 - base - add_job - line:454 - INFO -: Adding job tentatively -- it will be properly scheduled when the scheduler starts
+2024-11-18 14:41:57,597 - base - _real_add_job - line:895 - INFO -: Added job "sync_resource" to job store "default"
+2024-11-18 14:41:57,597 - base - start - line:181 - INFO -: Scheduler started
+2024-11-18 14:42:00,864 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: GET http://192.168.20.119:13001/api/v1/user/public_key "HTTP/1.1 200 OK"
+2024-11-18 14:42:01,276 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: POST http://192.168.20.119:13001/api/v1/user/regist "HTTP/1.1 201 Created"
+2024-11-18 14:42:03,460 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: POST http://192.168.20.119:11080/v1/user/register "HTTP/1.1 200 OK"
+2024-11-18 14:42:57,609 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 14:43:57 CST)" (scheduled at 2024-11-18 14:42:57.596660+08:00)
+2024-11-18 14:42:57,611 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 14:43:57 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 14:43:24,609 - base - add_job - line:454 - INFO -: Adding job tentatively -- it will be properly scheduled when the scheduler starts
+2024-11-18 14:43:24,609 - base - _real_add_job - line:895 - INFO -: Added job "sync_resource" to job store "default"
+2024-11-18 14:43:24,610 - base - start - line:181 - INFO -: Scheduler started
+2024-11-18 14:44:24,618 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 14:45:24 CST)" (scheduled at 2024-11-18 14:44:24.608209+08:00)
+2024-11-18 14:44:24,621 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 14:45:24 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 14:45:24,620 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 14:46:24 CST)" (scheduled at 2024-11-18 14:45:24.608209+08:00)
+2024-11-18 14:45:24,621 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 14:46:24 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 14:46:24,612 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 14:47:24 CST)" (scheduled at 2024-11-18 14:46:24.608209+08:00)
+2024-11-18 14:46:24,613 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 14:47:24 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 14:47:24,622 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 14:48:24 CST)" (scheduled at 2024-11-18 14:47:24.608209+08:00)
+2024-11-18 14:47:24,623 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 14:48:24 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 14:48:24,620 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 14:49:24 CST)" (scheduled at 2024-11-18 14:48:24.608209+08:00)
+2024-11-18 14:48:24,621 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 14:49:24 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 14:49:24,611 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 14:50:24 CST)" (scheduled at 2024-11-18 14:49:24.608209+08:00)
+2024-11-18 14:49:24,613 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 14:50:24 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 14:49:32,184 - base - add_job - line:454 - INFO -: Adding job tentatively -- it will be properly scheduled when the scheduler starts
+2024-11-18 14:49:32,185 - base - _real_add_job - line:895 - INFO -: Added job "sync_resource" to job store "default"
+2024-11-18 14:49:32,185 - base - start - line:181 - INFO -: Scheduler started
+2024-11-18 14:49:34,673 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: GET http://192.168.20.119:13001/api/v1/user/public_key "HTTP/1.1 200 OK"
+2024-11-18 14:49:35,170 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: POST http://192.168.20.119:13001/api/v1/user/regist "HTTP/1.1 201 Created"
+2024-11-18 14:49:35,838 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: POST http://192.168.20.119:11080/v1/user/register "HTTP/1.1 200 OK"
+2024-11-18 14:49:48,601 - base - add_job - line:454 - INFO -: Adding job tentatively -- it will be properly scheduled when the scheduler starts
+2024-11-18 14:49:48,602 - base - _real_add_job - line:895 - INFO -: Added job "sync_resource" to job store "default"
+2024-11-18 14:49:48,602 - base - start - line:181 - INFO -: Scheduler started
+2024-11-18 14:49:55,311 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: GET http://192.168.20.119:13001/api/v1/user/public_key "HTTP/1.1 200 OK"
+2024-11-18 14:49:55,702 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: POST http://192.168.20.119:13001/api/v1/user/regist "HTTP/1.1 201 Created"
+2024-11-18 14:49:57,657 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: POST http://192.168.20.119:11080/v1/user/register "HTTP/1.1 200 OK"
+2024-11-18 14:50:41,614 - base - add_job - line:454 - INFO -: Adding job tentatively -- it will be properly scheduled when the scheduler starts
+2024-11-18 14:50:41,615 - base - _real_add_job - line:895 - INFO -: Added job "sync_resource" to job store "default"
+2024-11-18 14:50:41,615 - base - start - line:181 - INFO -: Scheduler started
+2024-11-18 14:50:49,782 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: GET http://192.168.20.119:13001/api/v1/user/public_key "HTTP/1.1 200 OK"
+2024-11-18 14:50:50,147 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: POST http://192.168.20.119:13001/api/v1/user/regist "HTTP/1.1 201 Created"
+2024-11-18 14:50:50,931 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: POST http://192.168.20.119:11080/v1/user/register "HTTP/1.1 200 OK"
+2024-11-18 14:51:41,622 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 14:52:41 CST)" (scheduled at 2024-11-18 14:51:41.614880+08:00)
diff --git a/Log/log.log.6 b/Log/log.log.6
new file mode 100644
index 0000000..d44a516
--- /dev/null
+++ b/Log/log.log.6
@@ -0,0 +1,1301 @@
+2024-11-18 12:18:55,554 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 12:19:55 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 12:19:55,551 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 12:20:55 CST)" (scheduled at 2024-11-18 12:19:55.548474+08:00)
+2024-11-18 12:19:55,552 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 12:20:55 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 12:20:55,551 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 12:21:55 CST)" (scheduled at 2024-11-18 12:20:55.548474+08:00)
+2024-11-18 12:20:55,552 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 12:21:55 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 12:21:55,549 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 12:22:55 CST)" (scheduled at 2024-11-18 12:21:55.548474+08:00)
+2024-11-18 12:21:55,550 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 12:22:55 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 12:22:55,560 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 12:23:55 CST)" (scheduled at 2024-11-18 12:22:55.548474+08:00)
+2024-11-18 12:22:55,561 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 12:23:55 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 12:23:55,558 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 12:24:55 CST)" (scheduled at 2024-11-18 12:23:55.548474+08:00)
+2024-11-18 12:23:55,559 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 12:24:55 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 12:24:55,551 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 12:25:55 CST)" (scheduled at 2024-11-18 12:24:55.548474+08:00)
+2024-11-18 12:24:55,552 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 12:25:55 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 12:25:55,550 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 12:26:55 CST)" (scheduled at 2024-11-18 12:25:55.548474+08:00)
+2024-11-18 12:25:55,551 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 12:26:55 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 12:49:11,036 - base - run_job - line:120 - WARNING -: Run time of job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 12:49:55 CST)" was missed by 0:00:15.487614
+2024-11-18 12:49:55,557 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 12:50:55 CST)" (scheduled at 2024-11-18 12:49:55.548474+08:00)
+2024-11-18 12:49:55,558 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 12:50:55 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 12:50:55,558 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 12:51:55 CST)" (scheduled at 2024-11-18 12:50:55.548474+08:00)
+2024-11-18 12:50:55,559 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 12:51:55 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 12:51:55,550 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 12:52:55 CST)" (scheduled at 2024-11-18 12:51:55.548474+08:00)
+2024-11-18 12:51:55,551 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 12:52:55 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 12:52:55,552 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 12:53:55 CST)" (scheduled at 2024-11-18 12:52:55.548474+08:00)
+2024-11-18 12:52:55,553 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 12:53:55 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 12:53:55,550 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 12:54:55 CST)" (scheduled at 2024-11-18 12:53:55.548474+08:00)
+2024-11-18 12:53:55,551 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 12:54:55 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 12:54:55,549 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 12:55:55 CST)" (scheduled at 2024-11-18 12:54:55.548474+08:00)
+2024-11-18 12:54:55,550 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 12:55:55 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 12:55:55,563 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 12:56:55 CST)" (scheduled at 2024-11-18 12:55:55.548474+08:00)
+2024-11-18 12:55:55,565 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 12:56:55 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 12:56:55,558 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 12:57:55 CST)" (scheduled at 2024-11-18 12:56:55.548474+08:00)
+2024-11-18 12:56:55,560 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 12:57:55 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 12:57:55,563 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 12:58:55 CST)" (scheduled at 2024-11-18 12:57:55.548474+08:00)
+2024-11-18 12:57:55,564 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 12:58:55 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 12:58:55,561 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 12:59:55 CST)" (scheduled at 2024-11-18 12:58:55.548474+08:00)
+2024-11-18 12:58:55,563 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 12:59:55 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 12:59:55,564 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 13:00:55 CST)" (scheduled at 2024-11-18 12:59:55.548474+08:00)
+2024-11-18 12:59:55,566 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 13:00:55 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 13:00:55,555 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 13:01:55 CST)" (scheduled at 2024-11-18 13:00:55.548474+08:00)
+2024-11-18 13:00:55,556 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 13:01:55 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 13:01:55,563 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 13:02:55 CST)" (scheduled at 2024-11-18 13:01:55.548474+08:00)
+2024-11-18 13:01:55,565 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 13:02:55 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 13:02:55,560 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 13:03:55 CST)" (scheduled at 2024-11-18 13:02:55.548474+08:00)
+2024-11-18 13:02:55,561 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 13:03:55 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 13:03:55,562 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 13:04:55 CST)" (scheduled at 2024-11-18 13:03:55.548474+08:00)
+2024-11-18 13:03:55,563 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 13:04:55 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 13:04:55,560 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 13:05:55 CST)" (scheduled at 2024-11-18 13:04:55.548474+08:00)
+2024-11-18 13:04:55,562 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 13:05:55 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 13:05:55,560 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 13:06:55 CST)" (scheduled at 2024-11-18 13:05:55.548474+08:00)
+2024-11-18 13:05:55,561 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 13:06:55 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 13:06:55,553 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 13:07:55 CST)" (scheduled at 2024-11-18 13:06:55.548474+08:00)
+2024-11-18 13:06:55,554 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 13:07:55 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 13:07:55,559 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 13:08:55 CST)" (scheduled at 2024-11-18 13:07:55.548474+08:00)
+2024-11-18 13:07:55,560 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 13:08:55 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 13:08:55,554 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 13:09:55 CST)" (scheduled at 2024-11-18 13:08:55.548474+08:00)
+2024-11-18 13:08:55,555 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 13:09:55 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 13:09:55,558 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 13:10:55 CST)" (scheduled at 2024-11-18 13:09:55.548474+08:00)
+2024-11-18 13:09:55,559 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 13:10:55 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 13:10:55,558 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 13:11:55 CST)" (scheduled at 2024-11-18 13:10:55.548474+08:00)
+2024-11-18 13:10:55,559 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 13:11:55 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 13:11:55,560 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 13:12:55 CST)" (scheduled at 2024-11-18 13:11:55.548474+08:00)
+2024-11-18 13:11:55,561 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 13:12:55 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 13:12:55,558 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 13:13:55 CST)" (scheduled at 2024-11-18 13:12:55.548474+08:00)
+2024-11-18 13:12:55,560 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 13:13:55 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 13:13:55,560 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 13:14:55 CST)" (scheduled at 2024-11-18 13:13:55.548474+08:00)
+2024-11-18 13:13:55,561 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 13:14:55 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 13:14:55,552 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 13:15:55 CST)" (scheduled at 2024-11-18 13:14:55.548474+08:00)
+2024-11-18 13:14:55,552 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 13:15:55 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 13:15:55,557 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 13:16:55 CST)" (scheduled at 2024-11-18 13:15:55.548474+08:00)
+2024-11-18 13:15:55,557 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 13:16:55 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 13:16:55,558 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 13:17:55 CST)" (scheduled at 2024-11-18 13:16:55.548474+08:00)
+2024-11-18 13:16:55,559 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 13:17:55 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 13:17:55,553 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 13:18:55 CST)" (scheduled at 2024-11-18 13:17:55.548474+08:00)
+2024-11-18 13:17:55,553 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 13:18:55 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 13:18:55,559 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 13:19:55 CST)" (scheduled at 2024-11-18 13:18:55.548474+08:00)
+2024-11-18 13:18:55,560 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 13:19:55 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 13:19:55,550 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 13:20:55 CST)" (scheduled at 2024-11-18 13:19:55.548474+08:00)
+2024-11-18 13:19:55,550 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 13:20:55 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 13:20:55,557 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 13:21:55 CST)" (scheduled at 2024-11-18 13:20:55.548474+08:00)
+2024-11-18 13:20:55,558 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 13:21:55 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 13:21:55,559 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 13:22:55 CST)" (scheduled at 2024-11-18 13:21:55.548474+08:00)
+2024-11-18 13:21:55,559 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 13:22:55 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 13:22:55,562 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 13:23:55 CST)" (scheduled at 2024-11-18 13:22:55.548474+08:00)
+2024-11-18 13:22:55,562 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 13:23:55 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 13:23:55,553 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 13:24:55 CST)" (scheduled at 2024-11-18 13:23:55.548474+08:00)
+2024-11-18 13:23:55,553 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 13:24:55 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 13:24:55,558 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 13:25:55 CST)" (scheduled at 2024-11-18 13:24:55.548474+08:00)
+2024-11-18 13:24:55,559 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 13:25:55 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 13:25:55,560 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 13:26:55 CST)" (scheduled at 2024-11-18 13:25:55.548474+08:00)
+2024-11-18 13:25:55,561 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 13:26:55 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 13:26:55,562 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 13:27:55 CST)" (scheduled at 2024-11-18 13:26:55.548474+08:00)
+2024-11-18 13:26:55,562 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 13:27:55 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 13:27:55,560 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 13:28:55 CST)" (scheduled at 2024-11-18 13:27:55.548474+08:00)
+2024-11-18 13:27:55,560 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 13:28:55 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 13:28:55,554 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 13:29:55 CST)" (scheduled at 2024-11-18 13:28:55.548474+08:00)
+2024-11-18 13:28:55,555 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 13:29:55 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 13:29:55,556 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 13:30:55 CST)" (scheduled at 2024-11-18 13:29:55.548474+08:00)
+2024-11-18 13:29:55,557 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 13:30:55 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 13:30:55,561 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 13:31:55 CST)" (scheduled at 2024-11-18 13:30:55.548474+08:00)
+2024-11-18 13:30:55,563 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 13:31:55 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 13:31:55,562 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 13:32:55 CST)" (scheduled at 2024-11-18 13:31:55.548474+08:00)
+2024-11-18 13:31:55,563 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 13:32:55 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 13:32:02,559 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: GET http://192.168.20.119:13001/api/v1/user/public_key "HTTP/1.1 200 OK"
+2024-11-18 13:32:02,846 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: POST http://192.168.20.119:13001/api/v1/user/login "HTTP/1.1 201 Created"
+2024-11-18 13:32:03,326 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: POST http://192.168.20.119:11080/v1/user/login "HTTP/1.1 200 OK"
+2024-11-18 13:32:55,564 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 13:33:55 CST)" (scheduled at 2024-11-18 13:32:55.548474+08:00)
+2024-11-18 13:32:55,566 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 13:33:55 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 13:33:51,182 - base - add_job - line:454 - INFO -: Adding job tentatively -- it will be properly scheduled when the scheduler starts
+2024-11-18 13:33:51,183 - base - _real_add_job - line:895 - INFO -: Added job "sync_resource" to job store "default"
+2024-11-18 13:33:51,183 - base - start - line:181 - INFO -: Scheduler started
+2024-11-18 13:34:09,116 - base - add_job - line:454 - INFO -: Adding job tentatively -- it will be properly scheduled when the scheduler starts
+2024-11-18 13:34:09,117 - base - _real_add_job - line:895 - INFO -: Added job "sync_resource" to job store "default"
+2024-11-18 13:34:09,117 - base - start - line:181 - INFO -: Scheduler started
+2024-11-18 13:35:09,121 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 13:36:09 CST)" (scheduled at 2024-11-18 13:35:09.116030+08:00)
+2024-11-18 13:35:09,123 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 13:36:09 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 13:35:48,266 - base - add_job - line:454 - INFO -: Adding job tentatively -- it will be properly scheduled when the scheduler starts
+2024-11-18 13:35:48,267 - base - _real_add_job - line:895 - INFO -: Added job "sync_resource" to job store "default"
+2024-11-18 13:35:48,267 - base - start - line:181 - INFO -: Scheduler started
+2024-11-18 13:35:50,788 - __init__ - get_app_register - line:124 - ERROR -: 'AppRegisterModel' object has no attribute 'all'
+2024-11-18 13:36:48,270 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 13:37:48 CST)" (scheduled at 2024-11-18 13:36:48.266226+08:00)
+2024-11-18 13:36:48,270 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 13:37:48 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 13:37:48,273 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 13:38:48 CST)" (scheduled at 2024-11-18 13:37:48.266226+08:00)
+2024-11-18 13:37:48,275 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 13:38:48 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 13:38:48,270 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 13:39:48 CST)" (scheduled at 2024-11-18 13:38:48.266226+08:00)
+2024-11-18 13:38:48,271 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 13:39:48 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 13:39:48,270 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 13:40:48 CST)" (scheduled at 2024-11-18 13:39:48.266226+08:00)
+2024-11-18 13:39:48,271 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 13:40:48 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 13:40:48,277 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 13:41:48 CST)" (scheduled at 2024-11-18 13:40:48.266226+08:00)
+2024-11-18 13:40:48,278 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 13:41:48 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 13:41:06,149 - base - add_job - line:454 - INFO -: Adding job tentatively -- it will be properly scheduled when the scheduler starts
+2024-11-18 13:41:06,150 - base - _real_add_job - line:895 - INFO -: Added job "sync_resource" to job store "default"
+2024-11-18 13:41:06,151 - base - start - line:181 - INFO -: Scheduler started
+2024-11-18 13:41:50,521 - base - add_job - line:454 - INFO -: Adding job tentatively -- it will be properly scheduled when the scheduler starts
+2024-11-18 13:41:50,522 - base - _real_add_job - line:895 - INFO -: Added job "sync_resource" to job store "default"
+2024-11-18 13:41:50,523 - base - start - line:181 - INFO -: Scheduler started
+2024-11-18 13:42:50,536 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 13:43:50 CST)" (scheduled at 2024-11-18 13:42:50.521852+08:00)
+2024-11-18 13:42:50,539 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 13:43:50 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 13:43:50,527 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 13:44:50 CST)" (scheduled at 2024-11-18 13:43:50.521852+08:00)
+2024-11-18 13:43:50,530 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 13:44:50 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 13:44:50,526 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 13:45:50 CST)" (scheduled at 2024-11-18 13:44:50.521852+08:00)
+2024-11-18 13:44:50,527 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 13:45:50 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 13:45:50,528 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 13:46:50 CST)" (scheduled at 2024-11-18 13:45:50.521852+08:00)
diff --git a/Log/log.log.7 b/Log/log.log.7
new file mode 100644
index 0000000..d83224d
--- /dev/null
+++ b/Log/log.log.7
@@ -0,0 +1,830 @@
+2024-11-18 08:58:49,467 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 08:59:49 CST)" executed successfully
+2024-11-18 08:59:49,468 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 09:00:49 CST)" (scheduled at 2024-11-18 08:59:49.454875+08:00)
+2024-11-18 08:59:49,468 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 09:00:49 CST)" executed successfully
+2024-11-18 09:00:49,457 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 09:01:49 CST)" (scheduled at 2024-11-18 09:00:49.454875+08:00)
+2024-11-18 09:00:49,466 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 09:01:49 CST)" executed successfully
+2024-11-18 09:01:49,469 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 09:02:49 CST)" (scheduled at 2024-11-18 09:01:49.454875+08:00)
+2024-11-18 09:01:49,469 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 09:02:49 CST)" executed successfully
+2024-11-18 09:02:49,460 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 09:03:49 CST)" (scheduled at 2024-11-18 09:02:49.454875+08:00)
+2024-11-18 09:02:49,460 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 09:03:49 CST)" executed successfully
+2024-11-18 09:03:49,456 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 09:04:49 CST)" (scheduled at 2024-11-18 09:03:49.454875+08:00)
+2024-11-18 09:03:49,456 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 09:04:49 CST)" executed successfully
+2024-11-18 09:04:49,468 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 09:05:49 CST)" (scheduled at 2024-11-18 09:04:49.454875+08:00)
+2024-11-18 09:04:49,468 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 09:05:49 CST)" executed successfully
+2024-11-18 09:05:49,457 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 09:06:49 CST)" (scheduled at 2024-11-18 09:05:49.454875+08:00)
+2024-11-18 09:05:49,457 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 09:06:49 CST)" executed successfully
+2024-11-18 09:06:49,464 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 09:07:49 CST)" (scheduled at 2024-11-18 09:06:49.454875+08:00)
+2024-11-18 09:06:49,464 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 09:07:49 CST)" executed successfully
+2024-11-18 09:07:49,457 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 09:08:49 CST)" (scheduled at 2024-11-18 09:07:49.454875+08:00)
+2024-11-18 09:07:49,457 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 09:08:49 CST)" executed successfully
+2024-11-18 09:08:49,463 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 09:09:49 CST)" (scheduled at 2024-11-18 09:08:49.454875+08:00)
+2024-11-18 09:08:49,463 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 09:09:49 CST)" executed successfully
+2024-11-18 09:09:49,462 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 09:10:49 CST)" (scheduled at 2024-11-18 09:09:49.454875+08:00)
+2024-11-18 09:09:49,462 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 09:10:49 CST)" executed successfully
+2024-11-18 09:10:49,457 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 09:11:49 CST)" (scheduled at 2024-11-18 09:10:49.454875+08:00)
+2024-11-18 09:10:49,458 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 09:11:49 CST)" executed successfully
+2024-11-18 09:23:04,836 - base - run_job - line:120 - WARNING -: Run time of job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 09:23:49 CST)" was missed by 0:00:15.381823
+2024-11-18 09:23:49,469 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 09:24:49 CST)" (scheduled at 2024-11-18 09:23:49.454875+08:00)
+2024-11-18 09:23:49,469 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 09:24:49 CST)" executed successfully
+2024-11-18 09:24:49,469 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 09:25:49 CST)" (scheduled at 2024-11-18 09:24:49.454875+08:00)
+2024-11-18 09:24:49,469 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 09:25:49 CST)" executed successfully
+2024-11-18 09:25:49,468 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 09:26:49 CST)" (scheduled at 2024-11-18 09:25:49.454875+08:00)
+2024-11-18 09:25:49,468 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 09:26:49 CST)" executed successfully
+2024-11-18 09:26:49,458 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 09:27:49 CST)" (scheduled at 2024-11-18 09:26:49.454875+08:00)
+2024-11-18 09:26:49,458 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 09:27:49 CST)" executed successfully
+2024-11-18 09:27:49,457 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 09:28:49 CST)" (scheduled at 2024-11-18 09:27:49.454875+08:00)
+2024-11-18 09:27:49,457 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 09:28:49 CST)" executed successfully
+2024-11-18 09:28:49,461 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 09:29:49 CST)" (scheduled at 2024-11-18 09:28:49.454875+08:00)
+2024-11-18 09:28:49,461 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 09:29:49 CST)" executed successfully
+2024-11-18 09:29:49,465 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 09:30:49 CST)" (scheduled at 2024-11-18 09:29:49.454875+08:00)
+2024-11-18 09:29:49,465 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 09:30:49 CST)" executed successfully
+2024-11-18 09:30:49,456 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 09:31:49 CST)" (scheduled at 2024-11-18 09:30:49.454875+08:00)
+2024-11-18 09:30:49,456 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 09:31:49 CST)" executed successfully
+2024-11-18 09:31:49,469 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 09:32:49 CST)" (scheduled at 2024-11-18 09:31:49.454875+08:00)
+2024-11-18 09:31:49,469 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 09:32:49 CST)" executed successfully
+2024-11-18 09:32:49,463 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 09:33:49 CST)" (scheduled at 2024-11-18 09:32:49.454875+08:00)
+2024-11-18 09:32:49,463 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 09:33:49 CST)" executed successfully
+2024-11-18 09:33:49,455 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 09:34:49 CST)" (scheduled at 2024-11-18 09:33:49.454875+08:00)
+2024-11-18 09:33:49,455 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 09:34:49 CST)" executed successfully
+2024-11-18 09:34:49,455 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 09:35:49 CST)" (scheduled at 2024-11-18 09:34:49.454875+08:00)
+2024-11-18 09:34:49,455 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 09:35:49 CST)" executed successfully
+2024-11-18 09:35:49,462 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 09:36:49 CST)" (scheduled at 2024-11-18 09:35:49.454875+08:00)
+2024-11-18 09:35:49,462 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 09:36:49 CST)" executed successfully
+2024-11-18 09:36:49,468 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 09:37:49 CST)" (scheduled at 2024-11-18 09:36:49.454875+08:00)
+2024-11-18 09:36:49,468 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 09:37:49 CST)" executed successfully
+2024-11-18 09:37:49,464 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 09:38:49 CST)" (scheduled at 2024-11-18 09:37:49.454875+08:00)
+2024-11-18 09:37:49,464 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 09:38:49 CST)" executed successfully
+2024-11-18 09:38:49,461 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 09:39:49 CST)" (scheduled at 2024-11-18 09:38:49.454875+08:00)
+2024-11-18 09:38:49,461 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 09:39:49 CST)" executed successfully
+2024-11-18 09:39:49,462 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 09:40:49 CST)" (scheduled at 2024-11-18 09:39:49.454875+08:00)
+2024-11-18 09:39:49,462 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 09:40:49 CST)" executed successfully
+2024-11-18 09:40:49,463 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 09:41:49 CST)" (scheduled at 2024-11-18 09:40:49.454875+08:00)
+2024-11-18 09:40:49,463 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 09:41:49 CST)" executed successfully
+2024-11-18 09:41:49,464 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 09:42:49 CST)" (scheduled at 2024-11-18 09:41:49.454875+08:00)
+2024-11-18 09:41:49,464 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 09:42:49 CST)" executed successfully
+2024-11-18 09:42:49,467 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 09:43:49 CST)" (scheduled at 2024-11-18 09:42:49.454875+08:00)
+2024-11-18 09:42:49,467 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 09:43:49 CST)" executed successfully
+2024-11-18 09:43:49,468 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 09:44:49 CST)" (scheduled at 2024-11-18 09:43:49.454875+08:00)
+2024-11-18 09:43:49,468 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 09:44:49 CST)" executed successfully
+2024-11-18 09:44:49,470 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 09:45:49 CST)" (scheduled at 2024-11-18 09:44:49.454875+08:00)
+2024-11-18 09:44:49,470 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 09:45:49 CST)" executed successfully
+2024-11-18 09:45:49,466 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 09:46:49 CST)" (scheduled at 2024-11-18 09:45:49.454875+08:00)
+2024-11-18 09:45:49,466 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 09:46:49 CST)" executed successfully
+2024-11-18 09:46:49,463 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 09:47:49 CST)" (scheduled at 2024-11-18 09:46:49.454875+08:00)
+2024-11-18 09:46:49,463 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 09:47:49 CST)" executed successfully
+2024-11-18 09:47:49,460 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 09:48:49 CST)" (scheduled at 2024-11-18 09:47:49.454875+08:00)
+2024-11-18 09:47:49,460 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 09:48:49 CST)" executed successfully
+2024-11-18 09:48:49,461 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 09:49:49 CST)" (scheduled at 2024-11-18 09:48:49.454875+08:00)
+2024-11-18 09:48:49,461 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 09:49:49 CST)" executed successfully
+2024-11-18 09:49:49,459 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 09:50:49 CST)" (scheduled at 2024-11-18 09:49:49.454875+08:00)
+2024-11-18 09:49:49,459 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 09:50:49 CST)" executed successfully
+2024-11-18 09:50:49,466 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 09:51:49 CST)" (scheduled at 2024-11-18 09:50:49.454875+08:00)
+2024-11-18 09:50:49,466 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 09:51:49 CST)" executed successfully
+2024-11-18 09:51:49,465 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 09:52:49 CST)" (scheduled at 2024-11-18 09:51:49.454875+08:00)
+2024-11-18 09:51:49,465 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 09:52:49 CST)" executed successfully
+2024-11-18 09:52:49,468 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 09:53:49 CST)" (scheduled at 2024-11-18 09:52:49.454875+08:00)
+2024-11-18 09:52:49,468 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 09:53:49 CST)" executed successfully
+2024-11-18 09:53:49,467 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 09:54:49 CST)" (scheduled at 2024-11-18 09:53:49.454875+08:00)
+2024-11-18 09:53:49,467 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 09:54:49 CST)" executed successfully
+2024-11-18 09:54:49,466 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 09:55:49 CST)" (scheduled at 2024-11-18 09:54:49.454875+08:00)
+2024-11-18 09:54:49,466 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 09:55:49 CST)" executed successfully
+2024-11-18 09:55:49,455 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 09:56:49 CST)" (scheduled at 2024-11-18 09:55:49.454875+08:00)
+2024-11-18 09:55:49,455 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 09:56:49 CST)" executed successfully
+2024-11-18 09:56:49,458 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 09:57:49 CST)" (scheduled at 2024-11-18 09:56:49.454875+08:00)
+2024-11-18 09:56:49,458 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 09:57:49 CST)" executed successfully
+2024-11-18 09:57:49,469 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 09:58:49 CST)" (scheduled at 2024-11-18 09:57:49.454875+08:00)
+2024-11-18 09:57:49,469 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 09:58:49 CST)" executed successfully
+2024-11-18 09:58:49,457 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 09:59:49 CST)" (scheduled at 2024-11-18 09:58:49.454875+08:00)
+2024-11-18 09:58:49,457 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 09:59:49 CST)" executed successfully
+2024-11-18 09:59:49,461 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 10:00:49 CST)" (scheduled at 2024-11-18 09:59:49.454875+08:00)
+2024-11-18 09:59:49,461 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 10:00:49 CST)" executed successfully
+2024-11-18 10:00:49,467 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 10:01:49 CST)" (scheduled at 2024-11-18 10:00:49.454875+08:00)
+2024-11-18 10:00:49,467 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 10:01:49 CST)" executed successfully
+2024-11-18 10:01:49,464 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 10:02:49 CST)" (scheduled at 2024-11-18 10:01:49.454875+08:00)
+2024-11-18 10:01:49,464 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 10:02:49 CST)" executed successfully
+2024-11-18 10:02:49,467 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 10:03:49 CST)" (scheduled at 2024-11-18 10:02:49.454875+08:00)
+2024-11-18 10:02:49,467 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 10:03:49 CST)" executed successfully
+2024-11-18 10:03:49,466 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 10:04:49 CST)" (scheduled at 2024-11-18 10:03:49.454875+08:00)
+2024-11-18 10:03:49,466 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 10:04:49 CST)" executed successfully
+2024-11-18 10:04:49,462 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 10:05:49 CST)" (scheduled at 2024-11-18 10:04:49.454875+08:00)
+2024-11-18 10:04:49,462 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 10:05:49 CST)" executed successfully
+2024-11-18 10:05:49,468 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 10:06:49 CST)" (scheduled at 2024-11-18 10:05:49.454875+08:00)
+2024-11-18 10:05:49,468 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 10:06:49 CST)" executed successfully
+2024-11-18 10:06:49,466 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 10:07:49 CST)" (scheduled at 2024-11-18 10:06:49.454875+08:00)
+2024-11-18 10:06:49,466 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 10:07:49 CST)" executed successfully
+2024-11-18 10:07:49,466 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 10:08:49 CST)" (scheduled at 2024-11-18 10:07:49.454875+08:00)
+2024-11-18 10:07:49,466 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 10:08:49 CST)" executed successfully
+2024-11-18 10:08:49,465 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 10:09:49 CST)" (scheduled at 2024-11-18 10:08:49.454875+08:00)
+2024-11-18 10:08:49,465 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 10:09:49 CST)" executed successfully
+2024-11-18 10:09:49,465 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 10:10:49 CST)" (scheduled at 2024-11-18 10:09:49.454875+08:00)
+2024-11-18 10:09:49,465 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 10:10:49 CST)" executed successfully
+2024-11-18 10:10:49,461 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 10:11:49 CST)" (scheduled at 2024-11-18 10:10:49.454875+08:00)
+2024-11-18 10:10:49,461 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 10:11:49 CST)" executed successfully
+2024-11-18 10:11:49,455 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 10:12:49 CST)" (scheduled at 2024-11-18 10:11:49.454875+08:00)
+2024-11-18 10:11:49,455 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 10:12:49 CST)" executed successfully
+2024-11-18 10:12:49,458 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 10:13:49 CST)" (scheduled at 2024-11-18 10:12:49.454875+08:00)
+2024-11-18 10:12:49,458 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 10:13:49 CST)" executed successfully
+2024-11-18 10:13:49,470 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 10:14:49 CST)" (scheduled at 2024-11-18 10:13:49.454875+08:00)
+2024-11-18 10:13:49,470 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 10:14:49 CST)" executed successfully
+2024-11-18 10:14:49,461 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 10:15:49 CST)" (scheduled at 2024-11-18 10:14:49.454875+08:00)
+2024-11-18 10:14:49,461 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 10:15:49 CST)" executed successfully
+2024-11-18 10:15:49,456 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 10:16:49 CST)" (scheduled at 2024-11-18 10:15:49.454875+08:00)
+2024-11-18 10:15:49,456 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 10:16:49 CST)" executed successfully
+2024-11-18 10:16:49,464 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 10:17:49 CST)" (scheduled at 2024-11-18 10:16:49.454875+08:00)
+2024-11-18 10:16:49,464 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 10:17:49 CST)" executed successfully
+2024-11-18 10:17:49,458 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 10:18:49 CST)" (scheduled at 2024-11-18 10:17:49.454875+08:00)
+2024-11-18 10:17:49,458 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 10:18:49 CST)" executed successfully
+2024-11-18 10:18:49,458 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 10:19:49 CST)" (scheduled at 2024-11-18 10:18:49.454875+08:00)
+2024-11-18 10:18:49,458 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 10:19:49 CST)" executed successfully
+2024-11-18 10:19:49,459 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 10:20:49 CST)" (scheduled at 2024-11-18 10:19:49.454875+08:00)
+2024-11-18 10:19:49,459 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 10:20:49 CST)" executed successfully
+2024-11-18 10:20:49,468 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 10:21:49 CST)" (scheduled at 2024-11-18 10:20:49.454875+08:00)
+2024-11-18 10:20:49,468 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 10:21:49 CST)" executed successfully
+2024-11-18 10:21:49,466 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 10:22:49 CST)" (scheduled at 2024-11-18 10:21:49.454875+08:00)
+2024-11-18 10:21:49,466 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 10:22:49 CST)" executed successfully
+2024-11-18 10:22:49,457 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 10:23:49 CST)" (scheduled at 2024-11-18 10:22:49.454875+08:00)
+2024-11-18 10:22:49,457 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 10:23:49 CST)" executed successfully
+2024-11-18 10:23:49,463 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 10:24:49 CST)" (scheduled at 2024-11-18 10:23:49.454875+08:00)
+2024-11-18 10:23:49,463 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 10:24:49 CST)" executed successfully
+2024-11-18 10:24:49,465 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 10:25:49 CST)" (scheduled at 2024-11-18 10:24:49.454875+08:00)
+2024-11-18 10:24:49,465 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 10:25:49 CST)" executed successfully
+2024-11-18 10:25:49,457 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 10:26:49 CST)" (scheduled at 2024-11-18 10:25:49.454875+08:00)
+2024-11-18 10:25:49,457 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 10:26:49 CST)" executed successfully
+2024-11-18 10:26:49,469 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 10:27:49 CST)" (scheduled at 2024-11-18 10:26:49.454875+08:00)
+2024-11-18 10:26:49,469 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 10:27:49 CST)" executed successfully
+2024-11-18 10:27:49,458 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 10:28:49 CST)" (scheduled at 2024-11-18 10:27:49.454875+08:00)
+2024-11-18 10:27:49,458 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 10:28:49 CST)" executed successfully
+2024-11-18 10:28:49,462 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 10:29:49 CST)" (scheduled at 2024-11-18 10:28:49.454875+08:00)
+2024-11-18 10:28:49,462 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 10:29:49 CST)" executed successfully
+2024-11-18 10:29:49,463 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 10:30:49 CST)" (scheduled at 2024-11-18 10:29:49.454875+08:00)
+2024-11-18 10:29:49,463 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 10:30:49 CST)" executed successfully
+2024-11-18 10:30:49,467 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 10:31:49 CST)" (scheduled at 2024-11-18 10:30:49.454875+08:00)
+2024-11-18 10:30:49,467 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 10:31:49 CST)" executed successfully
+2024-11-18 10:31:49,468 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 10:32:49 CST)" (scheduled at 2024-11-18 10:31:49.454875+08:00)
+2024-11-18 10:31:49,468 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 10:32:49 CST)" executed successfully
+2024-11-18 10:32:49,463 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 10:33:49 CST)" (scheduled at 2024-11-18 10:32:49.454875+08:00)
+2024-11-18 10:32:49,463 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 10:33:49 CST)" executed successfully
+2024-11-18 10:33:49,468 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 10:34:49 CST)" (scheduled at 2024-11-18 10:33:49.454875+08:00)
+2024-11-18 10:33:49,468 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 10:34:49 CST)" executed successfully
+2024-11-18 10:34:49,469 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 10:35:49 CST)" (scheduled at 2024-11-18 10:34:49.454875+08:00)
+2024-11-18 10:34:49,469 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 10:35:49 CST)" executed successfully
+2024-11-18 10:35:49,464 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 10:36:49 CST)" (scheduled at 2024-11-18 10:35:49.454875+08:00)
+2024-11-18 10:35:49,464 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 10:36:49 CST)" executed successfully
+2024-11-18 10:36:49,460 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 10:37:49 CST)" (scheduled at 2024-11-18 10:36:49.454875+08:00)
+2024-11-18 10:36:49,460 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 10:37:49 CST)" executed successfully
+2024-11-18 10:37:49,471 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 10:38:49 CST)" (scheduled at 2024-11-18 10:37:49.454875+08:00)
+2024-11-18 10:37:49,471 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 10:38:49 CST)" executed successfully
+2024-11-18 10:38:49,461 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 10:39:49 CST)" (scheduled at 2024-11-18 10:38:49.454875+08:00)
+2024-11-18 10:38:49,461 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 10:39:49 CST)" executed successfully
+2024-11-18 10:39:49,464 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 10:40:49 CST)" (scheduled at 2024-11-18 10:39:49.454875+08:00)
+2024-11-18 10:39:49,464 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 10:40:49 CST)" executed successfully
+2024-11-18 10:40:49,459 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 10:41:49 CST)" (scheduled at 2024-11-18 10:40:49.454875+08:00)
+2024-11-18 10:40:49,459 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 10:41:49 CST)" executed successfully
+2024-11-18 10:41:49,470 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 10:42:49 CST)" (scheduled at 2024-11-18 10:41:49.454875+08:00)
+2024-11-18 10:41:49,470 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 10:42:49 CST)" executed successfully
+2024-11-18 10:42:49,468 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 10:43:49 CST)" (scheduled at 2024-11-18 10:42:49.454875+08:00)
+2024-11-18 10:42:49,468 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 10:43:49 CST)" executed successfully
+2024-11-18 10:43:49,466 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 10:44:49 CST)" (scheduled at 2024-11-18 10:43:49.454875+08:00)
+2024-11-18 10:43:49,466 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 10:44:49 CST)" executed successfully
+2024-11-18 10:44:49,466 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 10:45:49 CST)" (scheduled at 2024-11-18 10:44:49.454875+08:00)
+2024-11-18 10:44:49,466 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 10:45:49 CST)" executed successfully
+2024-11-18 10:45:49,463 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 10:46:49 CST)" (scheduled at 2024-11-18 10:45:49.454875+08:00)
+2024-11-18 10:45:49,463 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 10:46:49 CST)" executed successfully
+2024-11-18 10:46:49,460 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 10:47:49 CST)" (scheduled at 2024-11-18 10:46:49.454875+08:00)
+2024-11-18 10:46:49,460 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 10:47:49 CST)" executed successfully
+2024-11-18 10:47:49,459 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 10:48:49 CST)" (scheduled at 2024-11-18 10:47:49.454875+08:00)
+2024-11-18 10:47:49,459 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 10:48:49 CST)" executed successfully
+2024-11-18 10:48:49,456 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 10:49:49 CST)" (scheduled at 2024-11-18 10:48:49.454875+08:00)
+2024-11-18 10:48:49,456 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 10:49:49 CST)" executed successfully
+2024-11-18 10:49:49,457 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 10:50:49 CST)" (scheduled at 2024-11-18 10:49:49.454875+08:00)
+2024-11-18 10:49:49,457 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 10:50:49 CST)" executed successfully
+2024-11-18 10:50:49,467 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 10:51:49 CST)" (scheduled at 2024-11-18 10:50:49.454875+08:00)
+2024-11-18 10:50:49,467 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 10:51:49 CST)" executed successfully
+2024-11-18 10:51:49,456 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 10:52:49 CST)" (scheduled at 2024-11-18 10:51:49.454875+08:00)
+2024-11-18 10:51:49,456 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 10:52:49 CST)" executed successfully
+2024-11-18 10:52:49,468 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 10:53:49 CST)" (scheduled at 2024-11-18 10:52:49.454875+08:00)
+2024-11-18 10:52:49,468 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 10:53:49 CST)" executed successfully
+2024-11-18 10:53:49,459 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 10:54:49 CST)" (scheduled at 2024-11-18 10:53:49.454875+08:00)
+2024-11-18 10:53:49,459 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 10:54:49 CST)" executed successfully
+2024-11-18 10:54:49,458 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 10:55:49 CST)" (scheduled at 2024-11-18 10:54:49.454875+08:00)
+2024-11-18 10:54:49,458 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 10:55:49 CST)" executed successfully
+2024-11-18 10:55:49,466 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 10:56:49 CST)" (scheduled at 2024-11-18 10:55:49.454875+08:00)
+2024-11-18 10:55:49,466 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 10:56:49 CST)" executed successfully
+2024-11-18 10:56:49,469 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 10:57:49 CST)" (scheduled at 2024-11-18 10:56:49.454875+08:00)
+2024-11-18 10:56:49,469 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 10:57:49 CST)" executed successfully
+2024-11-18 10:57:49,462 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 10:58:49 CST)" (scheduled at 2024-11-18 10:57:49.454875+08:00)
+2024-11-18 10:57:49,462 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 10:58:49 CST)" executed successfully
+2024-11-18 10:58:49,465 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 10:59:49 CST)" (scheduled at 2024-11-18 10:58:49.454875+08:00)
+2024-11-18 10:58:49,465 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 10:59:49 CST)" executed successfully
+2024-11-18 10:59:49,456 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 11:00:49 CST)" (scheduled at 2024-11-18 10:59:49.454875+08:00)
+2024-11-18 10:59:49,456 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 11:00:49 CST)" executed successfully
+2024-11-18 11:00:49,456 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 11:01:49 CST)" (scheduled at 2024-11-18 11:00:49.454875+08:00)
+2024-11-18 11:00:49,456 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 11:01:49 CST)" executed successfully
+2024-11-18 11:01:49,468 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 11:02:49 CST)" (scheduled at 2024-11-18 11:01:49.454875+08:00)
+2024-11-18 11:01:49,468 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 11:02:49 CST)" executed successfully
+2024-11-18 11:02:49,461 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 11:03:49 CST)" (scheduled at 2024-11-18 11:02:49.454875+08:00)
+2024-11-18 11:02:49,461 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 11:03:49 CST)" executed successfully
+2024-11-18 11:03:49,465 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 11:04:49 CST)" (scheduled at 2024-11-18 11:03:49.454875+08:00)
+2024-11-18 11:03:49,465 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 11:04:49 CST)" executed successfully
+2024-11-18 11:04:49,465 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 11:05:49 CST)" (scheduled at 2024-11-18 11:04:49.454875+08:00)
+2024-11-18 11:04:49,465 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 11:05:49 CST)" executed successfully
+2024-11-18 11:05:49,461 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 11:06:49 CST)" (scheduled at 2024-11-18 11:05:49.454875+08:00)
+2024-11-18 11:05:49,461 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 11:06:49 CST)" executed successfully
+2024-11-18 11:06:49,466 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 11:07:49 CST)" (scheduled at 2024-11-18 11:06:49.454875+08:00)
+2024-11-18 11:06:49,466 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 11:07:49 CST)" executed successfully
+2024-11-18 11:07:49,460 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 11:08:49 CST)" (scheduled at 2024-11-18 11:07:49.454875+08:00)
+2024-11-18 11:07:49,460 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 11:08:49 CST)" executed successfully
+2024-11-18 11:08:49,463 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 11:09:49 CST)" (scheduled at 2024-11-18 11:08:49.454875+08:00)
+2024-11-18 11:08:49,463 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 11:09:49 CST)" executed successfully
+2024-11-18 11:09:49,465 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 11:10:49 CST)" (scheduled at 2024-11-18 11:09:49.454875+08:00)
+2024-11-18 11:09:49,465 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 11:10:49 CST)" executed successfully
+2024-11-18 11:10:49,462 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 11:11:49 CST)" (scheduled at 2024-11-18 11:10:49.454875+08:00)
+2024-11-18 11:10:49,462 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 11:11:49 CST)" executed successfully
+2024-11-18 11:11:49,459 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 11:12:49 CST)" (scheduled at 2024-11-18 11:11:49.454875+08:00)
+2024-11-18 11:11:49,459 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 11:12:49 CST)" executed successfully
+2024-11-18 11:12:49,465 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 11:13:49 CST)" (scheduled at 2024-11-18 11:12:49.454875+08:00)
+2024-11-18 11:12:49,465 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 11:13:49 CST)" executed successfully
+2024-11-18 11:13:49,462 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 11:14:49 CST)" (scheduled at 2024-11-18 11:13:49.454875+08:00)
+2024-11-18 11:13:49,462 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 11:14:49 CST)" executed successfully
+2024-11-18 11:14:49,469 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 11:15:49 CST)" (scheduled at 2024-11-18 11:14:49.454875+08:00)
+2024-11-18 11:14:49,469 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 11:15:49 CST)" executed successfully
+2024-11-18 11:15:49,458 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 11:16:49 CST)" (scheduled at 2024-11-18 11:15:49.454875+08:00)
+2024-11-18 11:15:49,458 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 11:16:49 CST)" executed successfully
+2024-11-18 11:16:49,464 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 11:17:49 CST)" (scheduled at 2024-11-18 11:16:49.454875+08:00)
+2024-11-18 11:16:49,464 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 11:17:49 CST)" executed successfully
+2024-11-18 11:17:49,462 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 11:18:49 CST)" (scheduled at 2024-11-18 11:17:49.454875+08:00)
+2024-11-18 11:17:49,462 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 11:18:49 CST)" executed successfully
+2024-11-18 11:18:49,466 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 11:19:49 CST)" (scheduled at 2024-11-18 11:18:49.454875+08:00)
+2024-11-18 11:18:49,466 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 11:19:49 CST)" executed successfully
+2024-11-18 11:19:49,463 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 11:20:49 CST)" (scheduled at 2024-11-18 11:19:49.454875+08:00)
+2024-11-18 11:19:49,463 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 11:20:49 CST)" executed successfully
+2024-11-18 11:20:49,464 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 11:21:49 CST)" (scheduled at 2024-11-18 11:20:49.454875+08:00)
+2024-11-18 11:20:49,464 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 11:21:49 CST)" executed successfully
+2024-11-18 11:21:49,455 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 11:22:49 CST)" (scheduled at 2024-11-18 11:21:49.454875+08:00)
+2024-11-18 11:21:49,455 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 11:22:49 CST)" executed successfully
+2024-11-18 11:22:49,467 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 11:23:49 CST)" (scheduled at 2024-11-18 11:22:49.454875+08:00)
+2024-11-18 11:22:49,467 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 11:23:49 CST)" executed successfully
+2024-11-18 11:23:49,461 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 11:24:49 CST)" (scheduled at 2024-11-18 11:23:49.454875+08:00)
+2024-11-18 11:23:49,461 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 11:24:49 CST)" executed successfully
+2024-11-18 11:24:49,458 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 11:25:49 CST)" (scheduled at 2024-11-18 11:24:49.454875+08:00)
+2024-11-18 11:24:49,458 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 11:25:49 CST)" executed successfully
+2024-11-18 11:25:49,469 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 11:26:49 CST)" (scheduled at 2024-11-18 11:25:49.454875+08:00)
+2024-11-18 11:25:49,469 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 11:26:49 CST)" executed successfully
+2024-11-18 11:26:49,469 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 11:27:49 CST)" (scheduled at 2024-11-18 11:26:49.454875+08:00)
+2024-11-18 11:26:49,469 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 11:27:49 CST)" executed successfully
+2024-11-18 11:27:49,461 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 11:28:49 CST)" (scheduled at 2024-11-18 11:27:49.454875+08:00)
+2024-11-18 11:27:49,461 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 11:28:49 CST)" executed successfully
+2024-11-18 11:28:49,462 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 11:29:49 CST)" (scheduled at 2024-11-18 11:28:49.454875+08:00)
+2024-11-18 11:28:49,462 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 11:29:49 CST)" executed successfully
+2024-11-18 11:29:49,455 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 11:30:49 CST)" (scheduled at 2024-11-18 11:29:49.454875+08:00)
+2024-11-18 11:29:49,455 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 11:30:49 CST)" executed successfully
+2024-11-18 11:30:49,458 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 11:31:49 CST)" (scheduled at 2024-11-18 11:30:49.454875+08:00)
+2024-11-18 11:30:49,458 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 11:31:49 CST)" executed successfully
+2024-11-18 11:31:49,456 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 11:32:49 CST)" (scheduled at 2024-11-18 11:31:49.454875+08:00)
+2024-11-18 11:31:49,456 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 11:32:49 CST)" executed successfully
+2024-11-18 11:32:49,464 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 11:33:49 CST)" (scheduled at 2024-11-18 11:32:49.454875+08:00)
+2024-11-18 11:32:49,464 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 11:33:49 CST)" executed successfully
+2024-11-18 11:33:49,459 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 11:34:49 CST)" (scheduled at 2024-11-18 11:33:49.454875+08:00)
+2024-11-18 11:33:49,459 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 11:34:49 CST)" executed successfully
+2024-11-18 11:34:49,469 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 11:35:49 CST)" (scheduled at 2024-11-18 11:34:49.454875+08:00)
+2024-11-18 11:34:49,469 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 11:35:49 CST)" executed successfully
+2024-11-18 11:35:49,466 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 11:36:49 CST)" (scheduled at 2024-11-18 11:35:49.454875+08:00)
+2024-11-18 11:35:49,466 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 11:36:49 CST)" executed successfully
+2024-11-18 11:36:49,458 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 11:37:49 CST)" (scheduled at 2024-11-18 11:36:49.454875+08:00)
+2024-11-18 11:36:49,458 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 11:37:49 CST)" executed successfully
+2024-11-18 11:37:49,460 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 11:38:49 CST)" (scheduled at 2024-11-18 11:37:49.454875+08:00)
+2024-11-18 11:37:49,460 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 11:38:49 CST)" executed successfully
+2024-11-18 11:38:49,466 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 11:39:49 CST)" (scheduled at 2024-11-18 11:38:49.454875+08:00)
+2024-11-18 11:38:49,466 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 11:39:49 CST)" executed successfully
+2024-11-18 11:39:49,458 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 11:40:49 CST)" (scheduled at 2024-11-18 11:39:49.454875+08:00)
+2024-11-18 11:39:49,458 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 11:40:49 CST)" executed successfully
+2024-11-18 11:40:49,468 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 11:41:49 CST)" (scheduled at 2024-11-18 11:40:49.454875+08:00)
+2024-11-18 11:40:49,468 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 11:41:49 CST)" executed successfully
+2024-11-18 11:41:49,468 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 11:42:49 CST)" (scheduled at 2024-11-18 11:41:49.454875+08:00)
+2024-11-18 11:41:49,468 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 11:42:49 CST)" executed successfully
+2024-11-18 11:42:49,460 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 11:43:49 CST)" (scheduled at 2024-11-18 11:42:49.454875+08:00)
+2024-11-18 11:42:49,460 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 11:43:49 CST)" executed successfully
+2024-11-18 11:43:21,056 - base - add_job - line:454 - INFO -: Adding job tentatively -- it will be properly scheduled when the scheduler starts
+2024-11-18 11:43:21,057 - base - _real_add_job - line:895 - INFO -: Added job "sync_resource" to job store "default"
+2024-11-18 11:43:21,057 - base - start - line:181 - INFO -: Scheduler started
+2024-11-18 11:43:49,456 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 11:44:49 CST)" (scheduled at 2024-11-18 11:43:49.454875+08:00)
+2024-11-18 11:43:49,456 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 11:44:49 CST)" executed successfully
+2024-11-18 11:43:57,404 - base - add_job - line:454 - INFO -: Adding job tentatively -- it will be properly scheduled when the scheduler starts
+2024-11-18 11:43:57,405 - base - _real_add_job - line:895 - INFO -: Added job "sync_resource" to job store "default"
+2024-11-18 11:43:57,405 - base - start - line:181 - INFO -: Scheduler started
+2024-11-18 11:44:35,164 - base - add_job - line:454 - INFO -: Adding job tentatively -- it will be properly scheduled when the scheduler starts
+2024-11-18 11:44:35,165 - base - _real_add_job - line:895 - INFO -: Added job "sync_resource" to job store "default"
+2024-11-18 11:44:35,165 - base - start - line:181 - INFO -: Scheduler started
+2024-11-18 11:44:49,459 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 11:45:49 CST)" (scheduled at 2024-11-18 11:44:49.454875+08:00)
+2024-11-18 11:44:49,459 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 11:45:49 CST)" executed successfully
+2024-11-18 11:45:49,460 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 11:46:49 CST)" (scheduled at 2024-11-18 11:45:49.454875+08:00)
+2024-11-18 11:45:49,460 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 11:46:49 CST)" executed successfully
+2024-11-18 11:46:49,464 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 11:47:49 CST)" (scheduled at 2024-11-18 11:46:49.454875+08:00)
+2024-11-18 11:46:49,464 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 11:47:49 CST)" executed successfully
+2024-11-18 11:47:49,455 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 11:48:49 CST)" (scheduled at 2024-11-18 11:47:49.454875+08:00)
+2024-11-18 11:47:49,455 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 11:48:49 CST)" executed successfully
+2024-11-18 11:48:49,464 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 11:49:49 CST)" (scheduled at 2024-11-18 11:48:49.454875+08:00)
+2024-11-18 11:48:49,464 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 11:49:49 CST)" executed successfully
+2024-11-18 11:49:49,461 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 11:50:49 CST)" (scheduled at 2024-11-18 11:49:49.454875+08:00)
+2024-11-18 11:49:49,461 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 11:50:49 CST)" executed successfully
+2024-11-18 11:50:15,978 - base - add_job - line:454 - INFO -: Adding job tentatively -- it will be properly scheduled when the scheduler starts
+2024-11-18 11:50:15,979 - base - _real_add_job - line:895 - INFO -: Added job "sync_resource" to job store "default"
+2024-11-18 11:50:15,979 - base - start - line:181 - INFO -: Scheduler started
+2024-11-18 11:51:15,988 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 11:52:15 CST)" (scheduled at 2024-11-18 11:51:15.978841+08:00)
+2024-11-18 11:51:15,989 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 11:52:15 CST)" executed successfully
+2024-11-18 11:52:15,991 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 11:53:15 CST)" (scheduled at 2024-11-18 11:52:15.978841+08:00)
+2024-11-18 11:52:15,991 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 11:53:15 CST)" executed successfully
+2024-11-18 11:53:15,983 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 11:54:15 CST)" (scheduled at 2024-11-18 11:53:15.978841+08:00)
+2024-11-18 11:53:15,983 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 11:54:15 CST)" executed successfully
+2024-11-18 11:54:15,989 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 11:55:15 CST)" (scheduled at 2024-11-18 11:54:15.978841+08:00)
+2024-11-18 11:54:15,989 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 11:55:15 CST)" executed successfully
+2024-11-18 11:54:38,100 - base - add_job - line:454 - INFO -: Adding job tentatively -- it will be properly scheduled when the scheduler starts
+2024-11-18 11:54:38,100 - base - _real_add_job - line:895 - INFO -: Added job "sync_resource" to job store "default"
+2024-11-18 11:54:38,101 - base - start - line:181 - INFO -: Scheduler started
+2024-11-18 11:54:55,548 - base - add_job - line:454 - INFO -: Adding job tentatively -- it will be properly scheduled when the scheduler starts
+2024-11-18 11:54:55,549 - base - _real_add_job - line:895 - INFO -: Added job "sync_resource" to job store "default"
+2024-11-18 11:54:55,550 - base - start - line:181 - INFO -: Scheduler started
+2024-11-18 11:55:55,549 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 11:56:55 CST)" (scheduled at 2024-11-18 11:55:55.548474+08:00)
+2024-11-18 11:55:55,560 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 11:56:55 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 11:56:55,554 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 11:57:55 CST)" (scheduled at 2024-11-18 11:56:55.548474+08:00)
+2024-11-18 11:56:55,555 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 11:57:55 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 11:57:55,550 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 11:58:55 CST)" (scheduled at 2024-11-18 11:57:55.548474+08:00)
+2024-11-18 11:57:55,551 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 11:58:55 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 11:58:55,557 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 11:59:55 CST)" (scheduled at 2024-11-18 11:58:55.548474+08:00)
+2024-11-18 11:58:55,559 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 11:59:55 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 11:59:55,560 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 12:00:55 CST)" (scheduled at 2024-11-18 11:59:55.548474+08:00)
+2024-11-18 11:59:55,562 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 12:00:55 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 12:00:55,548 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 12:01:55 CST)" (scheduled at 2024-11-18 12:00:55.548474+08:00)
+2024-11-18 12:00:55,549 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 12:01:55 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 12:01:55,559 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 12:02:55 CST)" (scheduled at 2024-11-18 12:01:55.548474+08:00)
+2024-11-18 12:01:55,561 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 12:02:55 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 12:02:55,558 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 12:03:55 CST)" (scheduled at 2024-11-18 12:02:55.548474+08:00)
+2024-11-18 12:02:55,559 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 12:03:55 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 12:03:55,562 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 12:04:55 CST)" (scheduled at 2024-11-18 12:03:55.548474+08:00)
+2024-11-18 12:03:55,563 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 12:04:55 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 12:04:55,552 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 12:05:55 CST)" (scheduled at 2024-11-18 12:04:55.548474+08:00)
+2024-11-18 12:04:55,553 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 12:05:55 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 12:05:55,555 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 12:06:55 CST)" (scheduled at 2024-11-18 12:05:55.548474+08:00)
+2024-11-18 12:05:55,556 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 12:06:55 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 12:06:55,562 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 12:07:55 CST)" (scheduled at 2024-11-18 12:06:55.548474+08:00)
+2024-11-18 12:06:55,564 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 12:07:55 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 12:07:55,561 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 12:08:55 CST)" (scheduled at 2024-11-18 12:07:55.548474+08:00)
+2024-11-18 12:07:55,563 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 12:08:55 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 12:08:55,561 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 12:09:55 CST)" (scheduled at 2024-11-18 12:08:55.548474+08:00)
+2024-11-18 12:08:55,562 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 12:09:55 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 12:09:55,551 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 12:10:55 CST)" (scheduled at 2024-11-18 12:09:55.548474+08:00)
+2024-11-18 12:09:55,552 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 12:10:55 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 12:10:55,560 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 12:11:55 CST)" (scheduled at 2024-11-18 12:10:55.548474+08:00)
+2024-11-18 12:10:55,562 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 12:11:55 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 12:11:55,553 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 12:12:55 CST)" (scheduled at 2024-11-18 12:11:55.548474+08:00)
+2024-11-18 12:11:55,554 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 12:12:55 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 12:12:55,560 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 12:13:55 CST)" (scheduled at 2024-11-18 12:12:55.548474+08:00)
+2024-11-18 12:12:55,562 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 12:13:55 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 12:13:55,563 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 12:14:55 CST)" (scheduled at 2024-11-18 12:13:55.548474+08:00)
+2024-11-18 12:13:55,564 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 12:14:55 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 12:14:55,558 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 12:15:55 CST)" (scheduled at 2024-11-18 12:14:55.548474+08:00)
+2024-11-18 12:14:55,560 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 12:15:55 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 12:15:55,561 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 12:16:55 CST)" (scheduled at 2024-11-18 12:15:55.548474+08:00)
+2024-11-18 12:15:55,562 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 12:16:55 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 12:16:55,562 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 12:17:55 CST)" (scheduled at 2024-11-18 12:16:55.548474+08:00)
+2024-11-18 12:16:55,563 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 12:17:55 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 12:17:55,558 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 12:18:55 CST)" (scheduled at 2024-11-18 12:17:55.548474+08:00)
+2024-11-18 12:17:55,559 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 12:18:55 CST)" raised an exception
+Traceback (most recent call last):
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+    retval = job.func(*job.args, **job.kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
+    asyncio.run(sync_knowledge())
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
+    return runner.run(main)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
+    return self._loop.run_until_complete(task)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
+    return future.result()
+           ^^^^^^^^^^^^^^^
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
+    register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
+                   ^^^^^^^^
+AttributeError: 'Depends' object has no attribute 'query'
+2024-11-18 12:18:55,553 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 12:19:55 CST)" (scheduled at 2024-11-18 12:18:55.548474+08:00)
diff --git a/Log/log.log.8 b/Log/log.log.8
new file mode 100644
index 0000000..29cf752
--- /dev/null
+++ b/Log/log.log.8
@@ -0,0 +1,565 @@
+2024-11-11 16:33:10,255 - user - get_user_list - line:5 - ERROR - ffffffff
+2024-11-12 09:39:26,980 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: GET http://192.168.20.119:13001/api/v1/user/public_key "HTTP/1.1 200 OK"
+2024-11-12 09:39:27,541 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: POST http://192.168.20.119:13001/api/v1/user/regist "HTTP/1.1 201 Created"
+2024-11-12 09:39:27,544 - user - create_user - line:61 - ERROR -: Failed to register with Ragflow: RagflowService.register() takes 3 positional arguments but 4 were given
+2024-11-12 09:40:40,106 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: GET http://192.168.20.119:13001/api/v1/user/public_key "HTTP/1.1 200 OK"
+2024-11-12 09:40:40,236 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: POST http://192.168.20.119:13001/api/v1/user/regist "HTTP/1.1 200 OK"
+2024-11-12 09:40:40,237 - user - create_user - line:54 - ERROR -: Failed to register with Bisheng: Failed to fetch data from Bisheng API: {"status_code":500,"status_message":"??????????"}
+2024-11-12 09:42:02,264 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: GET http://192.168.20.119:13001/api/v1/user/public_key "HTTP/1.1 200 OK"
+2024-11-12 09:42:02,660 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: POST http://192.168.20.119:13001/api/v1/user/regist "HTTP/1.1 201 Created"
+2024-11-12 09:42:04,209 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: POST http://192.168.20.119:11080/v1/user/register "HTTP/1.1 200 OK"
+2024-11-12 11:45:21,621 - organization - create_dept - line:30 - ERROR -: 'orderNum' is an invalid keyword argument for OrganizationModel
+2024-11-12 11:47:09,151 - organization - create_dept - line:30 - ERROR -: 'OrganizationModel' object has no attribute 'NAME'
+2024-11-12 11:57:15,151 - organization - create_dept - line:30 - ERROR -: Can't flush None value found in collection OrganizationModel.groups
+2024-11-12 15:59:58,270 - organization - delete_organization_info - line:87 - ERROR -: (pymysql.err.IntegrityError) (1451, 'Cannot delete or update a parent row: a foreign key constraint fails (`rag_basic`.`organization_group`, CONSTRAINT `organization_group_ibfk_2` FOREIGN KEY (`organization_id`) REFERENCES `organization` (`id`))')
+[SQL: DELETE FROM organization WHERE organization.id = %(id_1)s]
+[parameters: {'id_1': 'e12a1067-cda5-4045-8479-a02c89ab9147'}]
+(Background on this error at: https://sqlalche.me/e/20/gkpj)
+2024-11-12 16:02:08,772 - organization - delete_organization_info - line:87 - ERROR -: (pymysql.err.IntegrityError) (1451, 'Cannot delete or update a parent row: a foreign key constraint fails (`rag_basic`.`organization_role`, CONSTRAINT `organization_role_ibfk_2` FOREIGN KEY (`organization_id`) REFERENCES `organization` (`id`))')
+[SQL: DELETE FROM organization WHERE organization.id = %(id_1)s]
+[parameters: {'id_1': 'e12a1067-cda5-4045-8479-a02c89ab9147'}]
+(Background on this error at: https://sqlalche.me/e/20/gkpj)
+2024-11-12 16:05:07,805 - organization - delete_organization_info - line:87 - ERROR -: (pymysql.err.IntegrityError) (1451, 'Cannot delete or update a parent row: a foreign key constraint fails (`rag_basic`.`organization_role`, CONSTRAINT `organization_role_ibfk_2` FOREIGN KEY (`organization_id`) REFERENCES `organization` (`id`))')
+[SQL: DELETE FROM organization WHERE organization.id = %(id_1)s]
+[parameters: {'id_1': 'e12a1067-cda5-4045-8479-a02c89ab9147'}]
+(Background on this error at: https://sqlalche.me/e/20/gkpj)
+2024-11-12 16:17:25,385 - organization - delete_organization_info - line:87 - ERROR -: (pymysql.err.IntegrityError) (1451, 'Cannot delete or update a parent row: a foreign key constraint fails (`rag_basic`.`organization_role`, CONSTRAINT `organization_role_ibfk_2` FOREIGN KEY (`organization_id`) REFERENCES `organization` (`id`))')
+[SQL: DELETE FROM organization WHERE organization.id = %(id_1)s]
+[parameters: {'id_1': 'e12a1067-cda5-4045-8479-a02c89ab9147'}]
+(Background on this error at: https://sqlalche.me/e/20/gkpj)
+2024-11-12 18:04:30,742 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: GET http://192.168.20.119:13001/api/v1/user/public_key "HTTP/1.1 200 OK"
+2024-11-12 18:04:31,217 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: POST http://192.168.20.119:13001/api/v1/user/login "HTTP/1.1 201 Created"
+2024-11-12 18:04:31,679 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: POST http://192.168.20.119:11080/v1/user/login "HTTP/1.1 200 OK"
+2024-11-12 18:05:55,757 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: GET http://192.168.20.119:13001/api/v1/user/public_key "HTTP/1.1 200 OK"
+2024-11-12 18:05:56,206 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: POST http://192.168.20.119:13001/api/v1/user/login "HTTP/1.1 201 Created"
+2024-11-12 18:05:56,684 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: POST http://192.168.20.119:11080/v1/user/login "HTTP/1.1 200 OK"
+2024-11-12 18:09:19,985 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: GET http://192.168.20.119:13001/api/v1/user/public_key "HTTP/1.1 200 OK"
+2024-11-12 18:09:20,395 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: POST http://192.168.20.119:13001/api/v1/user/regist "HTTP/1.1 201 Created"
+2024-11-12 18:09:22,252 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: POST http://192.168.20.119:11080/v1/user/register "HTTP/1.1 200 OK"
+2024-11-12 18:13:37,826 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: GET http://192.168.20.119:13001/api/v1/user/public_key "HTTP/1.1 200 OK"
+2024-11-12 18:13:38,274 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: POST http://192.168.20.119:13001/api/v1/user/login "HTTP/1.1 201 Created"
+2024-11-12 18:13:38,830 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: POST http://192.168.20.119:11080/v1/user/login "HTTP/1.1 200 OK"
+2024-11-12 18:14:27,990 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: GET http://192.168.20.119:13001/api/v1/user/public_key "HTTP/1.1 200 OK"
+2024-11-12 18:14:28,054 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: POST http://192.168.20.119:13001/api/v1/user/login "HTTP/1.1 201 Created"
+2024-11-12 18:15:48,707 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: GET http://192.168.20.119:13001/api/v1/user/public_key "HTTP/1.1 200 OK"
+2024-11-12 18:15:48,785 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: POST http://192.168.20.119:13001/api/v1/user/login "HTTP/1.1 201 Created"
+2024-11-12 18:16:33,452 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: GET http://192.168.20.119:13001/api/v1/user/public_key "HTTP/1.1 200 OK"
+2024-11-12 18:16:33,520 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: POST http://192.168.20.119:13001/api/v1/user/regist "HTTP/1.1 200 OK"
+2024-11-12 18:16:33,521 - user - create_user - line:54 - ERROR -: Failed to register with Bisheng: Failed to fetch data from Bisheng API: {"status_code":500,"status_message":"??????????"}
+2024-11-12 18:19:41,638 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: GET http://192.168.20.119:13001/api/v1/user/public_key "HTTP/1.1 200 OK"
+2024-11-12 18:19:42,088 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: POST http://192.168.20.119:13001/api/v1/user/regist "HTTP/1.1 201 Created"
+2024-11-12 18:19:43,242 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: POST http://192.168.20.119:11080/v1/user/register "HTTP/1.1 200 OK"
+2024-11-12 18:19:56,167 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: GET http://192.168.20.119:13001/api/v1/user/public_key "HTTP/1.1 200 OK"
+2024-11-12 18:19:56,420 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: POST http://192.168.20.119:13001/api/v1/user/login "HTTP/1.1 201 Created"
+2024-11-12 18:19:56,815 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: POST http://192.168.20.119:11080/v1/user/login "HTTP/1.1 200 OK"
+2024-11-13 16:37:48,540 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: GET http://192.168.20.119:13001/api/v1/user/public_key "HTTP/1.1 200 OK"
+2024-11-13 16:37:48,753 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: POST http://192.168.20.119:13001/api/v1/user/login "HTTP/1.1 201 Created"
+2024-11-13 16:37:49,124 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: POST http://192.168.20.119:11080/v1/user/login "HTTP/1.1 200 OK"
+2024-11-13 18:05:34,315 - role - create_role - line:29 - ERROR -: 'data_scope' is an invalid keyword argument for RoleModel
+2024-11-13 18:06:32,024 - role - create_role - line:29 - ERROR -: (pymysql.err.DataError) (1366, "Incorrect integer value: '' for column 'dataScope' at row 1")
+[SQL: INSERT INTO `role` (id, created_at, updated_at, name, description, `iconCls`, seq, `roleKey`, `dataScope`, status, creator) VALUES (%(id)s, %(created_at)s, %(updated_at)s, %(name)s, %(description)s, %(iconCls)s, %(seq)s, %(roleKey)s, %(dataScope)s, %(status)s, %(creator)s)]
+[parameters: {'id': '3f282674-287b-40f2-8b0c-6137a8b444c1', 'created_at': datetime.datetime(2024, 11, 13, 18, 6, 30, 110252), 'updated_at': datetime.datetime(2024, 11, 13, 18, 6, 30, 110252), 'name': '绁栧浗棣�', 'description': 'aute eiusmod', 'iconCls': None, 'seq': None, 'roleKey': 'dolor eu in in', 'dataScope': '', 'status': '0', 'creator': 63}]
+(Background on this error at: https://sqlalche.me/e/20/9h9h)
+2024-11-13 18:28:43,796 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: GET http://192.168.20.119:13001/api/v1/user/public_key "HTTP/1.1 200 OK"
+2024-11-13 18:28:44,015 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: POST http://192.168.20.119:13001/api/v1/user/login "HTTP/1.1 201 Created"
+2024-11-13 18:28:44,452 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: POST http://192.168.20.119:11080/v1/user/login "HTTP/1.1 200 OK"
+2024-11-13 18:30:01,978 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: GET http://192.168.20.119:13001/api/v1/user/public_key "HTTP/1.1 200 OK"
+2024-11-13 18:30:02,213 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: POST http://192.168.20.119:13001/api/v1/user/login "HTTP/1.1 201 Created"
+2024-11-13 18:30:02,585 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: POST http://192.168.20.119:11080/v1/user/login "HTTP/1.1 200 OK"
+2024-11-13 18:30:29,547 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: GET http://192.168.20.119:13001/api/v1/user/public_key "HTTP/1.1 200 OK"
+2024-11-13 18:30:29,745 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: POST http://192.168.20.119:13001/api/v1/user/login "HTTP/1.1 201 Created"
+2024-11-13 18:30:30,082 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: POST http://192.168.20.119:11080/v1/user/login "HTTP/1.1 200 OK"
+2024-11-13 18:43:36,810 - group - group_list - line:10 - INFO -: -------------------------group_list----------------------------------
+2024-11-14 09:57:55,288 - group - save_group_resource - line:121 - ERROR -: Bidirectional attribute conflict detected: Passing object <CanvasModel at 0x28c6baeb090> to attribute "GroupModel.users" triggers a modify event on attribute "GroupModel.agents" via the backref "CanvasModel.groups".
+2024-11-14 10:01:06,735 - group - save_group_resource - line:121 - ERROR -: Bidirectional attribute conflict detected: Passing object <CanvasModel at 0x266b200b3d0> to attribute "GroupModel.users" triggers a modify event on attribute "GroupModel.agents" via the backref "CanvasModel.groups".
+2024-11-14 15:21:59,398 - base_events - default_exception_handler - line:1757 - ERROR -: Task exception was never retrieved
+future: <Task finished name='Task-20' coro=<handle_client.<locals>.forward_to_ragflow() done, defined at C:\Users\stone\Desktop\workfile\rag-gateway\app\api\chat.py:45> exception=JSONDecodeError('Expecting value: line 1 column 1 (char 0)')>
+Traceback (most recent call last):
+  File "C:\Users\stone\Desktop\workfile\rag-gateway\app\api\chat.py", line 47, in forward_to_ragflow
+    message = await websocket.receive_json()
+              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\starlette\websockets.py", line 141, in receive_json
+    return json.loads(text)
+           ^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\json\__init__.py", line 346, in loads
+    return _default_decoder.decode(s)
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\json\decoder.py", line 337, in decode
+    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
+               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\json\decoder.py", line 355, in raw_decode
+    raise JSONDecodeError("Expecting value", s, err.value) from None
+json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
+2024-11-14 16:36:44,313 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: GET http://192.168.20.119:13001/api/v1/chat/history?flow_id=42e4fcdc9bea11efac300242ac160006&chat_id=c219067db83449e0a2a4e3e886da7778&page_size=30&id= "HTTP/1.1 200 OK"
+2024-11-14 16:37:24,601 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: GET http://192.168.20.119:13001/api/v1/chat/history?flow_id=42e4fcdc9bea11efac300242ac160006&chat_id=c219067db83449e0a2a4e3e886da7778&page_size=30&id= "HTTP/1.1 200 OK"
+2024-11-14 16:39:34,321 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: GET http://192.168.20.119:13001/api/v1/chat/history?flow_id=42e4fcdc9bea11efac300242ac160006&chat_id=9ce544d3dca249e28b9304160d31bc99&page_size=30&id= "HTTP/1.1 200 OK"
+2024-11-14 16:40:29,804 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: GET http://192.168.20.119:13001/api/v1/chat/history?flow_id=42e4fcdc9bea11efac300242ac160006&chat_id=9ce544d3dca249e28b9304160d31bc99&page_size=30&id= "HTTP/1.1 200 OK"
+2024-11-14 16:40:32,276 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: GET http://192.168.20.119:13001/api/v1/chat/history?flow_id=42e4fcdc9bea11efac300242ac160006&chat_id=9ce544d3dca249e28b9304160d31bc99&page_size=30&id= "HTTP/1.1 200 OK"
+2024-11-14 16:49:12,975 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: GET http://192.168.20.119:11080/v1/conversation/get?conversation_id=9ce544d3dca249e28b9304160d31bc99 "HTTP/1.1 200 OK"
+2024-11-14 16:50:02,630 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: GET http://192.168.20.119:11080/v1/conversation/get?conversation_id=9ce544d3dca249e28b9304160d31bc99 "HTTP/1.1 200 OK"
+2024-11-15 15:58:40,102 - base - add_job - line:454 - INFO -: Adding job tentatively -- it will be properly scheduled when the scheduler starts
+2024-11-15 15:58:40,114 - base - _real_add_job - line:895 - INFO -: Added job "sync_resource" to job store "default"
+2024-11-15 15:58:40,114 - base - start - line:181 - INFO -: Scheduler started
+2024-11-15 15:58:47,052 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: GET http://192.168.20.119:13001/api/v1/user/public_key "HTTP/1.1 200 OK"
+2024-11-15 15:58:47,565 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: POST http://192.168.20.119:13001/api/v1/user/login "HTTP/1.1 201 Created"
+2024-11-15 15:59:40,104 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 16:00:40 CST)" (scheduled at 2024-11-15 15:59:40.101831+08:00)
+2024-11-15 15:59:40,105 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 16:00:40 CST)" executed successfully
+2024-11-15 16:00:40,104 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 16:01:40 CST)" (scheduled at 2024-11-15 16:00:40.101831+08:00)
+2024-11-15 16:00:40,104 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 16:01:40 CST)" executed successfully
+2024-11-15 16:00:56,840 - base - add_job - line:454 - INFO -: Adding job tentatively -- it will be properly scheduled when the scheduler starts
+2024-11-15 16:00:56,841 - base - _real_add_job - line:895 - INFO -: Added job "sync_resource" to job store "default"
+2024-11-15 16:00:56,842 - base - start - line:181 - INFO -: Scheduler started
+2024-11-15 16:00:58,272 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: GET http://192.168.20.119:13001/api/v1/user/public_key "HTTP/1.1 200 OK"
+2024-11-15 16:00:58,456 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: POST http://192.168.20.119:13001/api/v1/user/login "HTTP/1.1 201 Created"
+2024-11-15 16:00:58,835 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: POST http://192.168.20.119:11080/v1/user/login "HTTP/1.1 200 OK"
+2024-11-15 16:01:56,843 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 16:02:56 CST)" (scheduled at 2024-11-15 16:01:56.840352+08:00)
+2024-11-15 16:01:56,843 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 16:02:56 CST)" executed successfully
+2024-11-15 16:02:56,853 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 16:03:56 CST)" (scheduled at 2024-11-15 16:02:56.840352+08:00)
+2024-11-15 16:02:56,853 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 16:03:56 CST)" executed successfully
+2024-11-15 16:03:56,855 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 16:04:56 CST)" (scheduled at 2024-11-15 16:03:56.840352+08:00)
+2024-11-15 16:03:56,855 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 16:04:56 CST)" executed successfully
+2024-11-15 16:04:56,842 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 16:05:56 CST)" (scheduled at 2024-11-15 16:04:56.840352+08:00)
+2024-11-15 16:04:56,842 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 16:05:56 CST)" executed successfully
+2024-11-15 16:05:56,843 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 16:06:56 CST)" (scheduled at 2024-11-15 16:05:56.840352+08:00)
+2024-11-15 16:05:56,843 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 16:06:56 CST)" executed successfully
+2024-11-15 16:06:56,842 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 16:07:56 CST)" (scheduled at 2024-11-15 16:06:56.840352+08:00)
+2024-11-15 16:06:56,842 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 16:07:56 CST)" executed successfully
+2024-11-15 16:07:56,845 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 16:08:56 CST)" (scheduled at 2024-11-15 16:07:56.840352+08:00)
+2024-11-15 16:07:56,845 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 16:08:56 CST)" executed successfully
+2024-11-15 16:08:56,845 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 16:09:56 CST)" (scheduled at 2024-11-15 16:08:56.840352+08:00)
+2024-11-15 16:08:56,845 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 16:09:56 CST)" executed successfully
+2024-11-15 16:09:56,855 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 16:10:56 CST)" (scheduled at 2024-11-15 16:09:56.840352+08:00)
+2024-11-15 16:09:56,855 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 16:10:56 CST)" executed successfully
+2024-11-15 16:10:56,846 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 16:11:56 CST)" (scheduled at 2024-11-15 16:10:56.840352+08:00)
+2024-11-15 16:10:56,846 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 16:11:56 CST)" executed successfully
+2024-11-15 16:11:56,851 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 16:12:56 CST)" (scheduled at 2024-11-15 16:11:56.840352+08:00)
+2024-11-15 16:11:56,851 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 16:12:56 CST)" executed successfully
+2024-11-15 16:12:56,852 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 16:13:56 CST)" (scheduled at 2024-11-15 16:12:56.840352+08:00)
+2024-11-15 16:12:56,852 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 16:13:56 CST)" executed successfully
+2024-11-15 16:13:56,851 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 16:14:56 CST)" (scheduled at 2024-11-15 16:13:56.840352+08:00)
+2024-11-15 16:13:56,851 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 16:14:56 CST)" executed successfully
+2024-11-15 16:14:56,843 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 16:15:56 CST)" (scheduled at 2024-11-15 16:14:56.840352+08:00)
+2024-11-15 16:14:56,843 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 16:15:56 CST)" executed successfully
+2024-11-15 16:15:56,847 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 16:16:56 CST)" (scheduled at 2024-11-15 16:15:56.840352+08:00)
+2024-11-15 16:15:56,847 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 16:16:56 CST)" executed successfully
+2024-11-15 16:16:56,850 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 16:17:56 CST)" (scheduled at 2024-11-15 16:16:56.840352+08:00)
+2024-11-15 16:16:56,850 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 16:17:56 CST)" executed successfully
+2024-11-15 16:17:56,852 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 16:18:56 CST)" (scheduled at 2024-11-15 16:17:56.840352+08:00)
+2024-11-15 16:17:56,852 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 16:18:56 CST)" executed successfully
+2024-11-15 16:18:56,850 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 16:19:56 CST)" (scheduled at 2024-11-15 16:18:56.840352+08:00)
+2024-11-15 16:18:56,850 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 16:19:56 CST)" executed successfully
+2024-11-15 16:19:56,841 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 16:20:56 CST)" (scheduled at 2024-11-15 16:19:56.840352+08:00)
+2024-11-15 16:19:56,841 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 16:20:56 CST)" executed successfully
+2024-11-15 16:20:56,847 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 16:21:56 CST)" (scheduled at 2024-11-15 16:20:56.840352+08:00)
+2024-11-15 16:20:56,847 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 16:21:56 CST)" executed successfully
+2024-11-15 16:21:56,849 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 16:22:56 CST)" (scheduled at 2024-11-15 16:21:56.840352+08:00)
+2024-11-15 16:21:56,849 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 16:22:56 CST)" executed successfully
+2024-11-15 16:22:56,844 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 16:23:56 CST)" (scheduled at 2024-11-15 16:22:56.840352+08:00)
+2024-11-15 16:22:56,844 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 16:23:56 CST)" executed successfully
+2024-11-15 16:23:56,854 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 16:24:56 CST)" (scheduled at 2024-11-15 16:23:56.840352+08:00)
+2024-11-15 16:23:56,854 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 16:24:56 CST)" executed successfully
+2024-11-15 16:24:56,845 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 16:25:56 CST)" (scheduled at 2024-11-15 16:24:56.840352+08:00)
+2024-11-15 16:24:56,845 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 16:25:56 CST)" executed successfully
+2024-11-15 16:25:56,841 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 16:26:56 CST)" (scheduled at 2024-11-15 16:25:56.840352+08:00)
+2024-11-15 16:25:56,841 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 16:26:56 CST)" executed successfully
+2024-11-15 16:26:49,454 - base - add_job - line:454 - INFO -: Adding job tentatively -- it will be properly scheduled when the scheduler starts
+2024-11-15 16:26:49,455 - base - _real_add_job - line:895 - INFO -: Added job "sync_resource" to job store "default"
+2024-11-15 16:26:49,455 - base - start - line:181 - INFO -: Scheduler started
+2024-11-15 16:27:49,469 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 16:28:49 CST)" (scheduled at 2024-11-15 16:27:49.454875+08:00)
+2024-11-15 16:27:49,470 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 16:28:49 CST)" executed successfully
+2024-11-15 16:28:49,463 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 16:29:49 CST)" (scheduled at 2024-11-15 16:28:49.454875+08:00)
+2024-11-15 16:28:49,463 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 16:29:49 CST)" executed successfully
+2024-11-15 16:29:49,456 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 16:30:49 CST)" (scheduled at 2024-11-15 16:29:49.454875+08:00)
+2024-11-15 16:29:49,456 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 16:30:49 CST)" executed successfully
+2024-11-15 16:30:49,470 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 16:31:49 CST)" (scheduled at 2024-11-15 16:30:49.454875+08:00)
+2024-11-15 16:30:49,470 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 16:31:49 CST)" executed successfully
+2024-11-15 16:31:49,455 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 16:32:49 CST)" (scheduled at 2024-11-15 16:31:49.454875+08:00)
+2024-11-15 16:31:49,455 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 16:32:49 CST)" executed successfully
+2024-11-15 16:32:49,468 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 16:33:49 CST)" (scheduled at 2024-11-15 16:32:49.454875+08:00)
+2024-11-15 16:32:49,468 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 16:33:49 CST)" executed successfully
+2024-11-15 16:33:49,455 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 16:34:49 CST)" (scheduled at 2024-11-15 16:33:49.454875+08:00)
+2024-11-15 16:33:49,455 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 16:34:49 CST)" executed successfully
+2024-11-15 16:34:49,468 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 16:35:49 CST)" (scheduled at 2024-11-15 16:34:49.454875+08:00)
+2024-11-15 16:34:49,468 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 16:35:49 CST)" executed successfully
+2024-11-15 16:35:49,463 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 16:36:49 CST)" (scheduled at 2024-11-15 16:35:49.454875+08:00)
+2024-11-15 16:35:49,464 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 16:36:49 CST)" executed successfully
+2024-11-15 16:36:49,470 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 16:37:49 CST)" (scheduled at 2024-11-15 16:36:49.454875+08:00)
+2024-11-15 16:36:49,470 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 16:37:49 CST)" executed successfully
+2024-11-15 16:37:49,466 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 16:38:49 CST)" (scheduled at 2024-11-15 16:37:49.454875+08:00)
+2024-11-15 16:37:49,466 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 16:38:49 CST)" executed successfully
+2024-11-15 16:38:49,466 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 16:39:49 CST)" (scheduled at 2024-11-15 16:38:49.454875+08:00)
+2024-11-15 16:38:49,466 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 16:39:49 CST)" executed successfully
+2024-11-15 16:39:49,464 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 16:40:49 CST)" (scheduled at 2024-11-15 16:39:49.454875+08:00)
+2024-11-15 16:39:49,464 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 16:40:49 CST)" executed successfully
+2024-11-15 16:40:49,469 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 16:41:49 CST)" (scheduled at 2024-11-15 16:40:49.454875+08:00)
+2024-11-15 16:40:49,469 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 16:41:49 CST)" executed successfully
+2024-11-15 16:41:49,458 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 16:42:49 CST)" (scheduled at 2024-11-15 16:41:49.454875+08:00)
+2024-11-15 16:41:49,458 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 16:42:49 CST)" executed successfully
+2024-11-15 16:42:49,469 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 16:43:49 CST)" (scheduled at 2024-11-15 16:42:49.454875+08:00)
+2024-11-15 16:42:49,469 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 16:43:49 CST)" executed successfully
+2024-11-15 16:43:49,469 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 16:44:49 CST)" (scheduled at 2024-11-15 16:43:49.454875+08:00)
+2024-11-15 16:43:49,469 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 16:44:49 CST)" executed successfully
+2024-11-15 16:44:49,457 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 16:45:49 CST)" (scheduled at 2024-11-15 16:44:49.454875+08:00)
+2024-11-15 16:44:49,457 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 16:45:49 CST)" executed successfully
+2024-11-15 16:45:49,455 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 16:46:49 CST)" (scheduled at 2024-11-15 16:45:49.454875+08:00)
+2024-11-15 16:45:49,455 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 16:46:49 CST)" executed successfully
+2024-11-15 16:46:49,466 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 16:47:49 CST)" (scheduled at 2024-11-15 16:46:49.454875+08:00)
+2024-11-15 16:46:49,466 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 16:47:49 CST)" executed successfully
+2024-11-15 16:47:49,459 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 16:48:49 CST)" (scheduled at 2024-11-15 16:47:49.454875+08:00)
+2024-11-15 16:47:49,459 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 16:48:49 CST)" executed successfully
+2024-11-15 16:48:49,455 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 16:49:49 CST)" (scheduled at 2024-11-15 16:48:49.454875+08:00)
+2024-11-15 16:48:49,455 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 16:49:49 CST)" executed successfully
+2024-11-15 16:49:49,469 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 16:50:49 CST)" (scheduled at 2024-11-15 16:49:49.454875+08:00)
+2024-11-15 16:49:49,469 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 16:50:49 CST)" executed successfully
+2024-11-15 16:50:49,457 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 16:51:49 CST)" (scheduled at 2024-11-15 16:50:49.454875+08:00)
+2024-11-15 16:50:49,457 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 16:51:49 CST)" executed successfully
+2024-11-15 16:51:49,469 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 16:52:49 CST)" (scheduled at 2024-11-15 16:51:49.454875+08:00)
+2024-11-15 16:51:49,469 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 16:52:49 CST)" executed successfully
+2024-11-15 16:52:49,458 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 16:53:49 CST)" (scheduled at 2024-11-15 16:52:49.454875+08:00)
+2024-11-15 16:52:49,458 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 16:53:49 CST)" executed successfully
+2024-11-15 16:53:49,456 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 16:54:49 CST)" (scheduled at 2024-11-15 16:53:49.454875+08:00)
+2024-11-15 16:53:49,456 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 16:54:49 CST)" executed successfully
+2024-11-15 16:54:49,464 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 16:55:49 CST)" (scheduled at 2024-11-15 16:54:49.454875+08:00)
+2024-11-15 16:54:49,464 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 16:55:49 CST)" executed successfully
+2024-11-15 16:55:49,458 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 16:56:49 CST)" (scheduled at 2024-11-15 16:55:49.454875+08:00)
+2024-11-15 16:55:49,458 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 16:56:49 CST)" executed successfully
+2024-11-15 16:56:49,462 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 16:57:49 CST)" (scheduled at 2024-11-15 16:56:49.454875+08:00)
+2024-11-15 16:56:49,462 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 16:57:49 CST)" executed successfully
+2024-11-15 16:57:49,460 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 16:58:49 CST)" (scheduled at 2024-11-15 16:57:49.454875+08:00)
+2024-11-15 16:57:49,460 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 16:58:49 CST)" executed successfully
+2024-11-15 16:58:49,465 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 16:59:49 CST)" (scheduled at 2024-11-15 16:58:49.454875+08:00)
+2024-11-15 16:58:49,465 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 16:59:49 CST)" executed successfully
+2024-11-15 16:59:49,468 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 17:00:49 CST)" (scheduled at 2024-11-15 16:59:49.454875+08:00)
+2024-11-15 16:59:49,468 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 17:00:49 CST)" executed successfully
+2024-11-15 17:00:49,459 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 17:01:49 CST)" (scheduled at 2024-11-15 17:00:49.454875+08:00)
+2024-11-15 17:00:49,459 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 17:01:49 CST)" executed successfully
+2024-11-15 17:01:49,468 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 17:02:49 CST)" (scheduled at 2024-11-15 17:01:49.454875+08:00)
+2024-11-15 17:01:49,468 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 17:02:49 CST)" executed successfully
+2024-11-15 17:02:49,456 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 17:03:49 CST)" (scheduled at 2024-11-15 17:02:49.454875+08:00)
+2024-11-15 17:02:49,456 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 17:03:49 CST)" executed successfully
+2024-11-15 17:03:49,455 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 17:04:49 CST)" (scheduled at 2024-11-15 17:03:49.454875+08:00)
+2024-11-15 17:03:49,455 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 17:04:49 CST)" executed successfully
+2024-11-15 17:04:49,464 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 17:05:49 CST)" (scheduled at 2024-11-15 17:04:49.454875+08:00)
+2024-11-15 17:04:49,464 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 17:05:49 CST)" executed successfully
+2024-11-15 17:05:49,462 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 17:06:49 CST)" (scheduled at 2024-11-15 17:05:49.454875+08:00)
+2024-11-15 17:05:49,462 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 17:06:49 CST)" executed successfully
+2024-11-15 17:06:49,457 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 17:07:49 CST)" (scheduled at 2024-11-15 17:06:49.454875+08:00)
+2024-11-15 17:06:49,457 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 17:07:49 CST)" executed successfully
+2024-11-15 17:07:49,457 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 17:08:49 CST)" (scheduled at 2024-11-15 17:07:49.454875+08:00)
+2024-11-15 17:07:49,457 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 17:08:49 CST)" executed successfully
+2024-11-15 17:08:49,467 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 17:09:49 CST)" (scheduled at 2024-11-15 17:08:49.454875+08:00)
+2024-11-15 17:08:49,467 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 17:09:49 CST)" executed successfully
+2024-11-15 17:09:49,461 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 17:10:49 CST)" (scheduled at 2024-11-15 17:09:49.454875+08:00)
+2024-11-15 17:09:49,461 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 17:10:49 CST)" executed successfully
+2024-11-15 17:10:49,464 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 17:11:49 CST)" (scheduled at 2024-11-15 17:10:49.454875+08:00)
+2024-11-15 17:10:49,464 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 17:11:49 CST)" executed successfully
+2024-11-15 17:11:49,460 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 17:12:49 CST)" (scheduled at 2024-11-15 17:11:49.454875+08:00)
+2024-11-15 17:11:49,460 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 17:12:49 CST)" executed successfully
+2024-11-15 17:12:49,466 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 17:13:49 CST)" (scheduled at 2024-11-15 17:12:49.454875+08:00)
+2024-11-15 17:12:49,467 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 17:13:49 CST)" executed successfully
+2024-11-15 17:13:49,463 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 17:14:49 CST)" (scheduled at 2024-11-15 17:13:49.454875+08:00)
+2024-11-15 17:13:49,463 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 17:14:49 CST)" executed successfully
+2024-11-15 17:14:49,466 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 17:15:49 CST)" (scheduled at 2024-11-15 17:14:49.454875+08:00)
+2024-11-15 17:14:49,466 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 17:15:49 CST)" executed successfully
+2024-11-15 17:15:49,469 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 17:16:49 CST)" (scheduled at 2024-11-15 17:15:49.454875+08:00)
+2024-11-15 17:15:49,469 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 17:16:49 CST)" executed successfully
+2024-11-15 17:16:49,457 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 17:17:49 CST)" (scheduled at 2024-11-15 17:16:49.454875+08:00)
+2024-11-15 17:16:49,457 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 17:17:49 CST)" executed successfully
+2024-11-15 17:17:49,466 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 17:18:49 CST)" (scheduled at 2024-11-15 17:17:49.454875+08:00)
+2024-11-15 17:17:49,466 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 17:18:49 CST)" executed successfully
+2024-11-15 17:18:49,466 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 17:19:49 CST)" (scheduled at 2024-11-15 17:18:49.454875+08:00)
+2024-11-15 17:18:49,466 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 17:19:49 CST)" executed successfully
+2024-11-15 17:19:49,469 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 17:20:49 CST)" (scheduled at 2024-11-15 17:19:49.454875+08:00)
+2024-11-15 17:19:49,469 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 17:20:49 CST)" executed successfully
+2024-11-15 17:20:49,468 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 17:21:49 CST)" (scheduled at 2024-11-15 17:20:49.454875+08:00)
+2024-11-15 17:20:49,468 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 17:21:49 CST)" executed successfully
+2024-11-15 17:21:49,459 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 17:22:49 CST)" (scheduled at 2024-11-15 17:21:49.454875+08:00)
+2024-11-15 17:21:49,459 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 17:22:49 CST)" executed successfully
+2024-11-15 17:22:49,467 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 17:23:49 CST)" (scheduled at 2024-11-15 17:22:49.454875+08:00)
+2024-11-15 17:22:49,467 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 17:23:49 CST)" executed successfully
+2024-11-15 17:23:49,463 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 17:24:49 CST)" (scheduled at 2024-11-15 17:23:49.454875+08:00)
+2024-11-15 17:23:49,463 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 17:24:49 CST)" executed successfully
+2024-11-15 17:24:49,468 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 17:25:49 CST)" (scheduled at 2024-11-15 17:24:49.454875+08:00)
+2024-11-15 17:24:49,468 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 17:25:49 CST)" executed successfully
+2024-11-15 17:25:49,470 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 17:26:49 CST)" (scheduled at 2024-11-15 17:25:49.454875+08:00)
+2024-11-15 17:25:49,470 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 17:26:49 CST)" executed successfully
+2024-11-15 17:26:49,461 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 17:27:49 CST)" (scheduled at 2024-11-15 17:26:49.454875+08:00)
+2024-11-15 17:26:49,461 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 17:27:49 CST)" executed successfully
+2024-11-15 17:27:49,458 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 17:28:49 CST)" (scheduled at 2024-11-15 17:27:49.454875+08:00)
+2024-11-15 17:27:49,458 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 17:28:49 CST)" executed successfully
+2024-11-15 17:28:49,469 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 17:29:49 CST)" (scheduled at 2024-11-15 17:28:49.454875+08:00)
+2024-11-15 17:28:49,469 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 17:29:49 CST)" executed successfully
+2024-11-15 17:29:49,467 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 17:30:49 CST)" (scheduled at 2024-11-15 17:29:49.454875+08:00)
+2024-11-15 17:29:49,467 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 17:30:49 CST)" executed successfully
+2024-11-15 17:30:49,457 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 17:31:49 CST)" (scheduled at 2024-11-15 17:30:49.454875+08:00)
+2024-11-15 17:30:49,457 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 17:31:49 CST)" executed successfully
+2024-11-15 17:31:49,461 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 17:32:49 CST)" (scheduled at 2024-11-15 17:31:49.454875+08:00)
+2024-11-15 17:31:49,462 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 17:32:49 CST)" executed successfully
+2024-11-15 17:32:49,470 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 17:33:49 CST)" (scheduled at 2024-11-15 17:32:49.454875+08:00)
+2024-11-15 17:32:49,470 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 17:33:49 CST)" executed successfully
+2024-11-15 17:33:49,456 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 17:34:49 CST)" (scheduled at 2024-11-15 17:33:49.454875+08:00)
+2024-11-15 17:33:49,456 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 17:34:49 CST)" executed successfully
+2024-11-15 17:34:49,461 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 17:35:49 CST)" (scheduled at 2024-11-15 17:34:49.454875+08:00)
+2024-11-15 17:34:49,461 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 17:35:49 CST)" executed successfully
+2024-11-15 17:35:49,459 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 17:36:49 CST)" (scheduled at 2024-11-15 17:35:49.454875+08:00)
+2024-11-15 17:35:49,459 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 17:36:49 CST)" executed successfully
+2024-11-15 17:36:49,458 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 17:37:49 CST)" (scheduled at 2024-11-15 17:36:49.454875+08:00)
+2024-11-15 17:36:49,458 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 17:37:49 CST)" executed successfully
+2024-11-15 17:37:49,465 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 17:38:49 CST)" (scheduled at 2024-11-15 17:37:49.454875+08:00)
+2024-11-15 17:37:49,465 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 17:38:49 CST)" executed successfully
+2024-11-15 17:38:49,458 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 17:39:49 CST)" (scheduled at 2024-11-15 17:38:49.454875+08:00)
+2024-11-15 17:38:49,458 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 17:39:49 CST)" executed successfully
+2024-11-15 17:39:49,470 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 17:40:49 CST)" (scheduled at 2024-11-15 17:39:49.454875+08:00)
+2024-11-15 17:39:49,470 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 17:40:49 CST)" executed successfully
+2024-11-15 17:40:49,470 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 17:41:49 CST)" (scheduled at 2024-11-15 17:40:49.454875+08:00)
+2024-11-15 17:40:49,470 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 17:41:49 CST)" executed successfully
+2024-11-15 17:41:49,459 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 17:42:49 CST)" (scheduled at 2024-11-15 17:41:49.454875+08:00)
+2024-11-15 17:41:49,459 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 17:42:49 CST)" executed successfully
+2024-11-15 17:42:49,460 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 17:43:49 CST)" (scheduled at 2024-11-15 17:42:49.454875+08:00)
+2024-11-15 17:42:49,460 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 17:43:49 CST)" executed successfully
+2024-11-15 17:43:49,469 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 17:44:49 CST)" (scheduled at 2024-11-15 17:43:49.454875+08:00)
+2024-11-15 17:43:49,469 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 17:44:49 CST)" executed successfully
+2024-11-15 17:44:49,469 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 17:45:49 CST)" (scheduled at 2024-11-15 17:44:49.454875+08:00)
+2024-11-15 17:44:49,469 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 17:45:49 CST)" executed successfully
+2024-11-15 17:45:49,469 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 17:46:49 CST)" (scheduled at 2024-11-15 17:45:49.454875+08:00)
+2024-11-15 17:45:49,469 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 17:46:49 CST)" executed successfully
+2024-11-15 17:46:49,468 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 17:47:49 CST)" (scheduled at 2024-11-15 17:46:49.454875+08:00)
+2024-11-15 17:46:49,468 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 17:47:49 CST)" executed successfully
+2024-11-15 17:47:49,463 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 17:48:49 CST)" (scheduled at 2024-11-15 17:47:49.454875+08:00)
+2024-11-15 17:47:49,463 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 17:48:49 CST)" executed successfully
+2024-11-15 17:48:49,459 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 17:49:49 CST)" (scheduled at 2024-11-15 17:48:49.454875+08:00)
+2024-11-15 17:48:49,459 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 17:49:49 CST)" executed successfully
+2024-11-15 17:49:49,469 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 17:50:49 CST)" (scheduled at 2024-11-15 17:49:49.454875+08:00)
+2024-11-15 17:49:49,469 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 17:50:49 CST)" executed successfully
+2024-11-15 17:50:49,456 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 17:51:49 CST)" (scheduled at 2024-11-15 17:50:49.454875+08:00)
+2024-11-15 17:50:49,456 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 17:51:49 CST)" executed successfully
+2024-11-15 17:51:49,458 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 17:52:49 CST)" (scheduled at 2024-11-15 17:51:49.454875+08:00)
+2024-11-15 17:51:49,458 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 17:52:49 CST)" executed successfully
+2024-11-15 17:52:49,464 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 17:53:49 CST)" (scheduled at 2024-11-15 17:52:49.454875+08:00)
+2024-11-15 17:52:49,464 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 17:53:49 CST)" executed successfully
+2024-11-15 17:53:49,468 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 17:54:49 CST)" (scheduled at 2024-11-15 17:53:49.454875+08:00)
+2024-11-15 17:53:49,468 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 17:54:49 CST)" executed successfully
+2024-11-15 17:54:49,467 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 17:55:49 CST)" (scheduled at 2024-11-15 17:54:49.454875+08:00)
+2024-11-15 17:54:49,467 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 17:55:49 CST)" executed successfully
+2024-11-15 17:55:49,465 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 17:56:49 CST)" (scheduled at 2024-11-15 17:55:49.454875+08:00)
+2024-11-15 17:55:49,465 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 17:56:49 CST)" executed successfully
+2024-11-15 17:56:49,460 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 17:57:49 CST)" (scheduled at 2024-11-15 17:56:49.454875+08:00)
+2024-11-15 17:56:49,460 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 17:57:49 CST)" executed successfully
+2024-11-15 17:57:49,464 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 17:58:49 CST)" (scheduled at 2024-11-15 17:57:49.454875+08:00)
+2024-11-15 17:57:49,464 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 17:58:49 CST)" executed successfully
+2024-11-15 17:58:49,469 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 17:59:49 CST)" (scheduled at 2024-11-15 17:58:49.454875+08:00)
+2024-11-15 17:58:49,469 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 17:59:49 CST)" executed successfully
+2024-11-15 17:59:49,464 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 18:00:49 CST)" (scheduled at 2024-11-15 17:59:49.454875+08:00)
+2024-11-15 17:59:49,464 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 18:00:49 CST)" executed successfully
+2024-11-15 18:00:49,462 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 18:01:49 CST)" (scheduled at 2024-11-15 18:00:49.454875+08:00)
+2024-11-15 18:00:49,462 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 18:01:49 CST)" executed successfully
+2024-11-15 18:01:49,465 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 18:02:49 CST)" (scheduled at 2024-11-15 18:01:49.454875+08:00)
+2024-11-15 18:01:49,465 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 18:02:49 CST)" executed successfully
+2024-11-15 18:02:49,466 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 18:03:49 CST)" (scheduled at 2024-11-15 18:02:49.454875+08:00)
+2024-11-15 18:02:49,466 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 18:03:49 CST)" executed successfully
+2024-11-15 18:03:49,462 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 18:04:49 CST)" (scheduled at 2024-11-15 18:03:49.454875+08:00)
+2024-11-15 18:03:49,462 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 18:04:49 CST)" executed successfully
+2024-11-15 18:04:49,456 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 18:05:49 CST)" (scheduled at 2024-11-15 18:04:49.454875+08:00)
+2024-11-15 18:04:49,456 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 18:05:49 CST)" executed successfully
+2024-11-15 18:05:49,456 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 18:06:49 CST)" (scheduled at 2024-11-15 18:05:49.454875+08:00)
+2024-11-15 18:05:49,456 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 18:06:49 CST)" executed successfully
+2024-11-15 18:06:49,460 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 18:07:49 CST)" (scheduled at 2024-11-15 18:06:49.454875+08:00)
+2024-11-15 18:06:49,460 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 18:07:49 CST)" executed successfully
+2024-11-15 18:07:49,455 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 18:08:49 CST)" (scheduled at 2024-11-15 18:07:49.454875+08:00)
+2024-11-15 18:07:49,455 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 18:08:49 CST)" executed successfully
+2024-11-15 18:08:49,463 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 18:09:49 CST)" (scheduled at 2024-11-15 18:08:49.454875+08:00)
+2024-11-15 18:08:49,463 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 18:09:49 CST)" executed successfully
+2024-11-15 18:09:49,456 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 18:10:49 CST)" (scheduled at 2024-11-15 18:09:49.454875+08:00)
+2024-11-15 18:09:49,456 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 18:10:49 CST)" executed successfully
+2024-11-15 18:10:49,468 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 18:11:49 CST)" (scheduled at 2024-11-15 18:10:49.454875+08:00)
+2024-11-15 18:10:49,468 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 18:11:49 CST)" executed successfully
+2024-11-15 18:11:49,465 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 18:12:49 CST)" (scheduled at 2024-11-15 18:11:49.454875+08:00)
+2024-11-15 18:11:49,465 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 18:12:49 CST)" executed successfully
+2024-11-15 18:12:49,465 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 18:13:49 CST)" (scheduled at 2024-11-15 18:12:49.454875+08:00)
+2024-11-15 18:12:49,465 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 18:13:49 CST)" executed successfully
+2024-11-15 18:13:49,465 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 18:14:49 CST)" (scheduled at 2024-11-15 18:13:49.454875+08:00)
+2024-11-15 18:13:49,465 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 18:14:49 CST)" executed successfully
+2024-11-15 18:14:49,464 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 18:15:49 CST)" (scheduled at 2024-11-15 18:14:49.454875+08:00)
+2024-11-15 18:14:49,464 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 18:15:49 CST)" executed successfully
+2024-11-15 18:15:49,469 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 18:16:49 CST)" (scheduled at 2024-11-15 18:15:49.454875+08:00)
+2024-11-15 18:15:49,469 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 18:16:49 CST)" executed successfully
+2024-11-15 18:16:49,455 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 18:17:49 CST)" (scheduled at 2024-11-15 18:16:49.454875+08:00)
+2024-11-15 18:16:49,455 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 18:17:49 CST)" executed successfully
+2024-11-15 18:17:49,465 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 18:18:49 CST)" (scheduled at 2024-11-15 18:17:49.454875+08:00)
+2024-11-15 18:17:49,465 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 18:18:49 CST)" executed successfully
+2024-11-15 18:18:49,465 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 18:19:49 CST)" (scheduled at 2024-11-15 18:18:49.454875+08:00)
+2024-11-15 18:18:49,465 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 18:19:49 CST)" executed successfully
+2024-11-15 18:19:49,457 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 18:20:49 CST)" (scheduled at 2024-11-15 18:19:49.454875+08:00)
+2024-11-15 18:19:49,457 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 18:20:49 CST)" executed successfully
+2024-11-15 18:20:49,465 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 18:21:49 CST)" (scheduled at 2024-11-15 18:20:49.454875+08:00)
+2024-11-15 18:20:49,465 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 18:21:49 CST)" executed successfully
+2024-11-15 18:21:49,459 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 18:22:49 CST)" (scheduled at 2024-11-15 18:21:49.454875+08:00)
+2024-11-15 18:21:49,459 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 18:22:49 CST)" executed successfully
+2024-11-15 18:22:49,463 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 18:23:49 CST)" (scheduled at 2024-11-15 18:22:49.454875+08:00)
+2024-11-15 18:22:49,463 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 18:23:49 CST)" executed successfully
+2024-11-15 18:23:49,467 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 18:24:49 CST)" (scheduled at 2024-11-15 18:23:49.454875+08:00)
+2024-11-15 18:23:49,467 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 18:24:49 CST)" executed successfully
+2024-11-15 18:24:49,457 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 18:25:49 CST)" (scheduled at 2024-11-15 18:24:49.454875+08:00)
+2024-11-15 18:24:49,457 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 18:25:49 CST)" executed successfully
+2024-11-15 18:25:49,470 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 18:26:49 CST)" (scheduled at 2024-11-15 18:25:49.454875+08:00)
+2024-11-15 18:25:49,470 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 18:26:49 CST)" executed successfully
+2024-11-15 18:26:49,470 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 18:27:49 CST)" (scheduled at 2024-11-15 18:26:49.454875+08:00)
+2024-11-15 18:26:49,470 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 18:27:49 CST)" executed successfully
+2024-11-15 18:27:49,466 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 18:28:49 CST)" (scheduled at 2024-11-15 18:27:49.454875+08:00)
+2024-11-15 18:27:49,466 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 18:28:49 CST)" executed successfully
+2024-11-15 18:28:49,458 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 18:29:49 CST)" (scheduled at 2024-11-15 18:28:49.454875+08:00)
+2024-11-15 18:28:49,458 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 18:29:49 CST)" executed successfully
+2024-11-15 18:29:49,466 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 18:30:49 CST)" (scheduled at 2024-11-15 18:29:49.454875+08:00)
+2024-11-15 18:29:49,466 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 18:30:49 CST)" executed successfully
+2024-11-15 18:30:49,457 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 18:31:49 CST)" (scheduled at 2024-11-15 18:30:49.454875+08:00)
+2024-11-15 18:30:49,457 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 18:31:49 CST)" executed successfully
+2024-11-15 18:31:49,464 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 18:32:49 CST)" (scheduled at 2024-11-15 18:31:49.454875+08:00)
+2024-11-15 18:31:49,464 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 18:32:49 CST)" executed successfully
+2024-11-15 18:32:49,467 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 18:33:49 CST)" (scheduled at 2024-11-15 18:32:49.454875+08:00)
+2024-11-15 18:32:49,467 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 18:33:49 CST)" executed successfully
+2024-11-15 18:33:49,462 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 18:34:49 CST)" (scheduled at 2024-11-15 18:33:49.454875+08:00)
+2024-11-15 18:33:49,462 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 18:34:49 CST)" executed successfully
+2024-11-15 18:34:49,456 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 18:35:49 CST)" (scheduled at 2024-11-15 18:34:49.454875+08:00)
+2024-11-15 18:34:49,456 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 18:35:49 CST)" executed successfully
+2024-11-15 18:35:49,463 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 18:36:49 CST)" (scheduled at 2024-11-15 18:35:49.454875+08:00)
+2024-11-15 18:35:49,463 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 18:36:49 CST)" executed successfully
+2024-11-15 18:36:49,460 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 18:37:49 CST)" (scheduled at 2024-11-15 18:36:49.454875+08:00)
+2024-11-15 18:36:49,460 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 18:37:49 CST)" executed successfully
+2024-11-15 18:37:49,468 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 18:38:49 CST)" (scheduled at 2024-11-15 18:37:49.454875+08:00)
+2024-11-15 18:37:49,468 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 18:38:49 CST)" executed successfully
+2024-11-15 18:38:49,469 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 18:39:49 CST)" (scheduled at 2024-11-15 18:38:49.454875+08:00)
+2024-11-15 18:38:49,469 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 18:39:49 CST)" executed successfully
+2024-11-15 18:39:49,470 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 18:40:49 CST)" (scheduled at 2024-11-15 18:39:49.454875+08:00)
+2024-11-15 18:39:49,470 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 18:40:49 CST)" executed successfully
+2024-11-15 18:40:49,460 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 18:41:49 CST)" (scheduled at 2024-11-15 18:40:49.454875+08:00)
+2024-11-15 18:40:49,460 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 18:41:49 CST)" executed successfully
+2024-11-15 18:41:49,463 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 18:42:49 CST)" (scheduled at 2024-11-15 18:41:49.454875+08:00)
+2024-11-15 18:41:49,463 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 18:42:49 CST)" executed successfully
+2024-11-15 18:42:49,465 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 18:43:49 CST)" (scheduled at 2024-11-15 18:42:49.454875+08:00)
+2024-11-15 18:42:49,465 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 18:43:49 CST)" executed successfully
+2024-11-15 18:43:49,464 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 18:44:49 CST)" (scheduled at 2024-11-15 18:43:49.454875+08:00)
+2024-11-15 18:43:49,464 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 18:44:49 CST)" executed successfully
+2024-11-15 18:44:49,462 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 18:45:49 CST)" (scheduled at 2024-11-15 18:44:49.454875+08:00)
+2024-11-15 18:44:49,462 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 18:45:49 CST)" executed successfully
+2024-11-15 18:45:49,463 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 18:46:49 CST)" (scheduled at 2024-11-15 18:45:49.454875+08:00)
+2024-11-15 18:45:49,463 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 18:46:49 CST)" executed successfully
+2024-11-15 18:46:49,463 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 18:47:49 CST)" (scheduled at 2024-11-15 18:46:49.454875+08:00)
+2024-11-15 18:46:49,463 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 18:47:49 CST)" executed successfully
+2024-11-15 18:47:49,465 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 18:48:49 CST)" (scheduled at 2024-11-15 18:47:49.454875+08:00)
+2024-11-15 18:47:49,465 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 18:48:49 CST)" executed successfully
+2024-11-15 18:48:49,470 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 18:49:49 CST)" (scheduled at 2024-11-15 18:48:49.454875+08:00)
+2024-11-15 18:48:49,470 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 18:49:49 CST)" executed successfully
+2024-11-15 18:49:49,468 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 18:50:49 CST)" (scheduled at 2024-11-15 18:49:49.454875+08:00)
+2024-11-15 18:49:49,468 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 18:50:49 CST)" executed successfully
+2024-11-15 18:50:49,465 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 18:51:49 CST)" (scheduled at 2024-11-15 18:50:49.454875+08:00)
+2024-11-15 18:50:49,465 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 18:51:49 CST)" executed successfully
+2024-11-15 18:51:49,464 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 18:52:49 CST)" (scheduled at 2024-11-15 18:51:49.454875+08:00)
+2024-11-15 18:51:49,464 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 18:52:49 CST)" executed successfully
+2024-11-15 18:52:49,462 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 18:53:49 CST)" (scheduled at 2024-11-15 18:52:49.454875+08:00)
+2024-11-15 18:52:49,462 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 18:53:49 CST)" executed successfully
+2024-11-15 18:53:49,470 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 18:54:49 CST)" (scheduled at 2024-11-15 18:53:49.454875+08:00)
+2024-11-15 18:53:49,470 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 18:54:49 CST)" executed successfully
+2024-11-15 18:54:49,462 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 18:55:49 CST)" (scheduled at 2024-11-15 18:54:49.454875+08:00)
+2024-11-15 18:54:49,462 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 18:55:49 CST)" executed successfully
+2024-11-15 18:55:49,463 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 18:56:49 CST)" (scheduled at 2024-11-15 18:55:49.454875+08:00)
+2024-11-15 18:55:49,463 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 18:56:49 CST)" executed successfully
+2024-11-15 18:56:49,459 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 18:57:49 CST)" (scheduled at 2024-11-15 18:56:49.454875+08:00)
+2024-11-15 18:56:49,459 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 18:57:49 CST)" executed successfully
+2024-11-15 18:57:49,462 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 18:58:49 CST)" (scheduled at 2024-11-15 18:57:49.454875+08:00)
+2024-11-15 18:57:49,462 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 18:58:49 CST)" executed successfully
+2024-11-15 18:58:49,457 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 18:59:49 CST)" (scheduled at 2024-11-15 18:58:49.454875+08:00)
+2024-11-15 18:58:49,457 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 18:59:49 CST)" executed successfully
+2024-11-15 18:59:49,457 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 19:00:49 CST)" (scheduled at 2024-11-15 18:59:49.454875+08:00)
+2024-11-15 18:59:49,457 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 19:00:49 CST)" executed successfully
+2024-11-15 19:00:49,460 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 19:01:49 CST)" (scheduled at 2024-11-15 19:00:49.454875+08:00)
+2024-11-15 19:00:49,460 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 19:01:49 CST)" executed successfully
+2024-11-15 19:01:49,465 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 19:02:49 CST)" (scheduled at 2024-11-15 19:01:49.454875+08:00)
+2024-11-15 19:01:49,465 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 19:02:49 CST)" executed successfully
+2024-11-15 19:02:49,460 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 19:03:49 CST)" (scheduled at 2024-11-15 19:02:49.454875+08:00)
+2024-11-15 19:02:49,460 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 19:03:49 CST)" executed successfully
+2024-11-15 19:03:49,458 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 19:04:49 CST)" (scheduled at 2024-11-15 19:03:49.454875+08:00)
+2024-11-15 19:03:49,458 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 19:04:49 CST)" executed successfully
+2024-11-15 19:04:49,456 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 19:05:49 CST)" (scheduled at 2024-11-15 19:04:49.454875+08:00)
+2024-11-15 19:04:49,456 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 19:05:49 CST)" executed successfully
+2024-11-15 19:05:49,466 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 19:06:49 CST)" (scheduled at 2024-11-15 19:05:49.454875+08:00)
+2024-11-15 19:05:49,466 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 19:06:49 CST)" executed successfully
+2024-11-15 19:06:49,470 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 19:07:49 CST)" (scheduled at 2024-11-15 19:06:49.454875+08:00)
+2024-11-15 19:06:49,470 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 19:07:49 CST)" executed successfully
+2024-11-15 19:07:49,466 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 19:08:49 CST)" (scheduled at 2024-11-15 19:07:49.454875+08:00)
+2024-11-15 19:07:49,466 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 19:08:49 CST)" executed successfully
+2024-11-15 19:08:49,468 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 19:09:49 CST)" (scheduled at 2024-11-15 19:08:49.454875+08:00)
+2024-11-15 19:08:49,468 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 19:09:49 CST)" executed successfully
+2024-11-15 19:09:49,466 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 19:10:49 CST)" (scheduled at 2024-11-15 19:09:49.454875+08:00)
+2024-11-15 19:09:49,466 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 19:10:49 CST)" executed successfully
+2024-11-15 19:10:49,466 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 19:11:49 CST)" (scheduled at 2024-11-15 19:10:49.454875+08:00)
+2024-11-15 19:10:49,466 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 19:11:49 CST)" executed successfully
+2024-11-15 19:11:49,467 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 19:12:49 CST)" (scheduled at 2024-11-15 19:11:49.454875+08:00)
+2024-11-15 19:11:49,467 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 19:12:49 CST)" executed successfully
+2024-11-15 19:12:49,455 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 19:13:49 CST)" (scheduled at 2024-11-15 19:12:49.454875+08:00)
+2024-11-15 19:12:49,455 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 19:13:49 CST)" executed successfully
+2024-11-15 19:13:49,458 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 19:14:49 CST)" (scheduled at 2024-11-15 19:13:49.454875+08:00)
+2024-11-15 19:13:49,458 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 19:14:49 CST)" executed successfully
+2024-11-15 19:14:49,459 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 19:15:49 CST)" (scheduled at 2024-11-15 19:14:49.454875+08:00)
+2024-11-15 19:14:49,459 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 19:15:49 CST)" executed successfully
+2024-11-15 19:15:49,456 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 19:16:49 CST)" (scheduled at 2024-11-15 19:15:49.454875+08:00)
+2024-11-15 19:15:49,456 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 19:16:49 CST)" executed successfully
+2024-11-15 19:16:49,470 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 19:17:49 CST)" (scheduled at 2024-11-15 19:16:49.454875+08:00)
+2024-11-15 19:16:49,470 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 19:17:49 CST)" executed successfully
+2024-11-15 19:17:49,467 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 19:18:49 CST)" (scheduled at 2024-11-15 19:17:49.454875+08:00)
+2024-11-15 19:17:49,467 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 19:18:49 CST)" executed successfully
+2024-11-15 19:18:49,466 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 19:19:49 CST)" (scheduled at 2024-11-15 19:18:49.454875+08:00)
+2024-11-15 19:18:49,466 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 19:19:49 CST)" executed successfully
+2024-11-15 19:19:49,456 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 19:20:49 CST)" (scheduled at 2024-11-15 19:19:49.454875+08:00)
+2024-11-15 19:19:49,456 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 19:20:49 CST)" executed successfully
+2024-11-15 19:20:49,470 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 19:21:49 CST)" (scheduled at 2024-11-15 19:20:49.454875+08:00)
+2024-11-15 19:20:49,470 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 19:21:49 CST)" executed successfully
+2024-11-15 19:21:49,456 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 19:22:49 CST)" (scheduled at 2024-11-15 19:21:49.454875+08:00)
+2024-11-15 19:21:49,456 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 19:22:49 CST)" executed successfully
+2024-11-15 19:22:49,458 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 19:23:49 CST)" (scheduled at 2024-11-15 19:22:49.454875+08:00)
+2024-11-15 19:22:49,458 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 19:23:49 CST)" executed successfully
+2024-11-15 19:23:49,466 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 19:24:49 CST)" (scheduled at 2024-11-15 19:23:49.454875+08:00)
+2024-11-15 19:23:49,466 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 19:24:49 CST)" executed successfully
+2024-11-15 19:24:49,466 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 19:25:49 CST)" (scheduled at 2024-11-15 19:24:49.454875+08:00)
+2024-11-15 19:24:49,466 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 19:25:49 CST)" executed successfully
+2024-11-15 19:25:49,456 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 19:26:49 CST)" (scheduled at 2024-11-15 19:25:49.454875+08:00)
+2024-11-15 19:25:49,456 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 19:26:49 CST)" executed successfully
+2024-11-15 19:26:49,464 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 19:27:49 CST)" (scheduled at 2024-11-15 19:26:49.454875+08:00)
+2024-11-15 19:26:49,464 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 19:27:49 CST)" executed successfully
+2024-11-15 19:27:49,457 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 19:28:49 CST)" (scheduled at 2024-11-15 19:27:49.454875+08:00)
+2024-11-15 19:27:49,457 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 19:28:49 CST)" executed successfully
+2024-11-15 19:28:49,458 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 19:29:49 CST)" (scheduled at 2024-11-15 19:28:49.454875+08:00)
+2024-11-15 19:28:49,458 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 19:29:49 CST)" executed successfully
+2024-11-15 19:29:49,470 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 19:30:49 CST)" (scheduled at 2024-11-15 19:29:49.454875+08:00)
+2024-11-15 19:29:49,470 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 19:30:49 CST)" executed successfully
+2024-11-15 19:30:49,469 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 19:31:49 CST)" (scheduled at 2024-11-15 19:30:49.454875+08:00)
+2024-11-15 19:30:49,469 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 19:31:49 CST)" executed successfully
+2024-11-15 19:31:49,459 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 19:32:49 CST)" (scheduled at 2024-11-15 19:31:49.454875+08:00)
+2024-11-15 19:31:49,459 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-15 19:32:49 CST)" executed successfully
+2024-11-18 08:45:38,401 - base - run_job - line:120 - WARNING -: Run time of job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 08:45:49 CST)" was missed by 0:00:48.947086
+2024-11-18 08:45:49,459 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 08:46:49 CST)" (scheduled at 2024-11-18 08:45:49.454875+08:00)
+2024-11-18 08:45:49,459 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 08:46:49 CST)" executed successfully
+2024-11-18 08:46:49,459 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 08:47:49 CST)" (scheduled at 2024-11-18 08:46:49.454875+08:00)
+2024-11-18 08:46:49,459 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 08:47:49 CST)" executed successfully
+2024-11-18 08:47:49,457 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 08:48:49 CST)" (scheduled at 2024-11-18 08:47:49.454875+08:00)
+2024-11-18 08:47:49,457 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 08:48:49 CST)" executed successfully
+2024-11-18 08:48:49,458 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 08:49:49 CST)" (scheduled at 2024-11-18 08:48:49.454875+08:00)
+2024-11-18 08:48:49,458 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 08:49:49 CST)" executed successfully
+2024-11-18 08:49:49,468 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 08:50:49 CST)" (scheduled at 2024-11-18 08:49:49.454875+08:00)
+2024-11-18 08:49:49,468 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 08:50:49 CST)" executed successfully
+2024-11-18 08:50:49,466 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 08:51:49 CST)" (scheduled at 2024-11-18 08:50:49.454875+08:00)
+2024-11-18 08:50:49,466 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 08:51:49 CST)" executed successfully
+2024-11-18 08:51:49,462 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 08:52:49 CST)" (scheduled at 2024-11-18 08:51:49.454875+08:00)
+2024-11-18 08:51:49,462 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 08:52:49 CST)" executed successfully
+2024-11-18 08:52:49,465 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 08:53:49 CST)" (scheduled at 2024-11-18 08:52:49.454875+08:00)
+2024-11-18 08:52:49,465 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 08:53:49 CST)" executed successfully
+2024-11-18 08:53:49,462 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 08:54:49 CST)" (scheduled at 2024-11-18 08:53:49.454875+08:00)
+2024-11-18 08:53:49,462 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 08:54:49 CST)" executed successfully
+2024-11-18 08:54:49,467 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 08:55:49 CST)" (scheduled at 2024-11-18 08:54:49.454875+08:00)
+2024-11-18 08:54:49,467 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 08:55:49 CST)" executed successfully
+2024-11-18 08:55:49,458 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 08:56:49 CST)" (scheduled at 2024-11-18 08:55:49.454875+08:00)
+2024-11-18 08:55:49,458 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 08:56:49 CST)" executed successfully
+2024-11-18 08:56:49,459 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 08:57:49 CST)" (scheduled at 2024-11-18 08:56:49.454875+08:00)
+2024-11-18 08:56:49,459 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 08:57:49 CST)" executed successfully
+2024-11-18 08:57:49,470 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 08:58:49 CST)" (scheduled at 2024-11-18 08:57:49.454875+08:00)
+2024-11-18 08:57:49,471 - base - run_job - line:144 - INFO -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 08:58:49 CST)" executed successfully
+2024-11-18 08:58:49,467 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 08:59:49 CST)" (scheduled at 2024-11-18 08:58:49.454875+08:00)
diff --git a/app/api/__init__.py b/app/api/__init__.py
index 2e317ce..2f325c1 100644
--- a/app/api/__init__.py
+++ b/app/api/__init__.py
@@ -10,6 +10,8 @@
 from starlette import status
 from starlette.websockets import WebSocket, WebSocketDisconnect
 
+from Log import logger
+from app.models.app_model import AppRegisterModel
 from app.models.user_model import UserModel
 from app.service.auth import SECRET_KEY, ALGORITHM
 from app.config.config import settings
@@ -18,7 +20,7 @@
 
 pwd_context = CryptContext(schemes=["bcrypt"], deprecated="auto")
 oauth2_scheme = OAuth2PasswordBearer(tokenUrl="token")
-cipher_suite = Fernet(settings.HASH_SUB_KEY)
+# cipher_suite = Fernet(settings.HASH_SUB_KEY)
 
 
 class Response(BaseModel):
@@ -113,6 +115,8 @@
             except Exception as e:
                 # 璁板綍寮傚父淇℃伅锛屼絾缁х画澶勭悊鍏朵粬鏂囦欢
                 print(f"Error processing file URL: {e}")
+
+
 if __name__=="__main__":
 
     files1 = [{"file_url": "aaa.com"}, {"file_url":"bbb.com"}]
diff --git a/app/api/agent.py b/app/api/agent.py
index 67fe927..3d181c0 100644
--- a/app/api/agent.py
+++ b/app/api/agent.py
@@ -13,7 +13,7 @@
 from app.models.user_model import UserModel
 from app.service.bisheng import BishengService
 from app.service.ragflow import RagflowService
-from app.service.token import get_ragflow_token, get_bisheng_token
+from app.service.service_token import get_ragflow_token, get_bisheng_token
 
 router = APIRouter()
 
diff --git a/app/api/auth.py b/app/api/auth.py
index d6a9e7b..72b0bbf 100644
--- a/app/api/auth.py
+++ b/app/api/auth.py
@@ -40,6 +40,7 @@
     # 瀛樺偍鐢ㄦ埛淇℃伅
     hashed_password = pwd_context.hash(user.password)
     db_user = UserModel(username=user.username, hashed_password=hashed_password, email=ragflow_info.get("email",  f"{user.username}@example.com"),ragflow_id=ragflow_info.get("id"),bisheng_id=bisheng_info.get("user_id"))
+    db_user.password = db_user.encrypted_password(user.password)
     db.add(db_user)
     db.commit()
     db.refresh(db_user)
diff --git a/app/api/chat.py b/app/api/chat.py
index ae196ed..fe86fb5 100644
--- a/app/api/chat.py
+++ b/app/api/chat.py
@@ -11,7 +11,7 @@
 from app.models.base_model import get_db
 from app.models.user_model import UserModel
 from app.service.ragflow import RagflowService
-from app.service.token import get_bisheng_token, get_ragflow_token
+from app.service.service_token import get_bisheng_token, get_ragflow_token
 
 router = APIRouter()
 
@@ -53,6 +53,7 @@
                         if len(chat_history) == 0:
                             chat_history = await ragflow_service.set_session(token, agent_id,
                                                                              message, chat_id, True)
+                            print("chat_history------------------------", chat_history)
                             if len(chat_history) == 0:
                                 result = {"message": "鍐呴儴閿欒锛氬垱寤轰細璇濆け璐�", "type": "close"}
                                 await websocket.send_json(result)
diff --git a/app/api/files.py b/app/api/files.py
index 739c73e..eed49d8 100644
--- a/app/api/files.py
+++ b/app/api/files.py
@@ -13,7 +13,7 @@
 from app.models.user_model import UserModel
 from app.service.bisheng import BishengService
 from app.service.ragflow import RagflowService
-from app.service.token import get_ragflow_token, get_bisheng_token
+from app.service.service_token import get_ragflow_token, get_bisheng_token
 import urllib.parse
 
 router = APIRouter()
diff --git a/app/api/report.py b/app/api/report.py
index b2bac8a..f8d32fa 100644
--- a/app/api/report.py
+++ b/app/api/report.py
@@ -10,7 +10,7 @@
 from app.models.base_model import get_db
 from app.models.user_model import UserModel
 from app.service.bisheng import BishengService
-from app.service.token import get_bisheng_token
+from app.service.service_token import get_bisheng_token
 
 router = APIRouter()
 
diff --git a/app/api/user.py b/app/api/user.py
index 850d815..6b6c866 100644
--- a/app/api/user.py
+++ b/app/api/user.py
@@ -1,5 +1,6 @@
 from fastapi import APIRouter, Depends
 from app.api import Response, pwd_context, get_current_user
+from app.models.app_model import AppRegisterModel
 from app.models.base_model import get_db
 from app.models.user import PageParameter, UserStatus, UserInfo, LoginData
 from app.models.user_model import UserModel
@@ -74,11 +75,8 @@
 
 
 @user_router.put("/reset_pwd", response_model=Response)
-async def reset_user_pwd(user: UserStatus, current_user: UserModel = Depends(get_current_user), db=Depends(get_db)):
-    db_user = db.query(UserModel).filter(UserModel.id == user.userId).first()
-    if not db_user:
-        return Response(code=200, msg="user does not exist")
-    is_edit = await edit_user_pwd(db, user.userId)
+async def reset_user_pwd(user: UserStatus,  current_user: UserModel = Depends(get_current_user),db=Depends(get_db)):
+    is_edit = await edit_user_pwd(db, user.userId, current_user.id)
     if not is_edit:
         return Response(code=500, msg="user pwd reset failure", data={})
     return Response(code=200, msg="user pwd reset successfully", data={})
diff --git a/app/config/config.py b/app/config/config.py
index 25875d5..7d6c676 100644
--- a/app/config/config.py
+++ b/app/config/config.py
@@ -14,8 +14,7 @@
     fetch_fwr_agent: str = ''
     PUBLIC_KEY: str
     PRIVATE_KEY: str
-    HASH_SUB_KEY: str
-
+    PASSWORD_KEY: str
     def __init__(self, **kwargs):
         # Check if all required fields are provided and set them
         for field in self.__annotations__.keys():
diff --git a/app/config/config.yaml b/app/config/config.yaml
index 48050ba..d260302 100644
--- a/app/config/config.yaml
+++ b/app/config/config.yaml
@@ -11,4 +11,5 @@
   -----END PUBLIC KEY-----
 PRIVATE_KEY: str
 fetch_sgb_agent: 鎶ュ憡鐢熸垚,鏂囨。鏅鸿兘
-fetch_fwr_agent: 鐭ヨ瘑闂瓟,鏅鸿兘闂瓟
\ No newline at end of file
+fetch_fwr_agent: 鐭ヨ瘑闂瓟,鏅鸿兘闂瓟
+PASSWORD_KEY: VKinqB-8XMrwCLLrcf_PyHyo12_4PVKvWzaHjNFions=
\ No newline at end of file
diff --git a/app/models/app_model.py b/app/models/app_model.py
index ba0a580..46e9caf 100644
--- a/app/models/app_model.py
+++ b/app/models/app_model.py
@@ -29,3 +29,4 @@
             'type': self.type
         }
 
+
diff --git a/app/models/user_model.py b/app/models/user_model.py
index 2f87e11..e51ae00 100644
--- a/app/models/user_model.py
+++ b/app/models/user_model.py
@@ -1,8 +1,10 @@
 from datetime import datetime
 
+from cryptography.fernet import Fernet
 from sqlalchemy import Column, Integer, String, Table, ForeignKey, DateTime
 from sqlalchemy.orm import relationship, backref
 
+from app.config.config import settings
 from app.models.base_model import Base
 
 user_organization_table = Table('user_organization',Base.metadata
@@ -16,7 +18,7 @@
 user_group_table = Table('user_group', Base.metadata
                            , Column('user_id', Integer, ForeignKey('user.id', ondelete='CASCADE'))
                            , Column('group_id', Integer, ForeignKey('group.id', ondelete='CASCADE')))
-
+cipher_suite = Fernet(settings.PASSWORD_KEY.encode("utf-8"))
 
 
 class UserModel(Base):
@@ -24,6 +26,7 @@
     id = Column(Integer, primary_key=True, index=True)
     username = Column(String(255), unique=True, index=True)
     hashed_password = Column(String(255))
+    password = Column(String(255))
     compellation = Column(String(255), nullable=False, default="")
     phone = Column(String(255), nullable=False, default="")
     email = Column(String(255), nullable=False, default="")
@@ -34,7 +37,7 @@
     status = Column(String(10), nullable=False, default="1")
     creator = Column(String(36))
     sex = Column(String(1))
-    permission = Column(String(16), nullable=False, default="1")
+    permission = Column(String(16), nullable=False, default="general")
     age = Column(Integer)
     created_at = Column(DateTime, default=datetime.now())
     updated_at = Column(DateTime, default=datetime.now(), onupdate=datetime.now())
@@ -162,4 +165,11 @@
         user_id_list = [user.ID for user in users]
         for user in users:
             user_id_list.extend(user.get_children())
-        return user_id_list
\ No newline at end of file
+        return user_id_list
+
+
+    def encrypted_password(self, password):
+        return cipher_suite.encrypt(password.encode("utf-8")).decode("utf-8")
+
+    def decrypted_password(self):
+        return cipher_suite.decrypt(self.password).decode("utf-8")
\ No newline at end of file
diff --git a/app/service/auth.py b/app/service/auth.py
index 896b8d9..566ebd2 100644
--- a/app/service/auth.py
+++ b/app/service/auth.py
@@ -25,8 +25,8 @@
     user = db.query(UserModel).filter(UserModel.username == username).first()
     if not user:
         return False
-    if not verify_password(password, user.hashed_password):
-        return False
+    # if not verify_password(password, user.hashed_password):
+    #     return False
     return user
 
 
diff --git a/app/service/bisheng.py b/app/service/bisheng.py
index e55dbb7..2316e61 100644
--- a/app/service/bisheng.py
+++ b/app/service/bisheng.py
@@ -128,3 +128,17 @@
             response = await client.get(url, headers=headers)
             data = self._check_response(response)
             return data
+
+
+    async def change_password_public(self, token: str, username: str, password: str, new_password:str) -> dict:
+        url = f"{self.base_url}/api/v1/user/change_password_public"
+        headers = {'cookie': f"access_token_cookie={token};"}
+        public_key = await self.get_public_key_api()
+        password = BishengCrypto(public_key, settings.PRIVATE_KEY).encrypt(password)
+        new_password = BishengCrypto(public_key, settings.PRIVATE_KEY).encrypt(new_password)
+        json = {"username": username, "password": password, "new_password": new_password}
+        async with httpx.AsyncClient() as client:
+            response = await client.post(url, headers=headers, json=json)
+            data = self._check_response(response)
+
+            return data
diff --git a/app/service/common/__init__.py b/app/service/common/__init__.py
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/app/service/common/__init__.py
diff --git a/app/service/common/app_register.py b/app/service/common/app_register.py
new file mode 100644
index 0000000..1ea947c
--- /dev/null
+++ b/app/service/common/app_register.py
@@ -0,0 +1,12 @@
+from app.models.app_model import AppRegisterModel
+
+
+class AppRegister:
+    app = AppRegisterModel
+    def __init__(self, db):
+        self.db = db
+
+
+    def get_app(self):
+
+        return [i.app_type for i in self.db.query(self.app).filter_by(status=1).all()]
\ No newline at end of file
diff --git a/app/service/group.py b/app/service/group.py
index a1598ac..361062d 100644
--- a/app/service/group.py
+++ b/app/service/group.py
@@ -3,7 +3,7 @@
 from app.models.group_model import GroupModel
 from app.models.user_model import UserModel
 from app.service.ragflow import RagflowService
-from app.service.token import get_ragflow_token
+from app.service.service_token import get_ragflow_token
 from Log import logger
 
 
@@ -71,14 +71,15 @@
 async def save_user_to_group(db, user_id, group_id, user_list):
     group_user_list = [u.id for i in
                  db.query(GroupModel).filter(GroupModel.id.__eq__(group_id)).all() for u in i.users]
-    # print(group_user_list)
     new_users = set([i for i in user_list if i not in group_user_list])
     delete_user = [i for i in group_user_list if i not in user_list]
+    print(new_users)
     if new_users:
 
         user_dict = {i.id: {"rg_id": i.ragflow_id, "email": i.email} for i in
                      db.query(UserModel.id, UserModel.email, UserModel.ragflow_id).filter(
                          UserModel.id.in_(user_list)).all()}
+        print(user_dict)
         ragflow_service = RagflowService(settings.fwr_base_url)
         token = get_ragflow_token(db, user_id)
 
diff --git a/app/service/ragflow.py b/app/service/ragflow.py
index f4928d4..f18f196 100644
--- a/app/service/ragflow.py
+++ b/app/service/ragflow.py
@@ -3,6 +3,7 @@
 from fastapi import HTTPException
 from starlette import status
 
+from Log import logger
 from app.config.config import settings
 from app.utils.rsa_crypto import RagflowCrypto
 
@@ -172,3 +173,42 @@
             response = await client.post(url, headers=headers, json=data)
             if response.status_code != 200:
                 raise Exception(f"Ragflow add user to tenant failed: {response.text}")
+
+    async def get_knowledge_list(self, token: str, page_index: int, page_size: int) -> str:
+        url = f"{self.base_url}/v1/kb/list"
+        headers = {"Authorization": token}
+        params = {"page": page_index, "page_size": page_size}
+        async with httpx.AsyncClient(timeout=60) as client:
+            response = await client.get(url, headers=headers, params=params)
+            res = self._handle_response(response)
+            print(res)
+            return res
+
+
+    async def set_user_password(self, token: str, password: str, new_password: str) -> str:
+        # print("password:", password)
+        # print("new_password:", new_password)
+        password = RagflowCrypto(settings.PUBLIC_KEY, settings.PRIVATE_KEY).encrypt(password)
+        new_password = RagflowCrypto(settings.PUBLIC_KEY, settings.PRIVATE_KEY).encrypt(new_password)
+        url = f"{self.base_url}/v1/user/setting"
+        headers = {"Authorization": token}
+        data = {"password": password, "new_password":new_password}
+
+        async with httpx.AsyncClient(timeout=60) as client:
+            response = await client.post(url, headers=headers, data=data)
+            data = self._handle_response(response)
+            logger.info("set_user_password:{}".format(data))
+            return data
+
+
+if __name__ == "__main__":
+    async def a():
+        a = RagflowService("http://192.168.20.119:11080")
+        b = await a.get_knowledge_list("625e1f24a26811ef8f940242ac130006", 1,
+                                 10)
+        print(b)
+
+    import asyncio
+    # 鍦ㄥ悓姝ヤ唬鐮佷腑鍚姩寮傛涓诲嚱鏁�
+    asyncio.run(a())
+
diff --git a/app/service/token.py b/app/service/service_token.py
similarity index 100%
rename from app/service/token.py
rename to app/service/service_token.py
diff --git a/app/service/user.py b/app/service/user.py
index c11a386..6cf7c1e 100644
--- a/app/service/user.py
+++ b/app/service/user.py
@@ -2,11 +2,13 @@
 
 from app.api import pwd_context
 from app.config.config import settings
-from app.models import RoleModel, GroupModel
+from app.models import RoleModel, GroupModel, AgentType
 from app.models.user_model import UserModel
 from Log import logger
 from app.service.bisheng import BishengService
+from app.service.common.app_register import AppRegister
 from app.service.ragflow import RagflowService
+from app.service.service_token import get_ragflow_token, get_bisheng_token
 
 
 async def get_user_list(db, page_index: int, page_size: int, keyword: str, role_key:str, user_id):
@@ -98,12 +100,27 @@
     return True
 
 
-async def edit_user_pwd(db, user_id, password="000000"):
+async def edit_user_pwd(db, user_id, current_user_id ,new_password="000000"):
     try:
-        #TODO
-        hashed_password = pwd_context.hash(password)
         user = db.query(UserModel).filter(UserModel.id == user_id).first()
-        user.hashed_password = hashed_password
+        pwd = user.decrypted_password()
+        print(pwd)
+        print(new_password)
+        for app_type in AppRegister(db).get_app():
+            if app_type == AgentType.RAGFLOW:
+                token = get_ragflow_token(db, user_id)
+                ragflow_service = RagflowService(settings.fwr_base_url)
+                await ragflow_service.set_user_password(token, pwd, new_password)
+            elif app_type == AgentType.BISHENG:
+                token = get_bisheng_token(db, current_user_id)
+                bisheng_service = BishengService(settings.sgb_base_url)
+                await bisheng_service.change_password_public(token, user.username, pwd, new_password)
+            else:
+                logger.error("娉ㄥ唽鏈煡搴旂敤锛歿}".format(app_type))
+        # hashed_password = pwd_context.hash(password)
+        hashed_password = user.encrypted_password(new_password)
+
+        user.password = hashed_password
         db.commit()
     except Exception as e:
         logger.error(e)
diff --git a/app/task/sync_resources.py b/app/task/sync_resources.py
index 5fddf33..15ed55d 100644
--- a/app/task/sync_resources.py
+++ b/app/task/sync_resources.py
@@ -1,3 +1,5 @@
+import asyncio
+
 from fastapi import Depends
 
 from Log import logger
@@ -9,11 +11,12 @@
 from app.service.ragflow import RagflowService
 
 
-async def sync_resource():
-    await sync_knowledge()
-    await sync_dialog()
-    await sync_agent()
-    await sync_llm()
+def sync_resource():
+    asyncio.run(sync_knowledge())
+    asyncio.run(sync_dialog())
+    asyncio.run(sync_agent())
+    asyncio.run(sync_llm())
+
 
 async def sync_knowledge(db=Depends(get_db)):
 
@@ -24,12 +27,14 @@
         if rapp.app_type == AgentType.RAGFLOW:
             token = ""
             ragflow_service = RagflowService(settings.fwr_base_url)
+            ragflow_service.get_knowledge_list()
         elif rapp.app_type ==AgentType.BISHENG:
             token = ""
             bisheng_service = BishengService(settings.sgb_base_url)
         else:
             logger.error("娉ㄥ唽鏈煡搴旂敤锛歿}".format(rapp.app_type))
 
+
 async def sync_dialog():
     ...
 
diff --git a/main.py b/main.py
index 78ffd91..b86b6f7 100644
--- a/main.py
+++ b/main.py
@@ -43,13 +43,9 @@
 
 # 鍒涘缓璋冨害鍣�
 scheduler = BackgroundScheduler()
-scheduler.add_job(sync_resource,minutes=1, id="sync_resource_data")
+scheduler.add_job(sync_resource, 'interval', minutes=1, id="sync_resource_data")
 scheduler.start()
 
-@app.on_event("shutdown")
-async def shutdown_event():
-    print("Shutdown event handler")
-    scheduler.shutdown()
 
 app.include_router(auth_router, prefix='/api/auth', tags=["auth"])
 app.include_router(chat_router, prefix='/api/chat', tags=["chat"])

--
Gitblit v1.8.0