缓存模块和采集模块

This commit is contained in:
2025-11-12 14:55:52 +00:00
commit 38e371fb1d
12 changed files with 260 additions and 0 deletions

14
main.py Normal file
View File

@@ -0,0 +1,14 @@
import yaml
from agent_core import Dispatcher
def main():
with open('config.yml', 'r') as f:
config = yaml.safe_load(f.read())
dispatcher = Dispatcher(config)
dispatcher.run()
def test():
with open('config.yml', 'r') as f:
config = yaml.safe_load(f.read())
if __name__ == '__main__':
test()