-
-
Notifications
You must be signed in to change notification settings - Fork 11.2k
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: add ModelFetcher
for supported provider
#5316
base: main
Are you sure you want to change the base?
Conversation
@hezhijie0327 is attempting to deploy a commit to the LobeHub Team on Vercel. A member of the Team first needs to authorize it. |
๐ @hezhijie0327 Thank you for raising your pull request and contributing to our Community |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #5316 +/- ##
==========================================
- Coverage 92.59% 92.15% -0.45%
==========================================
Files 642 642
Lines 56124 56824 +700
Branches 2693 4243 +1550
==========================================
+ Hits 51966 52364 +398
- Misses 4158 4460 +302
Flags with carried forward coverage won't be shown. Click here to find out more. โ View full report in Codecov by Sentry. |
Wait until #5158 is merged before submitting a PR. PRs for existing provider changes will no longer be accepted in the near future. Will mention it again after #5158 is merged~ |
This reverts commit 049662d.
@arvinxx ๆน้ ๅฅฝไบ๏ผ็่ฎบไธๆๆ่ฝ้้ ็๏ผ้ฝๆฏๆ่ชๅจ่ทๅๆจกๅๅ่กจไบ๏ฝ |
@arvinxx The transformation has been completed. In theory, everything that can be adapted supports automatically obtaining the model list~ |
The latest updates on your projects. Learn more about Vercel for Git โ๏ธ
|
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.
LOBE_DEFAULT_MODEL_LIST
้่ฆไป aiModels ๅผๅ
ฅ๏ผๅ็ปญ modelProviders ้็่ฟไธชๅ้ไผ่ขซๅ ้ค
ๅ
จ้จๅๆขๅฐ |
All switched to |
@@ -3,7 +3,7 @@ import utc from 'dayjs/plugin/utc'; | |||
import OpenAI, { ClientOptions } from 'openai'; | |||
import { Stream } from 'openai/streaming'; | |||
|
|||
import { LOBE_DEFAULT_MODEL_LIST } from '@/config/modelProviders'; |
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.
่ฟ้ๅ ไธๆน๏ผ้่ฆๅ ผๅฎนๅๆๅฎ็ฐ๏ผ็ญV2ๅๆน
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.
ๅทฒๅ้
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.
ๅๆไฝฟ็จ LOBE_DEFAULT_MODEL_LIST ็ๅฐๆน้่ฆไฟๆ็ฐ็ถ๏ผ็จไปฅๅ ผๅฎนๆง็ๅฎ็ฐใๆๆๆฐๅข้ฝ่ตฐ aiModels
ๅฅฝไบ๏ผๅทฒๅ้ |
OK, rolled back |
* Update moonshot.ts * Update index.ts * Update moonshot.ts
๐ป ๅๆด็ฑปๅ | Change Type
๐ ๅๆด่ฏดๆ | Description of Change
v1/models
ๆ่ชๅฎไน Endpoint ่ทๅๆจกๅๅ่กจ็ๆไพๅshowModelFetcher
aiModels
MiniMax-Text-01
ๆจกๅ MiniMax-Text-01moonshot-v1-8k-vision-preview
่ง่งๆจกๅ๏ผๅนถ้้ vision
ๆ ็ญพ ไฝฟ็จ Kimi ่ง่งๆจกๅ๏ผVision๏ผ๐ ่กฅๅ ไฟกๆฏ | Additional Information