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

Fix GitHub model fetch #4645

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

BrandonStudio
Copy link
Contributor

Refactor OpenAICompatibleFactory

💻 变更类型 | Change Type

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

🔀 变更说明 | Description of Change

  • Fix GitHub models method.
  • Refactor models parameter of OpenAICompatibleFactory.

📝 补充信息 | Additional Information

Fix #4547 (3/3).

This PR should not be merged before #4260.

Refactor OpenAICompatibleFactory
Copy link

vercel bot commented Nov 8, 2024

@BrandonStudio is attempting to deploy a commit to the LobeChat Community Team on Vercel.

A member of the Team first needs to authorize it.

@lobehubbot
Copy link
Member

👍 @BrandonStudio

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 Nov 8, 2024

Codecov Report

Attention: Patch coverage is 74.39024% with 21 lines in your changes missing coverage. Please review.

Project coverage is 92.50%. Comparing base (e1f6a3a) to head (3d0149e).
Report is 21 commits behind head on main.

Files with missing lines Patch % Lines
src/libs/agent-runtime/github/index.ts 58.82% 21 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4645      +/-   ##
==========================================
+ Coverage   92.48%   92.50%   +0.02%     
==========================================
  Files         511      517       +6     
  Lines       36614    36905     +291     
  Branches     3388     2447     -941     
==========================================
+ Hits        33862    34140     +278     
- Misses       2752     2765      +13     
Flag Coverage Δ
app 92.50% <74.39%> (+0.02%) ⬆️
server 97.26% <ø> (+<0.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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug] "Get Model List" clears out Github models
3 participants