接入Amazon Bedrock API失败
AWS的Claude API不包含在官方文档内,如何接入?
** config2.yaml: llm: api_type: 'bedrock' model: 'anthropic.claude-3-opus-20240229-v1:0:48k' region_name: 'us-west-2' # e.g. us-east-1
报错 ValidationError: 1 validation error for Config llm.api_type Input should be 'openai', 'anthropic', 'claude', 'spark', 'zhipuai', 'fireworks', 'open_llm', 'gemini', 'metagpt', 'azure', 'ollama', 'qianfan', 'dashscope', 'moonshot', 'mistral' or 'yi' [type=enum, input_value='bedrock', input_type=str]
可是样例里不是有bedrock吗
**
根据
Input should be 'openai', 'anthropic', 'claude', 'spark', 'zhipuai',
'fireworks', 'open_llm', 'gemini', 'metagpt', 'azure', 'ollama', 'qianfan',
'dashscope', 'moonshot', 'mistral' or 'yi' [type=enum, input_value='bedrock',
input_type=str]
应该是版本问题,先前版本还没有更新bedrock,可以尝试更新到最新版本的MetaGPT
尝试更新到最新版本的MetaGPT
我是直接拉最新镜像的,这样不属于最新版本吗?
尝试更新到最新版本的MetaGPT
我是直接拉最新镜像的,这样不属于最新版本吗?
目前的镜像对应的是最新的Release版本,也就是4月末的,bedrock那时候还没被支持
尝试更新到最新版本的MetaGPT
我是直接拉最新镜像的,这样不属于最新版本吗?
直接 pip install git+https://github.com/geekan/MetaGPT.git 拉取最新的代码