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
ecs-user@iZbp15znu62vc68ovwhaazZ:~/AI/MetaGPT/examples$ python build_customized_agent.py
2024-05-02 12:04:36.877 | INFO | metagpt.const:get_metagpt_package_root:29 - Package root set to /home/ecs-user/AI/MetaGPT
2024-05-02 12:04:40.687 | INFO | main:main:100 - write a function that calculates the product of a list and run it
2024-05-02 12:04:40.689 | INFO | main:_act:84 - Alice(RunnableCoder): to do SimpleWriteCode(SimpleWriteCode)
^CTraceback (most recent call last):
File "/home/ecs-user/AI/MetaGPT/examples/build_customized_agent.py", line 106, in
fire.Fire(main)
File "/home/ecs-user/.local/lib/python3.10/site-packages/fire/core.py", line 141, in Fire
component_trace = _Fire(component, args, parsed_flag_args, context, name)
File "/home/ecs-user/.local/lib/python3.10/site-packages/fire/core.py", line 466, in _Fire
component, remaining_args = _CallAndUpdateTrace(
File "/home/ecs-user/.local/lib/python3.10/site-packages/fire/core.py", line 681, in _CallAndUpdateTrace
component = fn(*varargs, **kwargs)
File "/home/ecs-user/AI/MetaGPT/examples/build_customized_agent.py", line 101, in main
result = asyncio.run(role.run(msg))
File "/usr/lib/python3.10/asyncio/runners.py", line 44, in run
return loop.run_until_complete(main)
File "/usr/lib/python3.10/asyncio/base_events.py", line 636, in run_until_complete
self.run_forever()
File "/usr/lib/python3.10/asyncio/base_events.py", line 603, in run_forever
self._run_once()
File "/usr/lib/python3.10/asyncio/base_events.py", line 1871, in _run_once
event_list = self._selector.select(timeout)
File "/usr/lib/python3.10/selectors.py", line 469, in select
fd_event_list = self._selector.poll(timeout, max_ev)
KeyboardInterrupt
The text was updated successfully, but these errors were encountered:
{
"error": {
"message": "You didn't provide an API key. You need to provide your API key in an Authorization header using Bearer auth (i.e. Authorization: Bearer YOUR_KEY), or as the password field (with blank username) if you're accessing the API from your browser and are prompted for a username and password. You can obtain an API key from https://platform.openai.com/account/api-keys.",
"type": "invalid_request_error",
"param": null,
"code": null
}
}
一直等待对端的response?
ecs-user@iZbp15znu62vc68ovwhaazZ:~/AI/MetaGPT/examples$ python build_customized_agent.py
2024-05-02 12:04:36.877 | INFO | metagpt.const:get_metagpt_package_root:29 - Package root set to /home/ecs-user/AI/MetaGPT
2024-05-02 12:04:40.687 | INFO | main:main:100 - write a function that calculates the product of a list and run it
2024-05-02 12:04:40.689 | INFO | main:_act:84 - Alice(RunnableCoder): to do SimpleWriteCode(SimpleWriteCode)
^CTraceback (most recent call last):
File "/home/ecs-user/AI/MetaGPT/examples/build_customized_agent.py", line 106, in
fire.Fire(main)
File "/home/ecs-user/.local/lib/python3.10/site-packages/fire/core.py", line 141, in Fire
component_trace = _Fire(component, args, parsed_flag_args, context, name)
File "/home/ecs-user/.local/lib/python3.10/site-packages/fire/core.py", line 466, in _Fire
component, remaining_args = _CallAndUpdateTrace(
File "/home/ecs-user/.local/lib/python3.10/site-packages/fire/core.py", line 681, in _CallAndUpdateTrace
component = fn(*varargs, **kwargs)
File "/home/ecs-user/AI/MetaGPT/examples/build_customized_agent.py", line 101, in main
result = asyncio.run(role.run(msg))
File "/usr/lib/python3.10/asyncio/runners.py", line 44, in run
return loop.run_until_complete(main)
File "/usr/lib/python3.10/asyncio/base_events.py", line 636, in run_until_complete
self.run_forever()
File "/usr/lib/python3.10/asyncio/base_events.py", line 603, in run_forever
self._run_once()
File "/usr/lib/python3.10/asyncio/base_events.py", line 1871, in _run_once
event_list = self._selector.select(timeout)
File "/usr/lib/python3.10/selectors.py", line 469, in select
fd_event_list = self._selector.poll(timeout, max_ev)
KeyboardInterrupt
The text was updated successfully, but these errors were encountered: