Guess

Results 142 comments of Guess

1. You can register your tool api through `TOOL_REGISTRY.register_tool`. ```python def register_tool(tags: list[str] = None, schema_path: str = "", **kwargs): """register a tool to registry""" def decorator(cls): # Get the...

git是用来管理MetaGPT开发的软件的版本的。 MetaGPT本身支持增量追加需求,为了方便开发者拉分支、回滚等,所以增加了git,用来管理软件的版本。 你在控制台终端里输入`git`有提示吗?

Most of dependencies of metagpt have a specified version. And `multidict` is not a direct dependency of MetaGPT; rather, it should be a dependency of one of MetaGPT's dependencies. I...

It's blocked by gemini: ``` [category: HARM_CATEGORY_SEXUALLY_EXPLICIT probability: NEGLIGIBLE , category: HARM_CATEGORY_HATE_SPEECH probability: NEGLIGIBLE , category: HARM_CATEGORY_HARASSMENT probability: NEGLIGIBLE , category: HARM_CATEGORY_DANGEROUS_CONTENT probability: NEGLIGIBLE ] ``` hahahaha~~

I'll add some codes to throw a `ValueError` exception when gemini blocked the chat, in order to notify the external user.

I have added some logs and a `BlockedPromptException` exception: ```python async def _achat_completion_stream(self, messages: list[dict], timeout: int = USE_CONFIG_TIMEOUT) -> str: resp: AsyncGenerateContentResponse = await self.llm.generate_content_async( **self._const_kwargs(messages, stream=True) ) collected_content...

This issue is caused by the invalid response from LLM. MetaGPT had tried to repair the invalid response but failed. What is the LLM?

Which version is MetaGPT? This value should be assigned when `PrepareDocuments` action is running:

Using git commands like these? ```bash git clone https://github.com/geekan/MetaGPT.git cd ./MetaGPT pip install -e . ``` https://docs.deepwisdom.ai/main/en/guide/get_started/installation.html#install-in-development-mode

Could you please provide the error logs from the `logs` folder? I noticed that only INFO-level logs are present in your screenshot.