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

โœจ feat: support model-level search for Google/Qwen #6420

Merged
merged 11 commits into from
Feb 23, 2025

Conversation

arvinxx
Copy link
Contributor

@arvinxx arvinxx commented Feb 22, 2025

๐Ÿ’ป ๅ˜ๆ›ด็ฑปๅž‹ | Change Type

  • โœจ feat
  • ๐Ÿ› fix
  • โ™ป๏ธ refactor
  • ๐Ÿ’„ style
  • ๐Ÿ‘ท build
  • โšก๏ธ perf
  • ๐Ÿ“ docs
  • ๐Ÿ”จ chore

๐Ÿ”€ ๅ˜ๆ›ด่ฏดๆ˜Ž | Description of Change

image Google Chrome 2025-02-23 18 21 48

๐Ÿ“ ่กฅๅ……ไฟกๆฏ | Additional Information

@dosubot dosubot bot added the size:L This PR changes 100-499 lines, ignoring generated files. label Feb 22, 2025
Copy link

vercel bot commented Feb 22, 2025

The latest updates on your projects. Learn more about Vercel for Git โ†—๏ธŽ

Name Status Preview Comments Updated (UTC)
lobe-chat-database โœ… Ready (Inspect) Visit Preview Feb 23, 2025 4:24pm
lobe-chat-desktop โœ… Ready (Inspect) Visit Preview ๐Ÿ’ฌ Add feedback Feb 23, 2025 4:24pm
lobe-chat-preview โœ… Ready (Inspect) Visit Preview ๐Ÿ’ฌ Add feedback Feb 23, 2025 4:24pm

@lobehubbot
Copy link
Member

๐Ÿ‘ @arvinxx

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.
้žๅธธๆ„Ÿ่ฐขๆ‚จๆๅ‡บๆ‹‰ๅ–่ฏทๆฑ‚ๅนถไธบๆˆ‘ไปฌ็š„็คพๅŒบๅšๅ‡บ่ดก็Œฎ๏ผŒ่ฏท็กฎไฟๆ‚จๅทฒ็ป้ตๅพชไบ†ๆˆ‘ไปฌ็š„่ดก็ŒฎๆŒ‡ๅ—๏ผŒๆˆ‘ไปฌไผšๅฐฝๅฟซๅฎกๆŸฅๅฎƒใ€‚
ๅฆ‚ๆžœๆ‚จ้‡ๅˆฐไปปไฝ•้—ฎ้ข˜๏ผŒ่ฏท้šๆ—ถไธŽๆˆ‘ไปฌ่”็ณปใ€‚

@arvinxx arvinxx changed the title support extendControls frontend โœจ feat: support search for qwen/google Feb 22, 2025
@arvinxx arvinxx marked this pull request as draft February 22, 2025 15:34
Copy link

codecov bot commented Feb 22, 2025

Codecov Report

Attention: Patch coverage is 75.34562% with 107 lines in your changes missing coverage. Please review.

Project coverage is 91.48%. Comparing base (4485171) to head (817d684).
Report is 8 commits behind head on main.

Files with missing lines Patch % Lines
src/libs/agent-runtime/qwen/index.ts 36.84% 24 Missing โš ๏ธ
src/libs/agent-runtime/utils/streams/google-ai.ts 27.58% 21 Missing โš ๏ธ
src/store/aiInfra/slices/aiModel/selectors.ts 41.66% 21 Missing โš ๏ธ
src/libs/agent-runtime/google/index.ts 34.61% 17 Missing โš ๏ธ
...store/chat/slices/aiChat/actions/generateAIChat.ts 20.00% 12 Missing โš ๏ธ
src/store/aiInfra/slices/aiProvider/selectors.ts 42.85% 8 Missing โš ๏ธ
src/services/chat.ts 80.00% 2 Missing โš ๏ธ
src/utils/fetch/fetchSSE.ts 81.81% 2 Missing โš ๏ธ
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #6420      +/-   ##
==========================================
- Coverage   91.57%   91.48%   -0.10%     
==========================================
  Files         688      689       +1     
  Lines       63333    63564     +231     
  Branches     4386     2943    -1443     
