[geekan/MetaGPT]添加llm来源spark_api。

2024-05-16 26 views
4

由于spark_api没有官方类,所以需要额外的一个文件。

回答

0

adds websocket to requirements.txt

8

can't run?: File "/Users/femtozheng/python-project/MetaGPT/metagpt/roles/product_manager.py", line 40, in init self._init_actions([WritePRD]) File "/Users/femtozheng/python-project/MetaGPT/metagpt/roles/role.py", line 112, in _init_actions i = action("") File "/Users/femtozheng/python-project/MetaGPT/metagpt/actions/write_prd.py", line 223, in init super().init(name, context, llm) File "/Users/femtozheng/python-project/MetaGPT/metagpt/actions/action.py", line 25, in init llm=LLM.DEFAULT_LLM AttributeError: type object 'OpenAIGPTAPI' has no attribute 'DEFAULT_LLM'

6

后续可以在每次提交时的commit,写更有明确修改点的文字,便于后续自己查看和回溯。

6

Good job

2

LGTM

9

LGTM