返回目录
其他 插件

dsh-wsl-ollama

173787247/dsh-wsl-ollama

DeepSeek Harness WSL plugin (dsh-wsl-ollama)

Stars
1
Forks
0
Issues
0
更新
今天

PROJECT TOPICS

项目标签

INSTALL REFERENCE

安装参考

未验证
dsh plugin --profile web add github:173787247/dsh-wsl-ollama

该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。

PROJECT README

README

dsh-wsl-ollama

语言: 中文(本页) · English

在 WSL 上给 DeepSeek Harness 接本地 Ollamaollama_status / list / chat / embed

可选插件,不在 install.sh

最短上手

dsh plugin --profile web add github:173787247/dsh-wsl-ollama
# 或本机 path 链进 web profile 后 restart

Ollama 需已在跑。默认基址 http://127.0.0.1:11434

若 Ollama 装在 Windows、dsh 在 WSLlocalhost 常会 503。可:

  • 让 Ollama 监听 0.0.0.0:11434,或
  • DSH_OLLAMA_BASE=http://<Windows主机IP>:11434(插件也可在 baseUrl 为空时尝试从 /etc/resolv.conf 推主机)

工具

工具 作用
ollama_status 基址、连通性、默认模型
ollama_list 已拉取模型列表
ollama_chat 本地对话
ollama_embed 向量(给 vecmem 等用)

配置

config:
  enabled: true
  baseUrl: ""              # 空 = 自动探测
  defaultModel: ""         # 或环境变量 DSH_OLLAMA_MODEL
  timeoutMs: 120000
  maxPromptChars: 32000

环境变量:DSH_OLLAMA_BASE / OLLAMA_HOSTDSH_OLLAMA_MODEL

License

MIT

CLASSIFICATION EVIDENCE

分类依据

项目类型插件
功能分类其他
规则置信度

系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: 无有效分类标签。