Skip to content
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

💄 style: improve openrouter models info #6708

Merged
merged 7 commits into from
Mar 5, 2025

Conversation

Aloxaf
Copy link
Contributor

@Aloxaf Aloxaf commented Mar 5, 2025

💻 变更类型 | Change Type

  • ✨ feat
  • 🐛 fix
  • ♻️ refactor
  • 💄 style
  • 👷 build
  • ⚡️ perf
  • 📝 docs
  • 🔨 chore

🔀 变更说明 | Description of Change

补充 OpenRouter 模型信息中缺少的字段

📝 补充信息 | Additional Information

图片

Copy link

vercel bot commented Mar 5, 2025

@Aloxaf is attempting to deploy a commit to the LobeChat Desktop Team on Vercel.

A member of the Team first needs to authorize it.

@dosubot dosubot bot added the size:S This PR changes 10-29 lines, ignoring generated files. label Mar 5, 2025
@lobehubbot
Copy link
Member

👍 @Aloxaf

Thank you for raising your pull request and contributing to our Community
Please make sure you have followed our contributing guidelines. We will review it as soon as possible.
If you encounter any problems, please feel free to connect with us.
非常感谢您提出拉取请求并为我们的社区做出贡献,请确保您已经遵循了我们的贡献指南,我们会尽快审查它。
如果您遇到任何问题,请随时与我们联系。

@dosubot dosubot bot added the 🐛 Bug Something isn't working | 缺陷 label Mar 5, 2025
@arvinxx arvinxx changed the title fix: openrouter models info 💄 style: improve openrouter models info Mar 5, 2025
Copy link

vercel bot commented Mar 5, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
lobe-chat-preview ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 5, 2025 3:21pm

Copy link

codecov bot commented Mar 5, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 91.23%. Comparing base (ccb56cd) to head (c22be6a).
Report is 17 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #6708      +/-   ##
==========================================
- Coverage   91.61%   91.23%   -0.39%     
==========================================
  Files         716      721       +5     
  Lines       67242    67652     +410     
  Branches     4721     4690      -31     
==========================================
+ Hits        61607    61725     +118     
- Misses       5635     5927     +292     
Flag Coverage Δ
app 91.23% <100.00%> (-0.39%) ⬇️
server 97.57% <100.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@arvinxx
Copy link
Contributor

arvinxx commented Mar 5, 2025

@Aloxaf 单测挂了,需要更新下快照 npm run test:update

@lobehubbot
Copy link
Member

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


@Aloxaf Single test failed, need to update the snapshot npm run test:update

@dosubot dosubot bot added size:M This PR changes 30-99 lines, ignoring generated files. and removed size:S This PR changes 10-29 lines, ignoring generated files. labels Mar 5, 2025
@Aloxaf
Copy link
Contributor Author

Aloxaf commented Mar 5, 2025

@arvinxx 已更新快照。
顺便再次改进了代码,从 https://openrouter.ai/api/frontend/models 获取更准确的模型信息。请 review。

@lobehubbot
Copy link
Member

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


@arvinxx Snapshot updated.
By the way, the code was improved again to get more accurate model information from https://openrouter.ai/api/frontend/models. Please review.

@arvinxx arvinxx merged commit 5693e68 into lobehub:main Mar 5, 2025
12 of 15 checks passed
@lobehubbot
Copy link
Member

❤️ Great PR @Aloxaf ❤️

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.
项目的成长离不开用户反馈和贡献,感谢您的贡献! 如果您对 LobeHub 开发者社区感兴趣,请加入我们的 discord,然后私信 @arvinxx@canisminor1990。他们会邀请您加入我们的私密开发者频道。我们将会讨论关于 Lobe Chat 的开发,分享和讨论全球范围内的 AI 消息。

github-actions bot pushed a commit that referenced this pull request Mar 5, 2025
### [Version&nbsp;1.68.8](v1.68.7...v1.68.8)
<sup>Released on **2025-03-05**</sup>

#### 💄 Styles

- **misc**: Improve openrouter models info.

<br/>

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

#### Styles

* **misc**: Improve openrouter models info, closes [#6708](#6708) ([5693e68](5693e68))

</details>

<div align="right">

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

</div>
@lobehubbot
Copy link
Member

🎉 This PR is included in version 1.68.8 🎉

The release is available on:

Your semantic-release bot 📦🚀

github-actions bot pushed a commit to bentwnghk/lobe-chat that referenced this pull request Mar 6, 2025
### [Version&nbsp;1.109.3](v1.109.2...v1.109.3)
<sup>Released on **2025-03-06**</sup>

#### 💄 Styles

- **misc**: Add epub file chunk split support, improve openrouter models info.

<br/>

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

#### Styles

* **misc**: Add epub file chunk split support, closes [lobehub#6317](https://github.com/bentwnghk/lobe-chat/issues/6317) ([a79ab7a](a79ab7a))
* **misc**: Improve openrouter models info, closes [lobehub#6708](https://github.com/bentwnghk/lobe-chat/issues/6708) ([5693e68](5693e68))

</details>

<div align="right">

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

</div>
github-actions bot pushed a commit to jaworldwideorg/OneJA-Bot that referenced this pull request Mar 6, 2025
### [Version&nbsp;1.16.7](v1.16.6...v1.16.7)
<sup>Released on **2025-03-06**</sup>

#### 💄 Styles

- **misc**: Add epub file chunk split support, improve openrouter models info.

<br/>

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

#### Styles

* **misc**: Add epub file chunk split support, closes [lobehub#6317](https://github.com/jaworldwideorg/OneJA-Bot/issues/6317) ([a79ab7a](a79ab7a))
* **misc**: Improve openrouter models info, closes [lobehub#6708](https://github.com/jaworldwideorg/OneJA-Bot/issues/6708) ([5693e68](5693e68))

</details>

<div align="right">

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

</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 Bug Something isn't working | 缺陷 released size:M This PR changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants