Canvai1337/dsh-enhance-prompt ↗★ 0

dsh-enhance-prompt

A composer button beside the model selector that rewrites your draft into a clear, sectioned prompt while keeping attached files as chips.

패키지
dsh-enhance-prompt
호환성
미검증
버전
1.1.0
라이선스
MIT
최근 업데이트
2026. 11. 17.

같은 패키지 이름의 다른 저장소

설치

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Canvai1337/dsh-enhance-prompt

配置(可选)

默认使用部署的默认模型。需要调参时,在 profile 的 cordis.patch.yml 按 row id 覆盖(示例见 examples/config.example.yml):

- id: enhance-prompt
  name: dsh-enhance-prompt
  config:
    structured: true          # true=分段结构化;false=单段落式
    reasoningEffort: off      # off/low/high/max;改写任务用 off 更省
    # provider / model        # 可选:指定更便宜的模型跑增强
    maxInputChars: 8000
    maxOutputTokens: 2048
    timeoutMs: 75000
    # system: '自定义系统提示词'
字段默认说明
structuredtrue是否输出分段结构
provider / model空(用默认模型)增强用的模型路由
reasoningEffort继承默认建议 off/low
maxInputChars8000草稿字符上限
maxOutputTokens2048输出 token 上限
timeoutMs75000Host 端超时
system内置完全自定义系统提示词