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 model provider ux #2439

Merged
merged 8 commits into from May 9, 2024
Merged

Conversation

arvinxx
Copy link
Contributor

@arvinxx arvinxx commented May 9, 2024

Copy link

vercel bot commented May 9, 2024

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

Name Status Preview Comments Updated (UTC)
lobe-chat-community ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 9, 2024 2:07pm

@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.
非常感谢您提出拉取请求并为我们的社区做出贡献,请确保您已经遵循了我们的贡献指南,我们会尽快审查它。
如果您遇到任何问题,请随时与我们联系。

Copy link

codecov bot commented May 9, 2024

Codecov Report

Attention: Patch coverage is 92.18750% with 10 lines in your changes are missing coverage. Please review.

Project coverage is 92.81%. Comparing base (425bdcb) to head (30bbe61).

❗ Current head 30bbe61 differs from pull request most recent head 156cf5f. Consider uploading reports for the commit 156cf5f to get more accurate results

Files Patch % Lines
src/libs/agent-runtime/anthropic/index.ts 75.00% 7 Missing ⚠️
...ent-runtime/utils/openaiCompatibleFactory/index.ts 75.00% 3 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2439      +/-   ##
==========================================
- Coverage   92.88%   92.81%   -0.07%     
==========================================
  Files         302      302              
  Lines       17643    17613      -30     
  Branches     2034     2030       -4     
==========================================
- Hits        16388    16348      -40     
- Misses       1255     1265      +10     

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

@arvinxx arvinxx changed the title 💄 style: improve model provider 💄 style: improve model provider ux May 9, 2024
@arvinxx arvinxx marked this pull request as ready for review May 9, 2024 14:02
@arvinxx arvinxx merged commit 0deb079 into main May 9, 2024
8 checks passed
@arvinxx arvinxx deleted the style/improve-model-provider branch May 9, 2024 14:11
@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 May 9, 2024
## [Version 0.156.0](v0.155.9...v0.156.0)
<sup>Released on **2024-05-09**</sup>

#### ♻ Code Refactoring

- **misc**: Refactor to improve provider locale.

#### ✨ Features

- **misc**: Support perplexity proxy url.

#### 🐛 Bug Fixes

- **misc**: Fix anthropic messages need pairs, fix parameter conditions for perplexity, fix Perplexity duplicate token.

#### 💄 Styles

- **misc**: Improve groq location error, improve location error, improve model provider ux, support groq proxy url.

<br/>

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

#### Code refactoring

* **misc**: Refactor to improve provider locale ([538b7bc](538b7bc))

#### What's improved

* **misc**: Support perplexity proxy url ([30bbe61](30bbe61))

#### What's fixed

* **misc**: Fix anthropic messages need pairs ([0e01db0](0e01db0))
* **misc**: Fix parameter conditions for perplexity ([156cf5f](156cf5f))
* **misc**: Fix Perplexity duplicate token ([6695c4b](6695c4b))

#### Styles

* **misc**: Improve groq location error ([023c21b](023c21b))
* **misc**: Improve location error ([862c0ae](862c0ae))
* **misc**: Improve model provider ux, closes [#2439](#2439) ([0deb079](0deb079))
* **misc**: Support groq proxy url ([ba1ba2a](ba1ba2a))

</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 0.156.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 May 9, 2024
## [Version&nbsp;1.36.0](v1.35.4...v1.36.0)
<sup>Released on **2024-05-09**</sup>

#### ♻ Code Refactoring

- **misc**: Refactor to improve provider locale.

#### ✨ Features

- **misc**: Support perplexity proxy url.

#### 🐛 Bug Fixes

- **misc**: Fix anthropic messages need pairs, fix parameter conditions for perplexity, fix Perplexity duplicate token.

#### 💄 Styles

- **misc**: Improve groq location error, improve location error, improve model provider ux, support groq proxy url.

<br/>

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

#### Code refactoring

* **misc**: Refactor to improve provider locale ([538b7bc](538b7bc))

#### What's improved

* **misc**: Support perplexity proxy url ([30bbe61](30bbe61))

#### What's fixed

* **misc**: Fix anthropic messages need pairs ([0e01db0](0e01db0))
* **misc**: Fix parameter conditions for perplexity ([156cf5f](156cf5f))
* **misc**: Fix Perplexity duplicate token ([6695c4b](6695c4b))

#### Styles

* **misc**: Improve groq location error ([023c21b](023c21b))
* **misc**: Improve location error ([862c0ae](862c0ae))
* **misc**: Improve model provider ux, closes [lobehub#2439](https://github.com/bentwnghk/lobe-chat/issues/2439) ([0deb079](0deb079))
* **misc**: Support groq proxy url ([ba1ba2a](ba1ba2a))

</details>

<div align="right">

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

</div>
TheNameIsNigel pushed a commit to TheNameIsNigel/lobe-chat that referenced this pull request May 15, 2024
## [Version&nbsp;0.156.0](lobehub/lobe-chat@v0.155.9...v0.156.0)
<sup>Released on **2024-05-09**</sup>

#### ♻ Code Refactoring

- **misc**: Refactor to improve provider locale.

#### ✨ Features

- **misc**: Support perplexity proxy url.

#### 🐛 Bug Fixes

- **misc**: Fix anthropic messages need pairs, fix parameter conditions for perplexity, fix Perplexity duplicate token.

#### 💄 Styles

- **misc**: Improve groq location error, improve location error, improve model provider ux, support groq proxy url.

<br/>

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

#### Code refactoring

* **misc**: Refactor to improve provider locale ([538b7bc](lobehub@538b7bc))

#### What's improved

* **misc**: Support perplexity proxy url ([30bbe61](lobehub@30bbe61))

#### What's fixed

* **misc**: Fix anthropic messages need pairs ([0e01db0](lobehub@0e01db0))
* **misc**: Fix parameter conditions for perplexity ([156cf5f](lobehub@156cf5f))
* **misc**: Fix Perplexity duplicate token ([6695c4b](lobehub@6695c4b))

#### Styles

* **misc**: Improve groq location error ([023c21b](lobehub@023c21b))
* **misc**: Improve location error ([862c0ae](lobehub@862c0ae))
* **misc**: Improve model provider ux, closes [lobehub#2439](lobehub#2439) ([0deb079](lobehub@0deb079))
* **misc**: Support groq proxy url ([ba1ba2a](lobehub@ba1ba2a))

</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