==========================================
+ Hits        58000    58153     +153     
- Misses       5333     5411      +78     
Flag Coverage ฮ”
app 91.48% <75.34%> (-0.10%) โฌ‡๏ธ
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 arvinxx force-pushed the feat/search-for-models branch from 774f704 to 7d905f3 Compare February 23, 2025 12:03
@arvinxx arvinxx changed the title โœจ feat: support model-level search for Qwen/Google/OpenRouter โœจ feat: support model-level search for Qwen/Google Feb 23, 2025
@arvinxx arvinxx marked this pull request as ready for review February 23, 2025 15:49
@dosubot dosubot bot added size:XL This PR changes 500-999 lines, ignoring generated files. Model Provider ๆจกๅž‹ๆœๅŠกๅ•† ๐ŸŒ  Feature Request New feature or request | ็‰นๆ€งไธŽๅปบ่ฎฎ and removed size:L This PR changes 100-499 lines, ignoring generated files. labels Feb 23, 2025
@arvinxx arvinxx changed the title โœจ feat: support model-level search for Qwen/Google โœจ feat: support model-level search forGoogle/Qwen Feb 23, 2025
@arvinxx arvinxx changed the title โœจ feat: support model-level search forGoogle/Qwen โœจ feat: support model-level search for Google/Qwen Feb 23, 2025
@arvinxx arvinxx merged commit f1b97cd into main Feb 23, 2025
12 of 15 checks passed
@arvinxx arvinxx deleted the feat/search-for-models branch February 23, 2025 16:10
@lobehubbot
Copy link
Member

โค๏ธ Great PR @arvinxx โค๏ธ

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 Feb 23, 2025
## [Version&nbsp;1.63.0](v1.62.11...v1.63.0)
<sup>Released on **2025-02-23**</sup>

#### โœจ Features

- **misc**: Support model-level search for Google/Qwen.

#### ๐Ÿ’„ Styles

- **misc**: Update many models info.

<br/>

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

#### What's improved

* **misc**: Support model-level search for Google/Qwen, closes [#6420](#6420) ([f1b97cd](f1b97cd))

#### Styles

* **misc**: Update many models info, closes [#6205](#6205) ([c477588](c477588))

</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.63.0 ๐ŸŽ‰

The release is available on:

Your semantic-release bot ๐Ÿ“ฆ๐Ÿš€

github-actions bot pushed a commit to bentwnghk/lobe-chat that referenced this pull request Feb 24, 2025
## [Version&nbsp;1.104.0](v1.103.6...v1.104.0)
<sup>Released on **2025-02-24**</sup>

#### โœจ Features

- **misc**: Support model-level search for Google/Qwen.

#### ๐Ÿ› Bug Fixes

- **misc**: Fix groq location request.

#### ๐Ÿ’„ Styles

- **misc**: Improve plugin calling style, Update many models info.

<br/>

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

#### What's improved

* **misc**: Support model-level search for Google/Qwen, closes [lobehub#6420](https://github.com/bentwnghk/lobe-chat/issues/6420) ([f1b97cd](f1b97cd))

#### What's fixed

* **misc**: Fix groq location request, closes [lobehub#6449](https://github.com/bentwnghk/lobe-chat/issues/6449) ([8c8af6b](8c8af6b))

#### Styles

* **misc**: Improve plugin calling style, closes [lobehub#6446](https://github.com/bentwnghk/lobe-chat/issues/6446) ([406cd46](406cd46))
* **misc**: Update many models info, closes [lobehub#6205](https://github.com/bentwnghk/lobe-chat/issues/6205) ([c477588](c477588))

</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
๐ŸŒ  Feature Request New feature or request | ็‰นๆ€งไธŽๅปบ่ฎฎ Model Provider ๆจกๅž‹ๆœๅŠกๅ•† released size:XL This PR changes 500-999 lines, ignoring generated files.
Projects
None yet
2 participants