MetaGPT icon indicating copy to clipboard operation
MetaGPT copied to clipboard

Adding Unify AI Support

Open paras55 opened this issue 1 year ago • 3 comments

Features

  • Adding Unify AI for using all the AI Models with 1 API key

Feature Docs

Influence

Result

Other

paras55 avatar Aug 12 '24 09:08 paras55

:warning: Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

Attention: Patch coverage is 1.49254% with 66 lines in your changes missing coverage. Please review.

Project coverage is 62.35%. Comparing base (ab846f6) to head (25bcaa2).

Files Patch % Lines
metagpt/provider/unify.py 0.00% 66 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1446      +/-   ##
==========================================
- Coverage   62.59%   62.35%   -0.24%     
==========================================
  Files         287      288       +1     
  Lines       17589    17656      +67     
==========================================
+ Hits        11009    11010       +1     
- Misses       6580     6646      +66     

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

codecov-commenter avatar Aug 12 '24 09:08 codecov-commenter

@geekan, Can you please approve this PR? I added support for Unify AI, with the help of which MetaGPT users will now be able to use all open-source and closed-source LLM Models with just one API key.

paras55 avatar Aug 23 '24 09:08 paras55

So is it a similar component to oneapi? I don't see the need to write another class independent of OpenAI. It seems that directly registering an LLMType is enough?

geekan avatar Oct 20 '24 06:10 geekan