Repository navigation
Models page: start Ollama, one-click deps, and local GGUF search - #27
Merged
Merged
Conversation
XYAIStudio
marked this pull request as ready for review
September 16, 2026 05:18
Start an already-installed Ollama daemon from known Windows/macOS paths, offer honest one-click install only when a package manager can do it, and scan for local GGUF/GGML weights in the background so they can be registered for chat.
cursor
Bot
force-pushed
the
cursor/local-models-ux-cf47
branch
from
September 16, 2026 05:20
f23de9c to
f519edf
Compare
6 of 12 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Models 页补齐桌面(尤其 Windows)本机大模型体验,不碰 Release 资产。
127.0.0.1:11434不通时,显示 「启动 Ollama」。Windows 按已知安装路径启动Ollama.exe/ollama app/ollama serve,轮询 API 直到就绪或给出下一步。未安装时不会假装去启动。winget、macOSbrew、Linux 官方脚本且可免密 sudo)提供 「一键下载安装」;否则明确写需手动安装并给出官网。.gguf/.ggml,以及带config.json+ tokenizer +.safetensors的因果 LLM 目录(避免乱报)。结果进入 本地大模型列表(路径、大小),GGUF/GGML 可 注册(ollama create+ 写入 Ollama provider)。safetensors 只展示并说明需手动转 GGUF。产品用语未改:员工 / 同事 / 专家。
Target branch
main(requested: latestmain, focused PR, no merge / no Release)Type of change
Test plan
uv run ruff check+uv run mypy --strict src/octop(changed modules)uv run pyteston new unit tests (test_ollama_paths,test_local_weights,test_local_scan,test_local_register,test_ollama_start,test_local_probe)npx vitest runLocalHardwarePanel.test.tsx+npx tsc --noEmitmake all— first-run testmon was still walking the full suite in this environment; CI should be the ship barWindows verification (reviewer)
http://127.0.0.1:11434不通。打开模型页 → 应出现「启动 Ollama」。点击后应拉起已知路径下的Ollama.exe/ollama app/ollama serve,直到标签变绿,或提示打开开始菜单里的 Ollama。winget时点「一键下载安装」,否则文案指向 https://ollama.com/download,不要假装已安装。.gguf,点「搜索本机模型」(不要先勾全盘)。文件应出现在本机列表(路径 + 大小)。Ollama 运行中点「注册」,对话模型池应出现该名称。Checklist
CHANGELOG.md(if user-facing)docs/api.mdlocal-models routes