fix: regression test bug fixes before new release

This commit is contained in:
wangchongshi
2025-03-03 17:09:26 +08:00
parent ed8e4a5163
commit d0721f0561
26 changed files with 0 additions and 179 deletions

View File

@@ -48,8 +48,6 @@ class AgentUniverseProduct(object):
# load the configuration file
configer = Configer(path=config_path).load()
app_configer = AppConfiger().load_by_configer(configer)
self.__config_container.app_configer = app_configer
# init product tables (session and message)
self.__init_product_tables()

View File

@@ -1,7 +0,0 @@
# !/usr/bin/env python3
# -*- coding:utf-8 -*-
# @Time :
# @Author :
# @Email :
# @FileName: __init__.py.py

View File

@@ -1,27 +0,0 @@
# !/usr/bin/env python3
# -*- coding:utf-8 -*-
# @Time :
# @Author :
# @Email :
# @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()

View File

@@ -1,7 +0,0 @@
# !/usr/bin/env python3
# -*- coding:utf-8 -*-
# @Time :
# @Author :
# @Email :
# @FileName: __init__.py.py

View File

@@ -1,7 +0,0 @@
# !/usr/bin/env python3
# -*- coding:utf-8 -*-
# @Time :
# @Author :
# @Email :
# @FileName: __init__.py.py

View File

@@ -1,7 +0,0 @@
# !/usr/bin/env python3
# -*- coding:utf-8 -*-
# @Time :
# @Author :
# @Email :
# @FileName: __init__.py.py

View File

@@ -1,7 +0,0 @@
# !/usr/bin/env python3
# -*- coding:utf-8 -*-
# @Time :
# @Author :
# @Email :
# @FileName: __init__.py.py

View File

@@ -1,13 +0,0 @@
id: demo_agent
nickname: rag智能体
type: AGENT
opening_speech: |
欢迎使用rag chatbot根据您的提问我将结合实时信息及我个人掌握的知识给您提供合理的解答。
你可以这样问我:
问题1: 巴黎奥运会中国获得了几块奖牌
问题2: 巴菲特为什么减持苹果股票
avatar: ../../../resources/rag_agent_logo.png
metadata:
class: AgentProduct
module: agentuniverse_product.base.agent_product
type: PRODUCT

View File

@@ -1,7 +0,0 @@
# !/usr/bin/env python3
# -*- coding:utf-8 -*-
# @Time :
# @Author :
# @Email :
# @FileName: __init__.py.py

View File

@@ -1,7 +0,0 @@
id: demo_knowledge
nickname: 民法/刑法知识库,可以查询民法典/刑法典法律相关内容
type: KNOWLEDGE
metadata:
type: 'PRODUCT'
module: 'agentuniverse_product.base.product'
class: 'Product'

View File

@@ -1,7 +0,0 @@
# !/usr/bin/env python3
# -*- coding:utf-8 -*-
# @Time :
# @Author :
# @Email :
# @FileName: __init__.py.py

View File

@@ -1,7 +0,0 @@
id: default_deepseek_llm
nickname: 深度求索系列大模型
type: LLM
metadata:
type: 'PRODUCT'
module: 'agentuniverse_product.base.product'
class: 'Product'

View File

@@ -1,7 +0,0 @@
id: demo_llm
nickname: aU默认模型列表
type: LLM
metadata:
type: 'PRODUCT'
module: 'agentuniverse_product.base.product'
class: 'Product'

View File

@@ -1,7 +0,0 @@
# !/usr/bin/env python3
# -*- coding:utf-8 -*-
# @Time :
# @Author :
# @Email :
# @FileName: __init__.py.py

View File

@@ -1,12 +0,0 @@
id: demo_search_plugin
nickname: 谷歌web搜索插件
avatar: ../../../resources/google_search.png
description: 谷歌web搜索插件
type: PLUGIN
toolset:
- demo_search_tool
- mock_search_tool
metadata:
class: PluginProduct
module: agentuniverse_product.base.plugin_product
type: PRODUCT

View File

@@ -1,11 +0,0 @@
id: python_runner_plugin
nickname: python代码相关插件
avatar: ../../../resources/python_tool.png
description: python代码相关插件
type: PLUGIN
toolset:
- python_runner
metadata:
class: PluginProduct
module: agentuniverse_product.base.plugin_product
type: PRODUCT

View File

@@ -1,7 +0,0 @@
# !/usr/bin/env python3
# -*- coding:utf-8 -*-
# @Time :
# @Author :
# @Email :
# @FileName: __init__.py.py

View File

@@ -1,8 +0,0 @@
id: demo_search_tool
nickname: 谷歌web搜索工具
type: TOOL
avatar: ../../../resources/google_search.png
metadata:
type: 'PRODUCT'
module: 'agentuniverse_product.base.product'
class: 'Product'

View File

@@ -1,7 +0,0 @@
id: mock_search_tool
nickname: mock搜索数据工具
type: TOOL
metadata:
type: 'PRODUCT'
module: 'agentuniverse_product.base.product'
class: 'Product'

View File

@@ -1,8 +0,0 @@
id: python_runner
nickname: 执行python代码工具
type: TOOL
avatar: ../../../resources/python_tool.png
metadata:
type: 'PRODUCT'
module: 'agentuniverse_product.base.product'
class: 'Product'

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 93 KiB

View File

@@ -1,7 +0,0 @@
# !/usr/bin/env python3
# -*- coding:utf-8 -*-
# @Time :
# @Author :
# @Email :
# @FileName: __init__.py.py