mirror of
https://github.com/agentuniverse-ai/agentUniverse.git
synced 2026-02-09 01:59:19 +08:00
27 lines
680 B
Python
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()
|