-
-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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: add Mistral model support in Bedrock #3810
base: main
Are you sure you want to change the base?
Conversation
@hezhijie0327 is attempting to deploy a commit to the LobeHub Pro Team on Vercel. A member of the Team first needs to authorize it. |
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 #3810 +/- ##
==========================================
- Coverage 91.78% 91.67% -0.12%
==========================================
Files 453 456 +3
Lines 30201 30592 +391
Branches 2084 2124 +40
==========================================
+ Hits 27719 28044 +325
- Misses 2482 2548 +66
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
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.
stream 的部分需要补单测,不加的话基本上过段时间就看不懂了。
参考 https://github.com/hezhijie0327/lobe-chat/blob/bedrock_mistral/src/libs/agent-runtime/utils/streams/openai.test.ts ,加一个基础的 text 和一个 tools 的
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.
加上了
💻 变更类型 | Change Type
🔀 变更说明 | Description of Change
mistral.mistral-small-2402-v1:0
,mistral.mistral-large-2402-v1:0
,mistral.mistral-large-2407-v1:0
) 模型的对话支持TODO: 待已支持tools_call
Note:
mistral.mistral-large-2407-v1:0
仅在us-west-2
可用📝 补充信息 | Additional Information