feat: 添加 model 命令

This commit is contained in:
RockChinQ
2024-07-28 15:46:09 +08:00
parent 70583f5ba0
commit 68ddb3a6e1
3 changed files with 108 additions and 16 deletions

View File

@@ -8,7 +8,7 @@ from . import entities, operator, errors
from ..config import manager as cfg_mgr
# 引入所有算子以便注册
from .operators import func, plugin, default, reset, list as list_cmd, last, next, delc, resend, prompt, cmd, help, version, update, ollama
from .operators import func, plugin, default, reset, list as list_cmd, last, next, delc, resend, prompt, cmd, help, version, update, ollama, model
class CommandManager: