dsh-bailian-gold: DSH Agent Preset for Prefix Caching Optimization on Alibaba Cloud Bailian
dsh-bailian-gold (Bailian-Gold mode) is a DSH agent preset maintained by SZYTree0312, designed for Alibaba Cloud Bailian Model Studio with a focus on prefix cache hit rate as its core metric. It minimizes prefix invalidation caused by system prompt rewrites and compression by fixing the tool catalog, utilizing append-only history, placing dynamic state at the tail, and defaulting to the Anthropic endpoint with a sufficiently large contextWindow. Installation: `dsh plugin --profile web add github:SZYTree0312/dsh-bailian-gold`, then select "Bailian-Gold mode" in the preset. It is suitable for long sessions with multiple models such as Qwen and DeepSeek on Bailian; please review the source code and MIT license before installation.
Read More