Skip to content

docs(openspec): propose OpenRouter models - #24

Draft
hifizz wants to merge 2 commits into
mainfrom
add-openrouter-models
Draft

docs(openspec): propose OpenRouter models#24
hifizz wants to merge 2 commits into
mainfrom
add-openrouter-models

Conversation

@hifizz

@hifizz hifizz commented Aug 2, 2026

Copy link
Copy Markdown
Owner

变更内容

  • 新增 add-openrouter-models OpenSpec change
  • 定义 10 个 OpenRouter 模型的内部 ID 与准确 slug
  • plan.md 中冻结模块边界、TypeScript 类型、接口参数、真实成本聚合及边界情况
  • 补充 proposal、design、capability spec 与可执行 tasks

变更原因

现有模型网关和 Ark 模型选择已经完成,但尚未定义 OpenRouter 专属 provider、原生 reasoning,以及多 step 真实成本计费的行为边界。本 PR 先建立可实施、可验证的 OpenSpec 契约,不包含应用代码实现。

影响

  • 仅新增 OpenSpec 文档
  • 不修改运行时代码、依赖或数据库
  • 不包含工作区中的 admin-topup.ts

验证

  • openspec validate add-openrouter-models --strict --no-interactive
  • pnpm openspec:validate(18 passed,0 failed)
  • git diff --cached --check

@cr-gpt

cr-gpt Bot commented Aug 2, 2026

Copy link
Copy Markdown

Seems you are using me but didn't get OPENAI_API_KEY seted in Variables/Secrets for this repo. you could follow readme for more information

@vercel

vercel Bot commented Aug 2, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
thread-chatbot Error Error Aug 2, 2026 4:20am

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant