-
-
Notifications
You must be signed in to change notification settings - Fork 100
💄 style: support some T2I model icons #147
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Reviewer's GuideUpdated modelMappings in modelConfig.ts to include new regex patterns and keywords for supporting Qwen wan2.2, Minimax image-01, and Wenxin irag T2I model icons Class diagram for updated modelMappings in modelConfig.tsclassDiagram
class ModelMapping {
Icon
keywords
}
ModelMapping <|-- Qwen
ModelMapping <|-- Minimax
ModelMapping <|-- Wenxin
Qwen : Icon = Qwen
Qwen : keywords = ["qwen", "qwq", "qvq", "wanx", "wan\\d/"]
Minimax : Icon = Minimax
Minimax : keywords = ["minimax", "abab", "^image-"]
Wenxin : Icon = Wenxin
Wenxin : keywords = ["ernie", "irag"]
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
👍 @hezhijie0327 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @hezhijie0327 - I've reviewed your changes and they look great!
Prompt for AI Agents
Please address the comments from this code review:
## Individual Comments
### Comment 1
<location> `src/features/modelConfig.ts:147` </location>
<code_context>
{ Icon: Baichuan, keywords: ['baichuan'] },
{ Icon: Rwkv, keywords: ['rwkv', '/eagle-'] },
- { Icon: Wenxin, keywords: ['ernie'] },
+ { Icon: Wenxin, keywords: ['ernie', 'irag'] },
{ Icon: Jina, keywords: ['^jina', '/jina'] },
{ Icon: Doubao, keywords: ['^ep-', 'doubao-'] },
</code_context>
<issue_to_address>
Check for typos in new Wenxin keyword 'irag'.
Please verify that 'irag' is correct and not a typo.
</issue_to_address>
<suggested_fix>
<<<<<<< SEARCH
{ Icon: Wenxin, keywords: ['ernie', 'irag'] },
=======
{ Icon: Wenxin, keywords: ['ernie'] },
>>>>>>> REPLACE
</suggested_fix>
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #147 +/- ##
=========================================
+ Coverage 0.00% 1.65% +1.65%
=========================================
Files 520 3159 +2639
Lines 13448 67410 +53962
Branches 520 3159 +2639
=========================================
+ Hits 0 1113 +1113
- Misses 12928 64251 +51323
- Partials 520 2046 +1526 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
commit: |
❤️ Great PR @hezhijie0327 ❤️ |
### [Version 2.18.5](v2.18.4...v2.18.5) <sup>Released on **2025-07-29**</sup> #### 💄 Styles - **misc**: Support some T2I model icons. <br/> <details> <summary><kbd>Improvements and Fixes</kbd></summary> #### Styles * **misc**: Support some T2I model icons, closes [#147](#147) ([4956a2b](4956a2b)) </details> <div align="right"> [](#readme-top) </div>
🎉 This PR is included in version 2.18.5 🎉 The release is available on: Your semantic-release bot 📦🚀 |
🎉 This PR is included in version 1.0.3 🎉 The release is available on npm package (@latest dist-tag) Your semantic-release bot 📦🚀 |
🎉 This PR is included in version 1.57.0 🎉 The release is available on npm package (@latest dist-tag) Your semantic-release bot 📦🚀 |
## [Version 1.58.0](https://github.com/lobehub/lobe-icons/compare/@lobehub/icons-static-svg@1.57.0...@lobehub/icons-static-svg@1.58.0) <sup>Released on **2025-07-29**</sup> #### ✨ Features - **auto**: Auto build static icons. - **misc**: Add Kolors, make lobe icons support react native platform, support 'wanx' model icon. #### 🐛 Bug Fixes - **RN**: Model Tag component. - **misc**: Add missing CogView model config, Build script, Ci build error. #### 💄 Styles - **rn**: ModelConfig update, Update peer deps & docs, Update react-native deps & docs. - **misc**: Fix webp, support some T2I model icons, Trigger rn package release, Update New Google AI Studio icon (resolved, upgrade react-layout-kit. <br/> <details> <summary><kbd>Improvements and Fixes</kbd></summary> #### What's improved * **auto**: Auto build static icons ([91c05dd](91c05dd)) * **misc**: Add Kolors ([41b7d1c](41b7d1c)) * **misc**: Make lobe icons support react native platform, closes [#141](#141) ([8fcd922](8fcd922)) * **misc**: Support 'wanx' model icon ([4db15a8](4db15a8)) #### What's fixed * **RN**: Model Tag component ([8c88ecf](8c88ecf)) * **misc**: Add missing CogView model config ([964fd07](964fd07)) * **misc**: Build script, closes [#145](#145) ([fc8f06c](fc8f06c)) * **misc**: Ci build error, closes [#146](#146) ([0c1c04d](0c1c04d)) #### Styles * **rn**: ModelConfig update ([74b34e8](74b34e8)) * **rn**: Update peer deps & docs ([d479f7d](d479f7d)) * **rn**: Update react-native deps & docs ([553aad5](553aad5)) * **misc**: Fix webp ([e9ad8b2](e9ad8b2)) * **misc**: Support some T2I model icons, closes [#147](#147) ([4956a2b](4956a2b)) * **misc**: Trigger rn package release ([34e076b](34e076b)) * **misc**: Update New Google AI Studio icon (resolved, closes [#143](#143) ([24fb935](24fb935)) * **misc**: Upgrade react-layout-kit, closes [#144](#144) ([5d11776](5d11776)) </details> <div align="right"> [](#readme-top) </div>
🎉 This PR is included in version 1.58.0 🎉 The release is available on npm package (@latest dist-tag) Your semantic-release bot 📦🚀 |
## [Version 1.57.0](https://github.com/lobehub/lobe-icons/compare/@lobehub/icons-static-webp@1.56.1...@lobehub/icons-static-webp@1.57.0) <sup>Released on **2025-07-29**</sup> #### ✨ Features - **auto**: Auto build static icons. - **misc**: Add Kolors, make lobe icons support react native platform, support 'wanx' model icon. #### 🐛 Bug Fixes - **RN**: Model Tag component. - **misc**: Add missing CogView model config, Build script, Ci build error. #### 💄 Styles - **rn**: ModelConfig update, Update peer deps & docs, Update react-native deps & docs. - **misc**: Support some T2I model icons, Trigger rn package release, Update New Google AI Studio icon (resolved, upgrade react-layout-kit. <br/> <details> <summary><kbd>Improvements and Fixes</kbd></summary> #### What's improved * **auto**: Auto build static icons ([91c05dd](91c05dd)) * **misc**: Add Kolors ([41b7d1c](41b7d1c)) * **misc**: Make lobe icons support react native platform, closes [#141](#141) ([8fcd922](8fcd922)) * **misc**: Support 'wanx' model icon ([4db15a8](4db15a8)) #### What's fixed * **RN**: Model Tag component ([8c88ecf](8c88ecf)) * **misc**: Add missing CogView model config ([964fd07](964fd07)) * **misc**: Build script, closes [#145](#145) ([fc8f06c](fc8f06c)) * **misc**: Ci build error, closes [#146](#146) ([0c1c04d](0c1c04d)) #### Styles * **rn**: ModelConfig update ([74b34e8](74b34e8)) * **rn**: Update peer deps & docs ([d479f7d](d479f7d)) * **rn**: Update react-native deps & docs ([553aad5](553aad5)) * **misc**: Support some T2I model icons, closes [#147](#147) ([4956a2b](4956a2b)) * **misc**: Trigger rn package release ([34e076b](34e076b)) * **misc**: Update New Google AI Studio icon (resolved, closes [#143](#143) ([24fb935](24fb935)) * **misc**: Upgrade react-layout-kit, closes [#144](#144) ([5d11776](5d11776)) </details> <div align="right"> [](#readme-top) </div>
🎉 This PR is included in version 1.57.0 🎉 The release is available on npm package (@latest dist-tag) Your semantic-release bot 📦🚀 |
💻 变更类型 | Change Type
🔀 变更说明 | Description of Change
wan2.2
系列 T2I 模型图标的支持image-01
系列 T2I 模型图标的支持irag
系列 T2I 模型图标的支持📝 补充信息 | Additional Information
Summary by Sourcery
Add support for additional T2I model icons
New Features: