dsh-xdpool 2.6.7 → 2.7.0

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
@@ -2,7 +2,7 @@
2
2
  "name": "dsh-xdpool",
3
3
  "displayName": "DSH XD Pool",
4
4
  "description": "One DSH model pool for every free quota you have: merge all locally signed-in WorkBuddy accounts with auto-failover, sign in to 13 vendors by QR/web, aggregate 76 vendors' free tiers, plus a usage dashboard, model routing, a local OpenAI-compatible gateway and a points-automation suite.",
5
- "version": "2.6.7",
5
+ "version": "2.7.0",
6
6
  "license": "MIT",
7
7
  "author": "XDTrees",
8
8
  "homepage": "https://github.com/XDTrees/dsh-xdpool#readme",
@@ -33373,7 +33373,22 @@ var CodeArtsAdapter = class extends LlmAdapter {
33373
33373
  if (currentAccountId) rateLimitTried.add(currentAccountId);
33374
33374
  const isBenefitModel = isCodeArtsBenefitModel(options.model);
33375
33375
  for (; ; ) {
33376
- const extraSignedHeaders = isBenefitModel && !benefitHeaderDropped ? { maas_type: "benefit" } : void 0;
33376
+ /**
33377
+ * [xdpool-local] The benefit header is NEVER sent — issue #150.
33378
+ *
33379
+ * `maas_type: benefit` routes the request onto a lane the upstream has retired: with it
33380
+ * the first frame is `InferHub.APIG.0101.404`, which surfaces as
33381
+ * "The API does not exist or has not been published in the environment". Without it the
33382
+ * SAME model, account, body and endpoint answer normally — measured both ways on
33383
+ * `glm-5.3-flash` and `deepseek-v4.1-flash`.
33384
+ *
33385
+ * #149 read the same failure as "these model ids are no longer published" and proposed
33386
+ * switching them off. Its control group changed the ID rather than the header, and every
33387
+ * id it compared happened to be outside the benefit list — so the variable it meant to
33388
+ * isolate was never isolated, and disabling the ids would have removed two working
33389
+ * models while leaving the real cause in place.
33390
+ */
33391
+ const extraSignedHeaders = void 0;
33377
33392
  const signed = await signRequestHuawei(
33378
33393
  credential.access_key_id,
33379
33394
  credential.secret_access_key,