统一:DSH 智能分析、Top100 与图表静默恢复
接入 DSH 专用运行时和对话界面,保留模型原始回答,支持会话分页、连续追问与显式报告。 补齐组合筛选、各维度 Top100、分组查询到排名图的转换,图表故障静默省略并基于保存数据自动恢复。 优化报告风格、图表顺序和表格换行,更新接入说明及构建输入。 验证:独立目录前后端构建通过;118 项 Java、102 项前端、102 项图表、14 项 DSH 应用和 13 项组合筛选检查通过。 仅提交相关源码、锁定依赖与测试;不包含凭据、会话、业务数据或本地产物。
This commit is contained in:
@@ -50,6 +50,8 @@ def install(name, item):
|
||||
def main():
|
||||
parser = argparse.ArgumentParser(description=__doc__)
|
||||
parser.add_argument('--without-ai', action='store_true', help='Explicitly install only the database and Java runtimes')
|
||||
parser.add_argument('--without-dsh', action='store_true', help='Keep only the existing nao analysis runtime')
|
||||
parser.add_argument('--dsh-node', help='Use this Node 24.9+ executable for the project-local DSH runtime')
|
||||
args = parser.parse_args()
|
||||
if platform.system() != 'Darwin' or platform.machine() != 'arm64':
|
||||
raise SystemExit('The locked local runtime packages target Apple Silicon macOS. Use a supported system JDK 21/MySQL 8.4 on other hosts.')
|
||||
@@ -62,6 +64,9 @@ def main():
|
||||
if not args.without_ai:
|
||||
from setup_nao_runtime import install as install_assistant
|
||||
install_assistant()
|
||||
if not args.without_dsh:
|
||||
from setup_dsh_runtime import install as install_dsh
|
||||
install_dsh(args.dsh_node)
|
||||
print('All local runtimes are ready.', flush=True)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user