Files
agentUniverse/sample_standard_app/app/bootstrap/product_application.py
2024-08-29 11:55:01 +08:00

27 lines
680 B
Python

# !/usr/bin/env python3
# -*- coding:utf-8 -*-
# @Time : 2024/7/24 15:35
# @Author : wangchongshi
# @Email : wangchongshi.wcs@antgroup.com
# @FileName: product_application.py
from agentuniverse.base.agentuniverse import AgentUniverse
from agentuniverse_product.agentuniverse_product import AgentUniverseProduct
class ProductApplication:
"""
Product application: agentUniverse-product portal.
After startup, the system redirects to the aU-product homepage by default.
"""
@classmethod
def start(cls):
AgentUniverse().start(core_mode=True)
AgentUniverseProduct().start()
if __name__ == "__main__":
ProductApplication.start()