dsh-request-header-fix:为自选模型请求补上 x-opencode-session
DSH 内置仅对部分 provider 自动添加 x-opencode-session;自建或第三方线路若要求该头,可用社区插件 dsh-request-header-fix。插件在 web profile 的设置中按 provider 与模型勾选,仅在 llm/stream 命中时注入当前会话 UUID,默认全关且只改 profile。本文基于仓库 README 说明安装命令、配置字段 headerFix、重启 dsh web 与使用注意。
阅读全文