Files
billion-context/dsh.bundle.patch.yml
T
ework-agent ba70cc19d4 fix: retry MALFORMED_RESPONSE on DSH built-in DeepSeek routes (#2605)
Both bili-owned dsh patch carriers (dsh.bundle.patch.yml and the launcher .bili-acp.patch.yml overlay) now add MALFORMED_RESPONSE to the built-in DeepSeek routes' retry whitelist. Each row restates every default code because a cordis patch replaces the targeted row's whole config rather than deep-merging it. Rows carry mode: normal only, so DSH's default budget/backoff (5 retries, 500ms->10s, jitter 0.1) flows through unchanged. Rows absent on other DSH versions are skipped with a warning, never a boot failure.
2026-10-10 15:00:17 +08:00

33 lines
1.6 KiB
YAML

# billion-context dsh bundle layer (#949).
# Mounted automatically when the profile's package.json lists billion-context
# in dsh.profile.bundles (`dsh plugin --profile <name> add billion-context`);
# the loader resolves `name` from the profile's node_modules.
# #1772/#2474: the `auto: false` below targets the HOST-PLANE compaction-basic
# row. In profiles bundling @deepseek-ai/dsh-web-app that row is disabled and
# the running instance lives inside the preset-standard entry, which this
# bundle layer cannot address by id — switching off auto-compaction there
# needs a profile-level full-snapshot override of preset-standard (config
# replaces wholesale; see the plugin's boot warning / #2474).
- insert:
- id: bili-native
name: billion-context
- id: compaction-basic
config:
auto: false
# #2605: DSH's default retry whitelist omits MALFORMED_RESPONSE, so one
# sampling flake that breaks a tool-call argument JSON kills the whole turn
# unretried. A patch replaces the targeted row's WHOLE config (no deep
# merge), so each row restates every default code plus MALFORMED_RESPONSE —
# dropping any default code silently removes its retries. Rows absent on a
# given DSH version are skipped with a warning, never a boot failure.
- id: llm-deepseek
config:
retryPolicy:
mode: normal
retryableCodes: [EMPTY_RESPONSE, RATE_LIMIT, SERVER, TIMEOUT, TRANSPORT, MALFORMED_RESPONSE]
- id: llm-deepseek-account
config:
retryPolicy:
mode: normal
retryableCodes: [EMPTY_RESPONSE, RATE_LIMIT, SERVER, TIMEOUT, TRANSPORT, MALFORMED_RESPONSE]