Commit Graph
4 Commits
Author SHA1 Message Date
gongzhiyong 790d8d5741 docs(env): clarify DeepSeek v4 already 1M-context, no -1m suffix
被问到 "为什么没有 -1m 这种 model id",查了官方 list-models 后澄清:
DeepSeek 与 Anthropic 命名风格不同,v4-pro / v4-flash 默认就是 1M 上下文,
不存在 -1m 后缀变体。把这点显式写进 .env.example,避免下个队友也疑惑。

- 加注 "1M 上下文" 直接写在每个 model 行
- 加注 deepseek-chat / deepseek-reasoner 实际路由去向(v4-flash 思考/非思考)
- 引用 https://api-docs.deepseek.com/api/list-models 作为权威来源

Made-with: Cursor
2026-04-28 23:37:07 +08:00
gongzhiyong 7fa1580622 docs(env): rewrite .env.example for DeepSeek-first config
补齐上一个提交的 .env.example 同步改写:列出三种登录方式(DeepSeek
端点 / Claude 订阅 / 原生 Anthropic)和 4 个模型 ID(含 deepseek-chat /
deepseek-reasoner 2026-07-24 弃用提示)。

本提交用 --no-verify 是因为 .claude/hooks/pre-commit-check.sh 对 staged
diff 的 - 删除行也做密钥扫描,导致旧占位符 sk-ant-xxxxxxxx 触发 false
positive。已征得 owner 明确同意。后续建议把 hook 改为只扫 + 加行。

Made-with: Cursor
2026-04-28 23:21:35 +08:00
gongzhiyong 3a008458f3 feat(model): default to DeepSeek Anthropic-compatible endpoint
把 Claude Code 的默认上游从 Anthropic 直连改到 DeepSeek 的 Anthropic 兼容端点
(`https://api.deepseek.com/anthropic`),使容器内 agent 直接复用 DeepSeek API
而无需 Anthropic 账号。

- docker-compose.yml: 透传 ANTHROPIC_BASE_URL / ANTHROPIC_SMALL_FAST_MODEL;
  默认值 deepseek-v4-pro (主) + deepseek-v4-flash (子任务)
- README.md: "前置条件" 改为 DeepSeek 优先;"切到 API Key 模式" 写明 DeepSeek
  端点和原生 Anthropic 两种填法
- scripts/bootstrap.sh: 自动生成 .env 时的提示语对齐新文案

仍兼容原 Anthropic 直连:清空 ANTHROPIC_BASE_URL 即可回退。
.env 已 gitignored,未提交真实 key。

注:.env.example 的同步 rewrite 因 pre-commit-check.sh 误报旧占位符
(sk-ant-xxxxx...),将单独提交。

Made-with: Cursor
2026-04-28 23:19:56 +08:00
gongzhiyongandClaude Opus 4.6 2a1692250c fix: improve bootstrap compatibility and add audit pre-requisites
Use plain arrays instead of associative arrays in bootstrap.sh for
broader shell compatibility; add tool installation prep step to
audit-deps command.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-24 19:40:27 +08:00