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

2024-05-16 519 views
2

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

回答

8

adds websocket to requirements.txt

9

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'

0

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

0

Good job

9

LGTM

6

LGTM