CoPaw(全称:Collaborative Personal Assistant for Work)是一个个人助理软件。
首先安装python ,注意不支持python314版本,推荐使用Python312版本
https://www.python.org/downloads/windows/
# 安装 CoPaw pip install copaw # 初始化 copaw init --defaults # 在xshell启动 start copaw app --host 0.0.0.0 --port 8088 # 在powershell启动 Start-Process cmd -ArgumentList "/k copaw app --host 0.0.0.0 --port 8088" -WindowStyle Minimized # 注意启动后按ctrl+c都会退出 # 启动后用浏览器打开 http://127.0.0.1:8088/
使用 NSSM 配置后台启动
1. 下载 NSSM # 访问:https://nssm.cc/download # 下载 nssm-2.24.zip(最新版) 2. 解压并安装 # 解压到 C:\nssm # 以管理员身份运行 CMD cd C:\nssm\win64 nssm install copaw 3. 在弹出的窗口中: Path: D:\Programs\Python\Python313\Scripts\copaw.exe Arguments: app --host 0.0.0.0 --port 8088 Startup directory: D:\Programs\Python\Python313\Scripts 点击 "Install service" 4. 启动服务 # 启动服务 nssm start copaw # 停止服务 nssm stop copaw # 查看状态 nssm status copaw
配置百炼模型: