43 lines
1.5 KiB
Python
43 lines
1.5 KiB
Python
# -*- coding: utf-8 -*-
|
|
{
|
|
'name': 'Yuthon AI Agent - 智能助手',
|
|
'summary': 'Odoo 内嵌 AI 聊天面板,对接 OpenAI 兼容 API',
|
|
'description': """
|
|
Odoo 17 智能体模块
|
|
- AI 对话面板(Web 端内嵌聊天)
|
|
- 浮动聊天窗口(右上角弹出)
|
|
- 支持 OpenAI / 本地模型 / 任何兼容 API
|
|
- 对话历史存储与回溯
|
|
- 可配置多 Provider
|
|
- Function Calling 工具调用
|
|
- AI 规则配置系统
|
|
""",
|
|
'author': 'pengyuthon',
|
|
'version': '17.0.2.2.0',
|
|
'license': 'LGPL-3',
|
|
'depends': ['base', 'web', 'hr', 'sh_backmate_theme_adv_enterprise'],
|
|
'data': [
|
|
'security/ai_security.xml',
|
|
'security/ir.model.access.csv',
|
|
'views/ai_provider_views.xml',
|
|
'views/ai_rule_views.xml',
|
|
'views/ai_manual_views.xml',
|
|
'views/ai_user_profile_views.xml',
|
|
'views/ai_token_usage_views.xml',
|
|
'views/ai_conversation_views.xml',
|
|
'data/demo_provider.xml',
|
|
'data/demo_rule.xml',
|
|
],
|
|
'assets': {
|
|
'web.assets_backend': [
|
|
'yuthon_ai_agent/static/src/js/ai_chat_action.js',
|
|
'yuthon_ai_agent/static/src/js/ai_floating.js',
|
|
'yuthon_ai_agent/static/src/xml/ai_chat_template.xml',
|
|
'yuthon_ai_agent/static/src/css/ai_chat.css',
|
|
'yuthon_ai_agent/static/src/css/ai_floating.css',
|
|
],
|
|
},
|
|
'installable': True,
|
|
'application': True,
|
|
}
|