Agent 配置
API Key 放这里
不要写进网页、代码或 wrangler.jsonc。放到 Cloudflare Worker 的 Secret,名字必须是 DEEPSEEK_API_KEY。
cd C:\Users\EBWJE\todoexp-worker
$u=[Environment]::GetEnvironmentVariables('User')
$env:CLOUDFLARE_API_TOKEN=$u['CLOUDFLARE_API_TOKEN']
$env:CLOUDFLARE_ACCOUNT_ID=$u['CLOUDFLARE_ACCOUNT_ID']
npm.cmd exec wrangler -- secret put DEEPSEEK_API_KEY --name shatodo运行后在提示符里粘贴 Key,输入不会显示。完成后告诉我“已设置”,不要把 Key 发到聊天里。