fix(mattermost): clarify model picker runtime behavior · openclaw/openclaw@e39d3b4
vincentkoc
·
2026-05-05
·
via Recent Commits to openclaw:main
File tree
extensions/mattermost/src/mattermost
| Original file line number | Diff line number | Diff line change |
|---|
@@ -64,6 +64,7 @@ Docs: https://docs.openclaw.ai
|
64 | 64 | - Channels/plugins: key bundled package-state probes, env/config presence, and read-only command defaults by channel id instead of manifest plugin id, preserving setup and native-command detection for channel plugins whose package id differs from the channel alias. Thanks @vincentkoc. |
65 | 65 | - Docker: prune package-excluded plugin dist directories from runtime images unless the build explicitly opts that plugin in, so official external plugins such as Feishu stay install-on-demand instead of shipping partial metadata without compiled runtime output. Fixes #77424. Thanks @vincentkoc. |
66 | 66 | - Model switching: include the exact additive allowlist repair command when `/model ... --runtime ...` targets a blocked model, and make Telegram's model picker say that it changes only the session model while leaving the runtime unchanged. Thanks @vincentkoc. |
| 67 | +- Mattermost: clarify that the model picker only changes the session model and that runtime switches require `/oc_model <provider/model> --runtime <runtime>`. Thanks @vincentkoc. |
67 | 68 | - Doctor/config: keep active `auth.profiles` metadata intact when `doctor --fix` strips stale secret fields from configs, repairing legacy `<provider>:default` API-key profile metadata when model fallbacks or explicit `model@profile` refs still depend on it. Fixes #77400. |
68 | 69 | - CLI/update: disable and skip plugins that fail package-update plugin sync, so a broken npm/ClawHub/git/marketplace plugin cannot turn a successful OpenClaw package update into a failed update result. Thanks @vincentkoc. |
69 | 70 | - CLI/update: use an absolute POSIX npm script shell during package-manager updates, so restricted PATH environments can still run dependency lifecycle scripts while updating from `--tag main`. Fixes #77530. Thanks @PeterTremonti. |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -57,6 +57,8 @@ describe("Mattermost model picker", () => {
|
57 | 57 | expect(view.text).toContain("Current: openai/gpt-5"); |
58 | 58 | expect(view.text).toContain("Tap below to browse models"); |
59 | 59 | expect(view.text).toContain("/oc_model <provider/model> to switch"); |
| 60 | +expect(view.text).toContain("Browse keeps the current runtime"); |
| 61 | +expect(view.text).toContain("/oc_model <provider/model> --runtime <runtime>"); |
60 | 62 | expect(view.buttons[0]?.[0]?.text).toBe("Browse providers"); |
61 | 63 | }); |
62 | 64 | |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -273,7 +273,7 @@ export function renderMattermostModelSummaryView(params: {
|
273 | 273 | "", |
274 | 274 | "Tap below to browse models, or use:", |
275 | 275 | "/oc_model <provider/model> to switch", |
276 | | -"/oc_model <provider/model> --runtime <runtime> for runtime", |
| 276 | +"Browse keeps the current runtime; use /oc_model <provider/model> --runtime <runtime> to switch runtime too", |
277 | 277 | "/oc_model status for details", |
278 | 278 | ].join("\n"), |
279 | 279 | buttons: [ |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。