You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
metagpt "Write a cli snake game"
2024-11-15 15:03:50.927 | INFO | metagpt.const:get_metagpt_package_root:21 - Package root set to /app/metagpt
2024-11-15 15:03:55.243 | INFO | metagpt.team:invest:93 - Investment: $3.0.
2024-11-15 15:03:55.246 | INFO | metagpt.roles.role:_act:403 - Alice(Product Manager): to do PrepareDocuments(PrepareDocuments)
2024-11-15 15:03:55.319 | INFO | metagpt.utils.file_repository:save:57 - save to: /app/metagpt/workspace/20241115150355/docs/requirement.txt
2024-11-15 15:03:55.321 | INFO | metagpt.roles.role:_act:403 - Alice(Product Manager): to do WritePRD(WritePRD)
2024-11-15 15:03:55.323 | INFO | metagpt.actions.write_prd:run:86 - New requirement detected: Write a cli snake game
2024-11-15 15:03:55.766 | WARNING | tenacity.after:log_it:44 - Finished call to 'metagpt.provider.base_llm.BaseLLM.acompletion_text' after 0.441(s), this was the 1st time calling it.
2024-11-15 15:03:56.337 | ERROR | metagpt.utils.common:log_it:554 - Finished call to 'metagpt.actions.action_node.ActionNode._aask_v1' after 1.012(s), this was the 1st time calling it. exp:
2024-11-15 15:03:56.581 | WARNING | tenacity.after:log_it:44 - Finished call to 'metagpt.provider.base_llm.BaseLLM.acompletion_text' after 0.238(s), this was the 1st time calling it.
2024-11-15 15:03:57.182 | ERROR | metagpt.utils.common:log_it:554 - Finished call to 'metagpt.actions.action_node.ActionNode._aask_v1' after 1.857(s), this was the 2nd time calling it. exp:
2024-11-15 15:03:58.808 | WARNING | tenacity.after:log_it:44 - Finished call to 'metagpt.provider.base_llm.BaseLLM.acompletion_text' after 0.003(s), this was the 1st time calling it.
2024-11-15 15:03:58.992 | ERROR | metagpt.utils.common:log_it:554 - Finished call to 'metagpt.actions.action_node.ActionNode._aask_v1' after 3.667(s), this was the 3rd time calling it. exp:
2024-11-15 15:04:02.819 | WARNING | tenacity.after:log_it:44 - Finished call to 'metagpt.provider.base_llm.BaseLLM.acompletion_text' after 0.003(s), this was the 1st time calling it.
2024-11-15 15:04:02.896 | ERROR | metagpt.utils.common:log_it:554 - Finished call to 'metagpt.actions.action_node.ActionNode._aask_v1' after 7.571(s), this was the 4th time calling it. exp:
2024-11-15 15:04:03.830 | WARNING | tenacity.after:log_it:44 - Finished call to 'metagpt.provider.base_llm.BaseLLM.acompletion_text' after 0.003(s), this was the 1st time calling it.
2024-11-15 15:04:04.174 | ERROR | metagpt.utils.common:log_it:554 - Finished call to 'metagpt.actions.action_node.ActionNode._aask_v1' after 8.849(s), this was the 5th time calling it. exp:
2024-11-15 15:04:16.136 | WARNING | tenacity.after:log_it:44 - Finished call to 'metagpt.provider.base_llm.BaseLLM.acompletion_text' after 0.002(s), this was the 1st time calling it.
2024-11-15 15:04:16.423 | ERROR | metagpt.utils.common:log_it:554 - Finished call to 'metagpt.actions.action_node.ActionNode._aask_v1' after 21.098(s), this was the 6th time calling it. exp:
2024-11-15 15:04:16.424 | WARNING | metagpt.utils.common:wrapper:673 - There is a exception in role's execution, in order to resume, we delete the newest role communication message in the role's memory.
2024-11-15 15:04:16.441 | ERROR | metagpt.utils.common:wrapper:655 - Exception occurs, start to serialize the project, exp:
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/tenacity/_asyncio.py", line 50, in call
result = await fn(*args, **kwargs)
File "/app/metagpt/metagpt/actions/action_node.py", line 437, in _aask_v1
content = await self.llm.aask(prompt, system_msgs, images=images, timeout=timeout)
AssertionError
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/app/metagpt/metagpt/utils/common.py", line 664, in wrapper
return await func(self, *args, **kwargs)
File "/app/metagpt/metagpt/roles/role.py", line 551, in run
rsp = await self.react()
tenacity.RetryError: RetryError[<Future at 0x7f0a4fef12b0 state=finished raised AssertionError>]
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/app/metagpt/metagpt/utils/common.py", line 650, in wrapper
result = await func(self, *args, **kwargs)
File "/app/metagpt/metagpt/team.py", line 134, in run
await self.env.run()
Exception: Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/tenacity/_asyncio.py", line 50, in call
result = await fn(*args, **kwargs)
File "/app/metagpt/metagpt/actions/action_node.py", line 437, in _aask_v1
content = await self.llm.aask(prompt, system_msgs, images=images, timeout=timeout)
File "/app/metagpt/metagpt/provider/base_llm.py", line 152, in aask
rsp = await self.acompletion_text(message, stream=stream, timeout=self.get_timeout(timeout))
File "/usr/local/lib/python3.9/site-packages/tenacity/_asyncio.py", line 88, in async_wrapped
return await fn(*args, **kwargs)
File "/usr/local/lib/python3.9/site-packages/tenacity/_asyncio.py", line 47, in call
do = self.iter(retry_state=retry_state)
File "/usr/local/lib/python3.9/site-packages/tenacity/init.py", line 314, in iter
return fut.result()
File "/usr/local/lib/python3.9/concurrent/futures/_base.py", line 439, in result
return self.__get_result()
File "/usr/local/lib/python3.9/concurrent/futures/_base.py", line 391, in __get_result
raise self._exception
File "/usr/local/lib/python3.9/site-packages/tenacity/_asyncio.py", line 50, in call
result = await fn(*args, **kwargs)
File "/app/metagpt/metagpt/provider/base_llm.py", line 202, in acompletion_text
return await self._achat_completion_stream(messages, timeout=self.get_timeout(timeout))
File "/app/metagpt/metagpt/provider/spark_api.py", line 76, in _achat_completion_stream
async for chunk in response:
File "/usr/local/lib/python3.9/site-packages/sparkai/core/language_models/chat_models.py", line 309, in astream
raise e
File "/usr/local/lib/python3.9/site-packages/sparkai/core/language_models/chat_models.py", line 301, in astream
assert generation is not None
AssertionError
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/app/metagpt/metagpt/utils/common.py", line 664, in wrapper
return await func(self, *args, **kwargs)
File "/app/metagpt/metagpt/roles/role.py", line 551, in run
rsp = await self.react()
File "/app/metagpt/metagpt/roles/role.py", line 520, in react
rsp = await self._react()
File "/app/metagpt/metagpt/roles/role.py", line 475, in _react
rsp = await self._act()
File "/app/metagpt/metagpt/roles/role.py", line 404, in _act
response = await self.rc.todo.run(self.rc.history)
File "/app/metagpt/metagpt/actions/write_prd.py", line 87, in run
return await self._handle_new_requirement(req)
File "/app/metagpt/metagpt/actions/write_prd.py", line 108, in _handle_new_requirement
node = await WRITE_PRD_NODE.fill(context=context, llm=self.llm, exclude=exclude) # schema=schema
File "/app/metagpt/metagpt/actions/action_node.py", line 648, in fill
return await self.simple_fill(schema=schema, mode=mode, images=images, timeout=timeout, exclude=exclude)
File "/app/metagpt/metagpt/actions/action_node.py", line 473, in simple_fill
content, scontent = await self._aask_v1(
File "/usr/local/lib/python3.9/site-packages/tenacity/_asyncio.py", line 88, in async_wrapped
return await fn(*args, **kwargs)
File "/usr/local/lib/python3.9/site-packages/tenacity/_asyncio.py", line 47, in call
do = self.iter(retry_state=retry_state)
File "/usr/local/lib/python3.9/site-packages/tenacity/init.py", line 326, in iter
raise retry_exc from fut.exception()
tenacity.RetryError: RetryError[<Future at 0x7f0a4fef12b0 state=finished raised AssertionError>]
The text was updated successfully, but these errors were encountered:
metagpt "Write a cli snake game"
2024-11-15 15:03:50.927 | INFO | metagpt.const:get_metagpt_package_root:21 - Package root set to /app/metagpt
2024-11-15 15:03:55.243 | INFO | metagpt.team:invest:93 - Investment: $3.0.
2024-11-15 15:03:55.246 | INFO | metagpt.roles.role:_act:403 - Alice(Product Manager): to do PrepareDocuments(PrepareDocuments)
2024-11-15 15:03:55.319 | INFO | metagpt.utils.file_repository:save:57 - save to: /app/metagpt/workspace/20241115150355/docs/requirement.txt
2024-11-15 15:03:55.321 | INFO | metagpt.roles.role:_act:403 - Alice(Product Manager): to do WritePRD(WritePRD)
2024-11-15 15:03:55.323 | INFO | metagpt.actions.write_prd:run:86 - New requirement detected: Write a cli snake game
2024-11-15 15:03:55.766 | WARNING | tenacity.after:log_it:44 - Finished call to 'metagpt.provider.base_llm.BaseLLM.acompletion_text' after 0.441(s), this was the 1st time calling it.
2024-11-15 15:03:56.337 | ERROR | metagpt.utils.common:log_it:554 - Finished call to 'metagpt.actions.action_node.ActionNode._aask_v1' after 1.012(s), this was the 1st time calling it. exp:
2024-11-15 15:03:56.581 | WARNING | tenacity.after:log_it:44 - Finished call to 'metagpt.provider.base_llm.BaseLLM.acompletion_text' after 0.238(s), this was the 1st time calling it.
2024-11-15 15:03:57.182 | ERROR | metagpt.utils.common:log_it:554 - Finished call to 'metagpt.actions.action_node.ActionNode._aask_v1' after 1.857(s), this was the 2nd time calling it. exp:
2024-11-15 15:03:58.808 | WARNING | tenacity.after:log_it:44 - Finished call to 'metagpt.provider.base_llm.BaseLLM.acompletion_text' after 0.003(s), this was the 1st time calling it.
2024-11-15 15:03:58.992 | ERROR | metagpt.utils.common:log_it:554 - Finished call to 'metagpt.actions.action_node.ActionNode._aask_v1' after 3.667(s), this was the 3rd time calling it. exp:
2024-11-15 15:04:02.819 | WARNING | tenacity.after:log_it:44 - Finished call to 'metagpt.provider.base_llm.BaseLLM.acompletion_text' after 0.003(s), this was the 1st time calling it.
2024-11-15 15:04:02.896 | ERROR | metagpt.utils.common:log_it:554 - Finished call to 'metagpt.actions.action_node.ActionNode._aask_v1' after 7.571(s), this was the 4th time calling it. exp:
2024-11-15 15:04:03.830 | WARNING | tenacity.after:log_it:44 - Finished call to 'metagpt.provider.base_llm.BaseLLM.acompletion_text' after 0.003(s), this was the 1st time calling it.
2024-11-15 15:04:04.174 | ERROR | metagpt.utils.common:log_it:554 - Finished call to 'metagpt.actions.action_node.ActionNode._aask_v1' after 8.849(s), this was the 5th time calling it. exp:
2024-11-15 15:04:16.136 | WARNING | tenacity.after:log_it:44 - Finished call to 'metagpt.provider.base_llm.BaseLLM.acompletion_text' after 0.002(s), this was the 1st time calling it.
2024-11-15 15:04:16.423 | ERROR | metagpt.utils.common:log_it:554 - Finished call to 'metagpt.actions.action_node.ActionNode._aask_v1' after 21.098(s), this was the 6th time calling it. exp:
2024-11-15 15:04:16.424 | WARNING | metagpt.utils.common:wrapper:673 - There is a exception in role's execution, in order to resume, we delete the newest role communication message in the role's memory.
2024-11-15 15:04:16.441 | ERROR | metagpt.utils.common:wrapper:655 - Exception occurs, start to serialize the project, exp:
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/tenacity/_asyncio.py", line 50, in call
result = await fn(*args, **kwargs)
File "/app/metagpt/metagpt/actions/action_node.py", line 437, in _aask_v1
content = await self.llm.aask(prompt, system_msgs, images=images, timeout=timeout)
AssertionError
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/app/metagpt/metagpt/utils/common.py", line 664, in wrapper
return await func(self, *args, **kwargs)
File "/app/metagpt/metagpt/roles/role.py", line 551, in run
rsp = await self.react()
tenacity.RetryError: RetryError[<Future at 0x7f0a4fef12b0 state=finished raised AssertionError>]
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/app/metagpt/metagpt/utils/common.py", line 650, in wrapper
result = await func(self, *args, **kwargs)
File "/app/metagpt/metagpt/team.py", line 134, in run
await self.env.run()
Exception: Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/tenacity/_asyncio.py", line 50, in call
result = await fn(*args, **kwargs)
File "/app/metagpt/metagpt/actions/action_node.py", line 437, in _aask_v1
content = await self.llm.aask(prompt, system_msgs, images=images, timeout=timeout)
File "/app/metagpt/metagpt/provider/base_llm.py", line 152, in aask
rsp = await self.acompletion_text(message, stream=stream, timeout=self.get_timeout(timeout))
File "/usr/local/lib/python3.9/site-packages/tenacity/_asyncio.py", line 88, in async_wrapped
return await fn(*args, **kwargs)
File "/usr/local/lib/python3.9/site-packages/tenacity/_asyncio.py", line 47, in call
do = self.iter(retry_state=retry_state)
File "/usr/local/lib/python3.9/site-packages/tenacity/init.py", line 314, in iter
return fut.result()
File "/usr/local/lib/python3.9/concurrent/futures/_base.py", line 439, in result
return self.__get_result()
File "/usr/local/lib/python3.9/concurrent/futures/_base.py", line 391, in __get_result
raise self._exception
File "/usr/local/lib/python3.9/site-packages/tenacity/_asyncio.py", line 50, in call
result = await fn(*args, **kwargs)
File "/app/metagpt/metagpt/provider/base_llm.py", line 202, in acompletion_text
return await self._achat_completion_stream(messages, timeout=self.get_timeout(timeout))
File "/app/metagpt/metagpt/provider/spark_api.py", line 76, in _achat_completion_stream
async for chunk in response:
File "/usr/local/lib/python3.9/site-packages/sparkai/core/language_models/chat_models.py", line 309, in astream
raise e
File "/usr/local/lib/python3.9/site-packages/sparkai/core/language_models/chat_models.py", line 301, in astream
assert generation is not None
AssertionError
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/app/metagpt/metagpt/utils/common.py", line 664, in wrapper
return await func(self, *args, **kwargs)
File "/app/metagpt/metagpt/roles/role.py", line 551, in run
rsp = await self.react()
File "/app/metagpt/metagpt/roles/role.py", line 520, in react
rsp = await self._react()
File "/app/metagpt/metagpt/roles/role.py", line 475, in _react
rsp = await self._act()
File "/app/metagpt/metagpt/roles/role.py", line 404, in _act
response = await self.rc.todo.run(self.rc.history)
File "/app/metagpt/metagpt/actions/write_prd.py", line 87, in run
return await self._handle_new_requirement(req)
File "/app/metagpt/metagpt/actions/write_prd.py", line 108, in _handle_new_requirement
node = await WRITE_PRD_NODE.fill(context=context, llm=self.llm, exclude=exclude) # schema=schema
File "/app/metagpt/metagpt/actions/action_node.py", line 648, in fill
return await self.simple_fill(schema=schema, mode=mode, images=images, timeout=timeout, exclude=exclude)
File "/app/metagpt/metagpt/actions/action_node.py", line 473, in simple_fill
content, scontent = await self._aask_v1(
File "/usr/local/lib/python3.9/site-packages/tenacity/_asyncio.py", line 88, in async_wrapped
return await fn(*args, **kwargs)
File "/usr/local/lib/python3.9/site-packages/tenacity/_asyncio.py", line 47, in call
do = self.iter(retry_state=retry_state)
File "/usr/local/lib/python3.9/site-packages/tenacity/init.py", line 326, in iter
raise retry_exc from fut.exception()
tenacity.RetryError: RetryError[<Future at 0x7f0a4fef12b0 state=finished raised AssertionError>]
The text was updated successfully, but these errors were encountered: