Add automatic update checks
This commit is contained in:
@@ -93,6 +93,30 @@ python -m nlprog models show deepseek
|
||||
python -m nlprog models remove deepseek
|
||||
```
|
||||
|
||||
## 自动更新
|
||||
|
||||
NLProg 默认在每次启动时检查更新。如果发现新版本,会询问是否立即更新。
|
||||
|
||||
手动检查更新:
|
||||
```powershell
|
||||
python -m nlprog update check
|
||||
```
|
||||
|
||||
手动更新:
|
||||
```powershell
|
||||
python -m nlprog update self
|
||||
```
|
||||
|
||||
关闭自动检测更新:
|
||||
```powershell
|
||||
python -m nlprog config set auto_update_check false
|
||||
```
|
||||
|
||||
重新开启自动检测更新:
|
||||
```powershell
|
||||
python -m nlprog config set auto_update_check true
|
||||
```
|
||||
|
||||
## 使用 opencode
|
||||
|
||||
先确认 opencode 已经登录:
|
||||
|
||||
Reference in New Issue
Block a user