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

♻️ refactor: refactor Minimax with LobeOpenAICompatibleFactory #5325

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

hezhijie0327
Copy link
Contributor

@hezhijie0327 hezhijie0327 commented Jan 7, 2025

💻 变更类型 | Change Type

  • ✨ feat
  • 🐛 fix
  • ♻️ refactor
  • 💄 style
  • 👷 build
  • ⚡️ perf
  • 📝 docs
  • 🔨 chore

🔀 变更说明 | Description of Change

  1. Minimax 切回 LobeOpenAICompatibleFactory
  2. 保留原有参数限制
  3. 更新价格及 abab7-chat-preview 模型
  4. abab6.5s abab7-chat-preview 添加 vision 标签
  5. 添加 maxOutput 参数,引入 getMinimaxMaxOutputs 函数控制 max_tokens
  6. 更新 aiModels
功能 截图
对话 image
工具调用 image
多模态 image
长文本 image

📝 补充信息 | Additional Information

参数 引用
OpenAI SDK image
多模态参数 image
max_tokens 参数 image

Copy link

vercel bot commented Jan 7, 2025

@hezhijie0327 is attempting to deploy a commit to the LobeHub Team on Vercel.

A member of the Team first needs to authorize it.

@lobehubbot
Copy link
Member

👍 @hezhijie0327

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 Jan 7, 2025

Codecov Report

Attention: Patch coverage is 74.11765% with 22 lines in your changes missing coverage. Please review.

Project coverage is 91.70%. Comparing base (bde6d64) to head (4aed3ab).
Report is 2 commits behind head on main.

Files with missing lines Patch % Lines
src/libs/agent-runtime/minimax/index.ts 43.58% 22 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #5325      +/-   ##
==========================================
- Coverage   91.73%   91.70%   -0.03%     
==========================================
  Files         591      589       -2     
  Lines       46027    45865     -162     
  Branches     2833     4136    +1303     
==========================================
- Hits        42221    42061     -160     
+ Misses       3806     3804       -2     
Flag Coverage Δ
app 91.70% <74.11%> (-0.03%) ⬇️
server 98.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.

@hezhijie0327 hezhijie0327 marked this pull request as ready for review January 7, 2025 17:13
@dosubot dosubot bot added the size:XL This PR changes 500-999 lines, ignoring generated files. label Jan 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size:XL This PR changes 500-999 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants