Skip to content

✨ feat: add Hunyuan icon mapping for Hy3 models - #378

Merged
canisminor1990 merged 1 commit into
lobehub:masterfrom
Cyber-Yichen:feat/hy3-icon-mapping
Aug 12, 2026
Merged

✨ feat: add Hunyuan icon mapping for Hy3 models#378
canisminor1990 merged 1 commit into
lobehub:masterfrom
Cyber-Yichen:feat/hy3-icon-mapping

Conversation

@Cyber-Yichen

Copy link
Copy Markdown
Contributor

Summary

  • map hy3 and hy3-preview model IDs to the existing Hunyuan icon
  • keep the web and React Native model mappings aligned

Why

The existing Hunyuan mapping only recognizes model IDs containing hunyuan. Hy3 uses the shorter hy3 naming, so both hy3 and hy3-preview currently fall back to the default model icon even though they share the Hunyuan branding.

Impact

Hy3 models now display the same Hunyuan logo as the previous Hunyuan generation across web and React Native consumers.

Validation

  • bun run type-check
  • bun run --cwd packages/react-native type-check
  • verified the hy3 keyword matches both hy3 and hy3-preview

@canisminor1990
canisminor1990 marked this pull request as ready for review August 12, 2026 05:53
@canisminor1990
canisminor1990 merged commit 8c7fa2f into lobehub:master Aug 12, 2026
3 of 5 checks passed
@lobehubbot

Copy link
Copy Markdown
Member

❀️ Great PR @Cyber-Yichen ❀️

The growth of project is inseparable from user feedback and contribution, thanks for your contribution! If you are interesting with the lobehub developer community, please join our discord and then dm @arvinxx or @canisminor1990. They will invite you to our private developer channel. We are talking about the lobe-chat development or sharing ai newsletter around the world.

@codecov

codecov Bot commented Aug 12, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 0% with 2 lines in your changes missing coverage. Please review.
βœ… Project coverage is 1.75%. Comparing base (e39bdc2) to head (197d8c9).
⚠️ Report is 1040 commits behind head on master.

Files with missing lines Patch % Lines
packages/react-native/src/features/modelConfig.ts 0.00% 1 Missing ⚠️
src/features/modelConfig.ts 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff            @@
##           master    #378      +/-   ##
=========================================
+ Coverage    0.00%   1.75%   +1.75%     
=========================================
  Files         520    4475    +3955     
  Lines       13448   89542   +76094     
  Branches      520    4475    +3955     
=========================================
+ Hits            0    1573    +1573     
- Misses      12928   85067   +72139     
- Partials      520    2902    +2382     

β˜” View full report in Codecov by Harness.
πŸ“’ Have feedback on the report? Share it here.

πŸš€ New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • πŸ“¦ JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

github-actions Bot pushed a commit that referenced this pull request Aug 12, 2026
## [Version 5.16.0](v5.15.0...v5.16.0)
<sup>Released on **2026-08-12**</sup>

#### ✨ Features

- **auto**: Auto build static icons.
- **misc**: Add Hunyuan icon mapping for Hy3 models.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### What's improved

* **auto**: Auto build static icons ([0aaef1d](0aaef1d))
* **misc**: Add Hunyuan icon mapping for Hy3 models, closes [#378](#378) ([8c7fa2f](8c7fa2f))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
@lobehubbot

Copy link
Copy Markdown
Member

πŸŽ‰ This PR is included in version 5.16.0 πŸŽ‰

The release is available on:

Your semantic-release bot πŸ“¦πŸš€

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants