@openclaw/qwen-provider 2026.6.10 → 2026.6.11-beta.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/stream.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { normalizeProviderId } from "openclaw/plugin-sdk/provider-model-shared";
2
- import { createPayloadPatchStreamWrapper, isOpenAICompatibleThinkingEnabled } from "openclaw/plugin-sdk/provider-stream-shared";
2
+ import { createPayloadPatchStreamWrapper, isOpenAICompatibleThinkingEnabled, setQwenChatTemplateThinking } from "openclaw/plugin-sdk/provider-stream-shared";
3
3
  //#region extensions/qwen/stream.ts
4
4
  function isQwenProviderId(providerId) {
5
5
  const normalized = normalizeProviderId(providerId);
@@ -37,22 +37,6 @@ function patchQwenOAuthPayload(payload) {
37
37
  }
38
38
  payload.vl_high_resolution_images = true;
39
39
  }
40
- function setQwenChatTemplateThinking(payload, enabled) {
41
- const existing = payload.chat_template_kwargs;
42
- if (existing && typeof existing === "object" && !Array.isArray(existing)) {
43
- const next = {
44
- ...existing,
45
- enable_thinking: enabled
46
- };
47
- if (!Object.hasOwn(next, "preserve_thinking")) next.preserve_thinking = true;
48
- payload.chat_template_kwargs = next;
49
- return;
50
- }
51
- payload.chat_template_kwargs = {
52
- enable_thinking: enabled,
53
- preserve_thinking: true
54
- };
55
- }
56
40
  function readQwenThinkingFormatFromModel(model) {
57
41
  if (model.api !== "openai-completions") return;
58
42
  const compat = model.compat && typeof model.compat === "object" ? model.compat : void 0;
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@openclaw/qwen-provider",
3
- "version": "2026.6.10",
3
+ "version": "2026.6.11-beta.2",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "@openclaw/qwen-provider",
9
- "version": "2026.6.10"
9
+ "version": "2026.6.11-beta.2"
10
10
  }
11
11
  }
12
12
  }
@@ -1,5 +1,6 @@
1
1
  {
2
2
  "id": "qwen",
3
+ "icon": "https://cdn.simpleicons.org/qwen",
3
4
  "activation": {
4
5
  "onStartup": false
5
6
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openclaw/qwen-provider",
3
- "version": "2026.6.10",
3
+ "version": "2026.6.11-beta.2",
4
4
  "description": "OpenClaw Qwen Cloud provider plugin.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -18,10 +18,10 @@
18
18
  "minHostVersion": ">=2026.6.8"
19
19
  },
20
20
  "compat": {
21
- "pluginApi": ">=2026.6.10"
21
+ "pluginApi": ">=2026.6.11-beta.2"
22
22
  },
23
23
  "build": {
24
- "openclawVersion": "2026.6.10",
24
+ "openclawVersion": "2026.6.11-beta.2",
25
25
  "bundledDist": false
26
26
  },
27
27
  "release": {
@@ -39,7 +39,7 @@
39
39
  "README.md"
40
40
  ],
41
41
  "peerDependencies": {
42
- "openclaw": ">=2026.6.10"
42
+ "openclaw": ">=2026.6.11-beta.2"
43
43
  },
44
44
  "peerDependenciesMeta": {
45
45
  "openclaw": {