edelah/quick-model-widget

edelah★ 0JavaScript最后同步: 2026-08-19

在 GitHub 打开

README 摘要

quick-model-widget A real DSH Web plugin that adds a compact model + reasoning quick-switcher to the composer. It keeps the last three distinct choices in browser localStorage . Behavior - Existing choices keep their position when selected. - New choices append on the right. - Adding a fourth distinct choice removes the oldest item on the left. - Each button uses DSH's existing host-backed model selection path. - The normal full model selector remains available. Install from this checkout Restart the DSH web process, then refresh http://127.0.0.1:3080 . Install from GitHub After publishing this folder to a public repository: or: The package declares both dsh.bundle (to add its row to the profile) and dsh.client (to serve and load the browser bundle). Remove Restart DSH after adding or removing a profile plugin. Files - src/client.js — readable Client plugin source. - lib/client.js — browser bundle loaded by DSH. - lib/index.js — no-op Host half required by DSH composition. - cordis.patch.yml — profile row added during installation. - quick-model-widget.js — reusable selection/history helpers.

在 GitHub 查看完整 README →
工具/开发dsh-plugindsh-plugins

分类