MoonshotAI / MoonshotAI/kimi-code

内置 models.dev 目录缺少 step-5-preview(StepFun Step Plan):上游目录 PR 已提交,请同步内置快照

Open
#3,945 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
7.5k
Forks
1.2k
Avg merge
11h 53m
Merged PRs (30d)
350

Description

需求

StepFun 的新旗舰模型 step-5-preview 已经提交到上游模型目录 models.dev,请求维护方在下次更新时同步内置的 models.dev 快照(CLI 里嵌入的 BUILT_IN_MODELS_DEV_JSON),让 /provider 导入 "StepFun Step Plan" 时能直接选到这个模型。

背景

  • step-5-preview 是 StepFun Step Plan 网关(https://api.stepfun.com/step_plan/v1)上的新旗舰基模,官方文档确认:1M tokens 上下文(输入/输出均 1M)、原生文本/图片/视频输入、支持工具调用与结构化输出、推理强度 low/medium/high(Chat Completions 用 reasoning_effort),reasoning 侧信道为 reasoning_content
  • 该模型目前不在 models.dev 目录里,因此 Kimi Code 的 /provider → 已知平台 → "StepFun Step Plan" 导入后只有 step-3.5-flash / step-3.5-flash-2603 / step-3.7-flash / step-router-v1,看不到 step-5-preview。
  • 我已经向 models.dev 提交了补充该模型目录数据的 PR:
    https://github.com/anomalyco/models.dev/pull/7544
    (lab 元数据 + provider override,bun validate 已通过)

合并那个 PR 后,只需要刷新 CLI 内置目录快照即可,无需任何代码改动。

验证方式(维护方合并 models.dev PR 后)

  • GET https://api.stepfun.com/step_plan/v1/models 可看到 step-5-preview(max_input_tokens: 1024000reasoning_effort_support_list: ["low","medium","high"])。
  • 重新构建/发布后,CLI 内置快照应包含 providers/stepfun-step-plan/models/step-5-preview/provider 导入即可选到。

其他信息

  • 数据来源:Step 5 Preview 官方文档、StepFun API 目录端点(均于 2026-09-20 访问)。
  • 在手写 [models] 配置下该模型已在 Kimi Code 中完整可用(thinking 档位、1M 上下文、图片/视频输入均已验证),本 issue 只是请求把目录数据补上,让导入路径也能覆盖。

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Once models.dev PR #7544 is merged, refresh the CLI's BUILT_IN_MODELS_DEV_JSON snapshot. Check that the embedded data contains providers/stepfun-step-plan/models/step-5-preview, then rebuild and verify that /provider lists the model under StepFun Step Plan.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
cli
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.