Skip to content

fix: StepFun -> Stepfun - #5636

Merged
seefs001 merged 1 commit into
QuantumNous:mainfrom
seefs001:fix/stepfun-icon
Jun 21, 2026
Merged

fix: StepFun -> Stepfun#5636
seefs001 merged 1 commit into
QuantumNous:mainfrom
seefs001:fix/stepfun-icon

Conversation

@seefs001

@seefs001 seefs001 commented Jun 21, 2026

Copy link
Copy Markdown
Collaborator

⚠️ 提交说明 / PR Notice

Important

  • 请提供人工撰写的简洁摘要,避免直接粘贴未经整理的 AI 输出。

📝 变更描述 / Description

(简述:做了什么?为什么这样改能生效?请基于你对代码逻辑的理解来写,避免粘贴未经整理的内容)

https://icons.lobehub.com/components/stepfun

fix #5631

🚀 变更类型 / Type of change

  • 🐛 Bug 修复 (Bug fix) - 请关联对应 Issue,避免将设计取舍、理解偏差或预期不一致直接归类为 bug
  • ✨ 新功能 (New feature) - 重大特性建议先通过 Issue 沟通
  • ⚡ 性能优化 / 重构 (Refactor)
  • 📝 文档更新 (Documentation)

🔗 关联任务 / Related Issue

  • Closes # (如有)

✅ 提交前检查项 / Checklist

  • 人工确认: 我已亲自整理并撰写此描述,没有直接粘贴未经处理的 AI 输出。
  • 非重复提交: 我已搜索现有的 IssuesPRs,确认不是重复提交。
  • Bug fix 说明: 若此 PR 标记为 Bug fix,我已提交或关联对应 Issue,且不会将设计取舍、预期不一致或理解偏差直接归类为 bug。
  • 变更理解: 我已理解这些更改的工作原理及可能影响。
  • 范围聚焦: 本 PR 未包含任何与当前任务无关的代码改动。
  • 本地验证: 已在本地运行并通过测试或手动验证,维护者可以据此复核结果。
  • 安全合规: 代码中无敏感凭据,且符合项目代码规范。

📸 运行证明 / Proof of Work

(请在此粘贴截图、关键日志或测试报告,以证明变更生效)

Summary by CodeRabbit

  • Bug Fixes
    • Fixed icon identifier casing for model badge display.

@coderabbitai

coderabbitai Bot commented Jun 21, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: fc8765a4-e0bd-465f-9b5e-16a0110f5691

📥 Commits

Reviewing files that changed from the base of the PR and between 1f1da55 and 882b8f5.

📒 Files selected for processing (1)
  • web/default/src/features/usage-logs/components/model-badge.tsx

Walkthrough

In resolveModelProvider inside model-badge.tsx, the icon identifier for the step- model prefix branch is corrected from StepFun.Color to Stepfun.Color, fixing the casing to match the actual export name from @lobehub/icons. The label (StepFun) is unchanged.

Changes

StepFun Icon Casing Fix

Layer / File(s) Summary
Fix StepFun icon identifier casing
web/default/src/features/usage-logs/components/model-badge.tsx
The icon return value in the step- provider branch of resolveModelProvider is changed from StepFun.Color to Stepfun.Color to match the correct export casing from @lobehub/icons.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Possibly related issues

Possibly related PRs

  • QuantumNous/new-api#5631: Both PRs modify resolveModelProvider in model-badge.tsx targeting the step- provider branch and its icon identifier for StepFun models.

Poem

🐇 A rabbit once typed with great care,
StepFun had an 'F' that wasn't there—
One small letter swapped,
The icon now popped,
Stepfun.Color flies through the air! ✨

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@seefs001
seefs001 merged commit 0b7ae4e into QuantumNous:main Jun 21, 2026
1 of 2 checks passed
diamond261 added a commit to diamond261/new-api that referenced this pull request Jun 21, 2026
Sync with upstream commits:
- feat: add traffic flow sankey chart
- feat: dashboard interactive sankey highlighting
- feat: sensitive data toggle to flow chart
- fix: StepFun -> Stepfun (QuantumNous#5636)
- fix: usage-logs provider icons for CN models
- fix: model-pricing delete items
- fix: wallet billing history pagination
- fix: log filter by login type

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
ruanhangjian pushed a commit to ruanhangjian/new-api that referenced this pull request Jul 11, 2026
noah-wung pushed a commit to noah-wung/new-api that referenced this pull request Jul 17, 2026
zhaodechao2008 pushed a commit to zhaodechao2008/new-api that referenced this pull request Jul 27, 2026
330079598 pushed a commit to 330079598/new-api that referenced this pull request Aug 19, 2026
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