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/CHANGELOG.md +56 -0
- package/lib/bin.js +47 -30
- package/lib/client.js +607 -22
- package/lib/index.js +4652 -2125
- package/package.json +1 -1
- package/vendor/channel-pack/pack.js +16 -1
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.
|
|
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
|
-
|
|
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,
|