release: 0.2.0 — custom models, gateway context caps, free daily keys
- Custom models: add a model by id (protocol, reasoning, images, context window, max output) next to the built-in catalog. - Gateway context caps: read per-model context_window from each key's /v1/models and narrow the catalog model to the tightest window (free DeepSeek group: 200K, 32K output) so DSH compacts before the cap. - Free daily keys: show each key's expiry, flag the renewal window and link to https://www.geek2api.com/free-ds; the no-usable-key error points there too. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
93a5fe93b4
commit
a8f689e39c
21 files changed
+2161
-427
No files matched your search
@@ -126,6 +126,21 @@ https://hk.geek2api.com/dsh/dsh-geek2api.tgz
|
||||
|
||||
列表里看得到模型,不代表你的 Key 一定能用:能不能用取决于 Key 所在的分组,以设置页的 ✓ / ✕ 为准。设置页「显示的模型」可以隐藏用不到的模型。
|
||||
|
||||
### 自定义模型
|
||||
|
||||
Geek2API 上有、但上表没有的模型,可以在 **设置 → Geek2API → 显示的模型 → 自定义模型** 里按模型 ID 添加:
|
||||
|
||||
| 字段 | 说明 |
|
||||
| --- | --- |
|
||||
| 模型 ID | Geek2API 上的模型名(Key 的 `/v1/models` 里列出的那个),不能和内置模型重名 |
|
||||
| 显示名称 | 可选,留空显示 ID |
|
||||
| 协议 | Chat Completions(默认)、Responses 或 Messages:Claude 系选 Messages,GPT / Grok 选 Responses,其他大多选 Chat Completions |
|
||||
| 推理 | 勾选后提供 `off` / `low` / `medium` / `high`;不勾选则不发推理参数 |
|
||||
| 可带图 | 勾选后可以在对话里发图片 |
|
||||
| 上下文 / 输出 | 可选,默认 128000 / 32000 token |
|
||||
|
||||
添加后立即出现在模型选择器里,使用同样的多 Key 轮换和多入口切换;「账户与 Key」里会多出一栏「自定义」,显示每个 Key 能不能用。最多 32 个。删除自定义模型后,正在用它的会话会提示找不到模型,不会悄悄换成别的模型。
|
||||
|
||||
## 更新与卸载
|
||||
|
||||
**更新:** 打开 **设置 → Geek2API**,「插件版本」卡片会先从 Geek2API 镜像检查最新版本(国内直连可用),镜像不可用时再查 GitHub;有新版本时点「更新插件」,完成后完全退出并重新打开桌面应用。「更新说明」链接到这个版本的发布页。
|
||||
|
||||
Reference in new issue
Block a user