LeslieWylie/dsh-gateway-billing
DSH Web 编辑器按会话计费显示,适用于所有自建 New API / 兼容 One API 网关的用户。
catalog 简介:Per-conversation LLM billing display for the DSH web composer, for anyone self-hosting a New API / One API-compatible gateway.
安装
# 1. 克隆仓库到本地
git clone https://github.com/LeslieWylie/dsh-gateway-billing.git ~/Desktop/01-Projects/dsh-gateway-billing
# 2. 在 profile 目录添加依赖
cd ~/.dsh/profiles/<your-profile>
# 编辑 package.json,在 dependencies 中添加:
# "dsh-gateway-billing": "link:~/Desktop/01-Projects/dsh-gateway-billing"
# 3. 编辑 cordis.patch.yml,添加一行,并填入你自己网关的价格表地址:
# - id: gateway-billing
# name: 'dsh-gateway-billing'
# config:
# pricingUrl: 'https://your-gateway.example.com/api/pricing'
# 4. 安装依赖
pnpm install
# 5. 重启 dsh 进程
把 LeslieWylie/dsh-gateway-billing 加入你的 DSH 配置(web profile)即可启用。
README
展开完整 README 收起
README 内容为空。
tt-a1i/archify
zhu1090093659/dsh-web-ui
strukto-ai/mirage
liustack/modlens
omdsh-dev/DSH-better-sidebar
ccch1mneyyy/dsh-TUI
agentrq/agentrq
GanyuanRan/Aegis