Browse Source

使用codegemma 2b降低资源

xiongweixp 8 months ago
parent
commit
f3bf21bb91
2 changed files with 2 additions and 2 deletions
  1. 1 1
      .vscode/launch.json
  2. 1 1
      erniecli.py

+ 1 - 1
.vscode/launch.json

@@ -9,7 +9,7 @@
             "type": "debugpy",
             "request": "launch",
             "program": "erniecli.py",
-            "args": ["command","显示当前用户"],
+            "args": ["command","建立一个图标abc.desktop,运行/opt/abc/abc.sh"],
             "console": "integratedTerminal"
         },
         {

+ 1 - 1
erniecli.py

@@ -255,7 +255,7 @@ def check_port_available(port):
 def askLocal(question):
     global chats
     data = {
-            "model": "codeqwen",  # 使用 qwen:7b 模型
+            "model": "codegemma:2b",  # 使用 qwen:7b 模型
             "stream": False,  # 禁用流式输出
             "messages": [