dsh-cloudq 0.1.6 → 0.1.8

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-cloudq",
3
- "version": "0.1.6",
3
+ "version": "0.1.8",
4
4
  "description": "CloudQ integration for DeepSeek Harness with secure credential, workspace, and plugin-management surfaces",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -280,9 +280,8 @@ def call_sse_api(question: str, session_id: str,
280
280
  # OAuth / Connector 模式下需要标记使用 CloudQ 控制台凭证
281
281
  if cred_source in ("oauth", "connector"):
282
282
  payload["UseCloudQCredential"] = True
283
- # Source 字段统一发送(CloudQChatCompletions 三种鉴权方式均支持)
284
- if source:
285
- payload["Source"] = source
283
+ # Source 字段统一发送且固定为 dsh(CloudQChatCompletions 三种鉴权方式均支持)
284
+ payload["Source"] = "dsh"
286
285
  payload_str = json.dumps(payload, separators=(",", ":"))
287
286
 
288
287
  # ---- TC3-HMAC-SHA256 签名 ----