MetaGPT icon indicating copy to clipboard operation
MetaGPT copied to clipboard

feat: dashscope llm supports Llama-3.1-*

Open jschyz opened this issue 1 year ago • 1 comments

Features

阿里云 灵积 DashScope API 支持 llama3.1-*-instruct 开源模型

llm:
  api_type: "dashscope"
  model: "llama3.1-405b-instruct" 
  api_key: "YOUR_API_KEY"

之前运行效果

image

提示 exp

exp: too many values to unpack (expected 11)

运行效果

image

Other

相关 Issue,感谢此大神 https://github.com/geekan/MetaGPT/issues/1367

jschyz avatar Jul 25 '24 03:07 jschyz

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

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 30.64%. Comparing base (c0abe17) to head (881a274).

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

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1411   +/-   ##
=======================================
  Coverage   30.64%   30.64%           
=======================================
  Files         320      320           
  Lines       19426    19426           
=======================================
  Hits         5954     5954           
  Misses      13472    13472           

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

codecov-commenter avatar Jul 25 '24 03:07 codecov-commenter

@jschyz 你好,有一些冲突需要解决

geekan avatar Oct 11 '24 09:10 geekan

@jschyz It has been fixed here(https://github.com/geekan/MetaGPT/blob/main/metagpt/provider/dashscope_api.py#L51-L52) with a dashscope newer version.

better629 avatar Oct 18 '24 23:10 better629

Since there is a better solution, this PR is closed.

geekan avatar Oct 20 '24 05:10 geekan