-
-
Notifications
You must be signed in to change notification settings - Fork 10.6k
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
🐛 fix: fix issues for client fetch #2753
Conversation
@cy948 is attempting to deploy a commit to the LobeHub Team on Vercel. A member of the Team first needs to authorize it. |
👍 @cy948 Thank you for raising your pull request and contributing to our Community |
src/app/(main)/settings/llm/components/ProviderConfig/index.tsx
Outdated
Show resolved
Hide resolved
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #2753 +/- ##
==========================================
+ Coverage 94.10% 94.11% +0.01%
==========================================
Files 359 359
Lines 20921 20953 +32
Branches 1595 2495 +900
==========================================
+ Hits 19687 19720 +33
+ Misses 1234 1233 -1 ☔ View full report in Codecov by Sentry. |
看上去补完单测了?蹲一个合并 @arvinxx |
Looks like you have completed the single test? Squat a merge @arvinxx |
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
❤️ Great PR @cy948 ❤️ 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. |
### [Version 0.162.25](v0.162.24...v0.162.25) <sup>Released on **2024-06-16**</sup> #### 🐛 Bug Fixes - **misc**: Fix issues for client fetch. <br/> <details> <summary><kbd>Improvements and Fixes</kbd></summary> #### What's fixed * **misc**: Fix issues for client fetch, closes [#2753](#2753) ([6f5be5d](6f5be5d)) </details> <div align="right"> [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top) </div>
🎉 This PR is included in version 0.162.25 🎉 The release is available on: Your semantic-release bot 📦🚀 |
### [Version 1.42.19](v1.42.18...v1.42.19) <sup>Released on **2024-06-16**</sup> #### 🐛 Bug Fixes - **misc**: Fix issues for client fetch. <br/> <details> <summary><kbd>Improvements and Fixes</kbd></summary> #### What's fixed * **misc**: Fix issues for client fetch, closes [lobehub#2753](https://github.com/bentwnghk/lobe-chat/issues/2753) ([6f5be5d](6f5be5d)) </details> <div align="right"> [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top) </div>
* 🚸 feat: improve UX for clientfetch * 🚨 fix: circular dependence * 💡 docs: update comments * ✅ test: client fetch enabled * ✅ test: client fetch * ?? fix: wrong condition * ✅ test: update tests * 🐛 fix: wrong selector * ♻️ refactor: modify vaults selectors * ⏪ revert: style changed * ⏪ revert: cancel style fix * 🧪 test: isProviderEndpointNotEmpty * 🧪 test: isProviderApiKeyNotEmpty * ✅ test: isProviderEndpointNotEmpty * ♻️ refactor: endpoint for aws bedrock --------- Co-authored-by: Arvin Xu <[email protected]>
### [Version 0.162.25](lobehub/lobe-chat@v0.162.24...v0.162.25) <sup>Released on **2024-06-16**</sup> #### 🐛 Bug Fixes - **misc**: Fix issues for client fetch. <br/> <details> <summary><kbd>Improvements and Fixes</kbd></summary> #### What's fixed * **misc**: Fix issues for client fetch, closes [lobehub#2753](lobehub#2753) ([6f5be5d](lobehub@6f5be5d)) </details> <div align="right"> [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top) </div>
💻 变更类型 | Change Type
🔀 变更说明 | Description of Change
src/app/(main)/settings/llm/components/ProviderConfig/index.tsx
: 更改了“客户端请求”功能开关src/store/user/slices/modelList/selectors/keyVaults.ts
: 增加与 apikey 相关的 selectorsrc/store/user/slices/modelList/selectors/modelConfig.ts
: 更改了启用“客户端请求的”规则src/store/user/slices/modelList/selectors/modelConfig.test.ts
: 测试是否符合启用“客户端请求的”规则=== 06/08/2024 ===
src/store/user/slices/modelList/selectors/keyVaults.ts
: 更改了 apikey, enpoint selector 的判定,针对 Auzre 及 AWS 做了特殊处理;=== 06/12/2024 ===
src/store/user/slices/modelList/selectors/keyVaults.test.ts
: 为 isProviderApiKeyNotEmpty 和 isProviderEndpointNotEmpty 补充单测;src/store/user/slices/modelList/selectors/modelConfig.ts
: 对于 AWSBedrock,isProviderEndpointNotEmpty
在任何时候都为false
;📝 补充信息 | Additional Information