Giter VIP home page Giter VIP logo

agentsims's People

Contributors

linmou avatar py499372727 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

agentsims's Issues

Problem in showing the index.html result in colab

I have tried to simulate the Agentsims in colab and I have problem in runnings the index.html file in this colab page (link of it).
I get 404 code.

Maybe the resin is because of this part of it:

import json

# Define the content of the JSON file
content = {
    "gpt-3.5": "sk-XnrwpTOQ03xgtxxx"
}

# Convert the content to JSON format
json_content = json.dumps(content)

# Write the JSON content to the file
with open('/content/AgentSims/config/api_key.json', 'w') as file:
    file.write(json_content)

The tunneling and result page is shown at below:

enter image description here

enter image description here

Also I asked at this stackoverflow page.

Talking to NPC after running and getting no reply

Hello, when I reproduce your project, I can open the scene normally and add the preset scenes and NPCs. But when I have a conversation with the NPC, the NPC won't respond. In the logs/xxx_prompt.txt file, there is only the content sent by the system, and there is no GPT reply content, and the terminal displays such an error after a long time:

Exception in callback functools.partial(<function WebSocketProtocol._run_callback.. at 0x7efe8d7468b0>, <Task finished name='Task-16' coro=<WebSocketHandler.on_message() done, defined at /mnt/c /Users/jonny/AgentSims/main.py:23> exception=KeyError('content')>)
Traceback (most recent call last):
File "/home/jonny/.local/lib/python3.9/site-packages/tornado/ioloop.py", line 738, in _run_callback
ret = callback()
File "/home/jonny/.local/lib/python3.9/site-packages/tornado/websocket.py", line 639, in
self.stream.io_loop.add_future(result, lambda f: f.result())
File "/mnt/c/Users/jonny/AgentSims/main.py", line 24, in on_message
await self.app_cache.execute(self, message)
File "/mnt/c/Users/jonny/AgentSims/app.py", line 181, in execute
res = await cmd._execute(info)
File "/mnt/c/Users/jonny/AgentSims/command/command_base.py", line 40, in _execute
data = await self. execute(params)
File "/mnt/c/Users/jonny/AgentSims/command/chat/ChatWithNPC.py", line 43, in execute
response = result["data"]['chat']['content']
KeyError: 'content'

I would like to ask what is the problem, is there something wrong with my API Key?

Mayor and Tick Don't Do Anything

When I click mayor or tick nothing happens

The log files say for mayor.log & tick.log

nohup: python3.9: No such file or directory

While the server outputs

Player-10001 send: {"uid":"Player-10001","uri":"command.starter.MayorStarter","method":"POST"}
(0, '')

Would appreciate your help.

无法添加人物,无法对话

一. 添加人物错误

我在添加人物时遇到了错误,如图:
5add36841caa7e554025c939645b371a
0514e64beca04926fdd382e52222412e
(添加地形是正常的 mysql版本为8.0.21)

二. 人物无法对话

如图:
084295d47608e8488b01b8e9b74be714

image

(一直卡在这里不动 没有回复
我已经配置了apikey和代理)

请问如何解决这些错误?

按照示例的步骤尝试运行游戏,但是启动客户端以后,客户端不停重启

看网页的表现大概是,每次都是在网页左边的控件上显示出两个npc的图标以后就会立刻重启。服务器上的log如下:

----------Server Started----------
connection check_origin
connection open
somebody linked.
connection on_message
{"uri":"command.auth.Register","method":"POST","data":{"nickname":"Mayor","email":"[email protected]","cryptoPWD":"123456"}}
send: {"uri":"command.auth.Register","method":"POST","data":{"nickname":"Mayor","email":"[email protected]","cryptoPWD":"123456"}}
1146 (42S02): Table 'llm_account.account001' doesn't exist
Player-10001 first login
1146 (42S02): Table 'llm_account.npc001' doesn't exist
GLM2Caller init
GLM2Caller init
map setting: (71,41).uid = Player-10001
map setting: (50,71).uid = NPC-10001
map setting: (52,73).uid = NPC-10002
{'email': '[email protected]', 'nickname': 'Mayor', 'cryptoPWD': '123456', 'uid': 'Player-10001', 'buildings': [{'building_id': 1, 'building_type': 3, 'name': 'dessert shop', 'x': 3, 'y':
1}, {'building_id': 2, 'building_type': 4, 'name': 'gym', 'x': 3, 'y': 2}, {'building_id': 3, 'building_type': 5, 'name': 'houseZ', 'x': 2, 'y': 4}, {'building_id': 4, 'building_type':
6, 'name': 'park', 'x': 4, 'y': 2}], 'npcs': [{'uid': 'NPC-10001', 'homeBuilding': 3, 'asset': 0, 'assetName': 'premade_01', 'model': 'glm2', 'memorySystem': 'LongShortTermMemories', 'planSystem': 'QAFramework', 'workBuilding': 0, 'nickname': 'Alan', 'bio': 'Alan is a genius with outstanding talents and is the inventor of computer. Alan has an introverted personality
and is only interested in the research he foucues on.', 'goal': 'Promoting the Process of Computer Research', 'cash': 10000, 'x': 50, 'y': 71}, {'uid': 'NPC-10002', 'homeBuilding': 3, 'asset': 3, 'assetName': 'premade_04', 'model': 'glm2', 'memorySystem': 'LongShortTermMemories', 'planSystem': 'QAFramework', 'workBuilding': 0, 'nickname': 'pH', 'bio': 'pH is a positive, cheerful, optimistic but somewhat crazy girl who dares to try and explore. She loves food, loves life, and hopes to bring happiness to everyone.', 'goal': 'Taste all the delicious food and become a gourmet or chef.', 'cash': 10000, 'x': 52, 'y': 73}]}
bound websocket to Player-10001
Player-10001 logging in at 2023-09-02 21:37:53
{"code":200,"data":{"email":"[email protected]","nickname":"Mayor","cryptoPWD":"123456","uid":"Player-10001","buildings":[{"building_id":1,"building_type":3,"name":"dessert shop","x":3,"y":1},{"building_id":2,"building_type":4,"name":"gym","x":3,"y":2},{"building_id":3,"building_type":5,"name":"houseZ","x":2,"y":4},{"building_id":4,"building_type":6,"name":"park","x":4,"y":2}],"npcs":[{"uid":"NPC-10001","homeBuilding":3,"asset":0,"assetName":"premade_01","model":"glm2","memorySystem":"LongShortTermMemories","planSystem":"QAFramework","workBuilding":0,"nickname":"Alan","bio":"Alan is a genius with outstanding talents and is the inventor of computer. Alan has an introverted personality and is only interested in the research he foucues
on.","goal":"Promoting the Process of Computer Research","cash":10000,"x":50,"y":71},{"uid":"NPC-10002","homeBuilding":3,"asset":3,"assetName":"premade_04","model":"glm2","memorySystem":"LongShortTermMemories","planSystem":"QAFramework","workBuilding":0,"nickname":"pH","bio":"pH is a positive, cheerful, optimistic but somewhat crazy girl who dares to try and explore.
She loves food, loves life, and hopes to bring happiness to everyone.","goal":"Taste all the delicious food and become a gourmet or chef.","cash":10000,"x":52,"y":73}],"register":true},"uid":null,"msg":"","uri":"command.auth.Register"}
connection closing
Player-10001 is logging out
connection check_origin
connection open
somebody linked.
connection on_message
{"uri":"command.auth.Register","method":"POST","data":{"nickname":"Mayor","email":"[email protected]","cryptoPWD":"123456"}}
send: {"uri":"command.auth.Register","method":"POST","data":{"nickname":"Mayor","email":"[email protected]","cryptoPWD":"123456"}}
Player-10001 login
{'email': '[email protected]', 'nickname': 'Mayor', 'cryptoPWD': '123456', 'uid': 'Player-10001', 'buildings': [{'building_id': 1, 'building_type': 3, 'name': 'dessert shop', 'x': 3, 'y': 1}, {'building_id': 2, 'building_type': 4, 'name': 'gym', '
1}, {'building_id': 2, 'building_type': 4, 'name': 'gym', 'x': 3, 'y': 2}, {'building_id': 3, 'building_type': 5, 'name': 'houseZ', 'x': 2, 'y': 4}, {'building_id': 4, 'building_type': 10001', 'homeBuilding': 3, 'asset': 0, 'assetName': 'premad
6, 'name': 'park', 'x': 4, 'y': 2}], 'npcs': [{'uid': 'NPC-10001', 'homeBuilding': 3, 'asset': 0, 'assetName': 'premade_01', 'model': 'glm2', 'memorySystem': 'LongShortTermMemories', 'pd is the inventor of computer. Alan has an introverted perslanSystem': 'QAFramework', 'workBuilding': 0, 'nickname': 'Alan', 'bio': 'Alan is a genius with outstanding talents and is the inventor of computer. Alan has an introverted personality g': 3, 'asset': 3, 'assetName': 'premade_04', 'model': 'glm
and is only interested in the research he foucues on.', 'goal': 'Promoting the Process of Computer Research', 'cash': 10000, 'x': 50, 'y': 71}, {'uid': 'NPC-10002', 'homeBuilding': 3, ' dares to try and explore. She loves food, loves life, and asset': 3, 'assetName': 'premade_04', 'model': 'glm2', 'memorySystem': 'LongShortTermMemories', 'planSystem': 'QAFramework', 'workBuilding': 0, 'nickname': 'pH', 'bio': 'pH is a positive, cheerful, optimistic but somewhat crazy girl who dares to try and explore. She loves food, loves life, and hopes to bring happiness to everyone.', 'goal': 'Taste all the delicious food and become a gourmet or chef.', 'cash': 10000, 'x': 52, 'y': 73}]}
bound websocket to Player-10001 :1},{"building_id":2,"building_type":4,"name":"gym","x":3,"
Player-10001 logging in at 2023-09-02 21:38:37 0,"assetName":"premade_01","model":"glm2","memorySystem":"L
{"code":200,"data":{"email":"[email protected]","nickname":"Mayor","cryptoPWD":"123456","uid":"Player-10001","buildings":[{"building_id":1,"building_type":3,"name":"dessert shop","x":3,"y"rted personality and is only interested in the research he :1},{"building_id":2,"building_type":4,"name":"gym","x":3,"y":2},{"building_id":3,"building_type":5,"name":"houseZ","x":2,"y":4},{"building_id":4,"building_type":6,"name":"park","x":4,"ySystem":"LongShortTermMemories","planSystem":"QAFramework"y":2}],"npcs":[{"uid":"NPC-10001","homeBuilding":3,"asset":0,"assetName":"premade_01","model":"glm2","memorySystem":"LongShortTermMemories","planSystem":"QAFramework","workBuilding":0,"iness to everyone.","goal":"Taste all the delicious food annickname":"Alan","bio":"Alan is a genius with outstanding talents and is the inventor of computer. Alan has an introverted personality and is only interested in the research he foucues
on.","goal":"Promoting the Process of Computer Research","cash":10000,"x":50,"y":71},{"uid":"NPC-10002","homeBuilding":3,"asset":3,"assetName":"premade_04","model":"glm2","memorySystem":"LongShortTermMemories","planSystem":"QAFramework","workBuilding":0,"nickname":"pH","bio":"pH is a positive, cheerful, optimistic but somewhat crazy girl who dares to try and explore.
She loves food, loves life, and hopes to bring happiness to everyone.","goal":"Taste all the delicious food and become a gourmet or chef.","cash":10000,"x":52,"y":73}],"register":true},"uid":null,"msg":"","uri":"command.auth.Register"}
connection closing
Player-10001 is logging out

Keep crashing when open index.html

I tried to setup agentsims under windows11/minconda, and everything looks working well, except everytime I try to open index.html, the page will crash then automatically refreash once it load up to the GUI.

(agentsims) D:\github\00_AGI\AgentSims>sh restart.sh
process python server not exist
process python server restarted
----------Server Started----------
somebody linked.
somebody is logging out.
somebody linked.
somebody is logging out.
somebody linked.
somebody is logging out.
somebody linked.
somebody is logging out.
somebody linked.
somebody is logging out.
somebody linked.
somebody is logging out.
somebody linked.
somebody is logging out.
somebody linked.
send: {"uri":"command.auth.Register","method":"POST","data":{"nickname":"Mayor","email":"[email protected]","cryptoPWD":"123456"}}
Player-10001 login
{'email': '[email protected]', 'nickname': 'Mayor', 'cryptoPWD': '123456', 'uid': 'Player-10001', 'buildings': [{'building_id': 1, 'building_type': 3, 'name': 'dessert shop', 'x': 3, 'y': 1}, {'building_id': 2, 'building_type': 4, 'name': 'gym', 'x': 3, 'y': 2}, {'building_id': 3, 'building_type': 5, 'name': 'houseZ', 'x': 2, 'y': 4}, {'building_id': 4, 'building_type': 6, 'name': 'park', 'x': 4, 'y': 2}], 'npcs': [{'uid': 'NPC-10001', 'homeBuilding': 3, 'asset': 0, 'assetName': 'premade_01', 'model': 'gpt-4', 'memorySystem': 'LongShortTermMemories', 'planSystem': 'QAFramework', 'workBuilding': 0, 'nickname': 'Alan', 'bio': 'Alan is a genius with outstanding talents and is the inventor of computer. Alan has an introverted personality and is only interested in the research he foucues on.', 'goal': 'Promoting the Process of Computer Research', 'cash': 10000, 'x': 50, 'y': 71}, {'uid': 'NPC-10002', 'homeBuilding': 3, 'asset': 3, 'assetName': 'premade_04', 'model': 'gpt-4', 'memorySystem': 'LongShortTermMemories', 'planSystem': 'QAFramework', 'workBuilding': 0, 'nickname': 'pH', 'bio': 'pH is a positive, cheerful, optimistic but somewhat crazy girl who dares to try and explore. She loves food, loves life, and hopes to bring happiness to everyone.', 'goal': 'Taste all the delicious food and become a gourmet or chef.', 'cash': 10000, 'x': 52, 'y': 73}]}
bound websocket to Player-10001
Player-10001 logging in at 2023-08-21 16:36:09
Player-10001 is logging out
somebody linked.
send: {"uri":"command.auth.Register","method":"POST","data":{"nickname":"Mayor","email":"[email protected]","cryptoPWD":"123456"}}
Player-10001 login
{'email': '[email protected]', 'nickname': 'Mayor', 'cryptoPWD': '123456', 'uid': 'Player-10001', 'buildings': [{'building_id': 1, 'building_type': 3, 'name': 'dessert shop', 'x': 3, 'y': 1}, {'building_id': 2, 'building_type': 4, 'name': 'gym', 'x': 3, 'y': 2}, {'building_id': 3, 'building_type': 5, 'name': 'houseZ', 'x': 2, 'y': 4}, {'building_id': 4, 'building_type': 6, 'name': 'park', 'x': 4, 'y': 2}], 'npcs': [{'uid': 'NPC-10001', 'homeBuilding': 3, 'asset': 0, 'assetName': 'premade_01', 'model': 'gpt-4', 'memorySystem': 'LongShortTermMemories', 'planSystem': 'QAFramework', 'workBuilding': 0, 'nickname': 'Alan', 'bio': 'Alan is a genius with outstanding talents and is the inventor of computer. Alan has an introverted personality and is only interested in the research he foucues on.', 'goal': 'Promoting the Process of Computer Research', 'cash': 10000, 'x': 50, 'y': 71}, {'uid': 'NPC-10002', 'homeBuilding': 3, 'asset': 3, 'assetName': 'premade_04', 'model': 'gpt-4', 'memorySystem': 'LongShortTermMemories', 'planSystem': 'QAFramework', 'workBuilding': 0, 'nickname': 'pH', 'bio': 'pH is a positive, cheerful, optimistic but somewhat crazy girl who dares to try and explore. She loves food, loves life, and hopes to bring happiness to everyone.', 'goal': 'Taste all the delicious food and become a gourmet or chef.', 'cash': 10000, 'x': 52, 'y': 73}]}
bound websocket to Player-10001
Player-10001 logging in at 2023-08-21 16:36:17
Player-10001 is logging out
somebody linked.
send: {"uri":"command.auth.Register","method":"POST","data":{"nickname":"Mayor","email":"[email protected]","cryptoPWD":"123456"}}
Player-10001 login
{'email': '[email protected]', 'nickname': 'Mayor', 'cryptoPWD': '123456', 'uid': 'Player-10001', 'buildings': [{'building_id': 1, 'building_type': 3, 'name': 'dessert shop', 'x': 3, 'y': 1}, {'building_id': 2, 'building_type': 4, 'name': 'gym', 'x': 3, 'y': 2}, {'building_id': 3, 'building_type': 5, 'name': 'houseZ', 'x': 2, 'y': 4}, {'building_id': 4, 'building_type': 6, 'name': 'park', 'x': 4, 'y': 2}], 'npcs': [{'uid': 'NPC-10001', 'homeBuilding': 3, 'asset': 0, 'assetName': 'premade_01', 'model': 'gpt-4', 'memorySystem': 'LongShortTermMemories', 'planSystem': 'QAFramework', 'workBuilding': 0, 'nickname': 'Alan', 'bio': 'Alan is a genius with outstanding talents and is the inventor of computer. Alan has an introverted personality and is only interested in the research he foucues on.', 'goal': 'Promoting the Process of Computer Research', 'cash': 10000, 'x': 50, 'y': 71}, {'uid': 'NPC-10002', 'homeBuilding': 3, 'asset': 3, 'assetName': 'premade_04', 'model': 'gpt-4', 'memorySystem': 'LongShortTermMemories', 'planSystem': 'QAFramework', 'workBuilding': 0, 'nickname': 'pH', 'bio': 'pH is a positive, cheerful, optimistic but somewhat crazy girl who dares to try and explore. She loves food, loves life, and hopes to bring happiness to everyone.', 'goal': 'Taste all the delicious food and become a gourmet or chef.', 'cash': 10000, 'x': 52, 'y': 73}]}
bound websocket to Player-10001
Player-10001 logging in at 2023-08-21 16:36:25
Player-10001 is logging out
somebody linked.
send: {"uri":"command.auth.Register","method":"POST","data":{"nickname":"Mayor","email":"[email protected]","cryptoPWD":"123456"}}
Player-10001 login
{'email': '[email protected]', 'nickname': 'Mayor', 'cryptoPWD': '123456', 'uid': 'Player-10001', 'buildings': [{'building_id': 1, 'building_type': 3, 'name': 'dessert shop', 'x': 3, 'y': 1}, {'building_id': 2, 'building_type': 4, 'name': 'gym', 'x': 3, 'y': 2}, {'building_id': 3, 'building_type': 5, 'name': 'houseZ', 'x': 2, 'y': 4}, {'building_id': 4, 'building_type': 6, 'name': 'park', 'x': 4, 'y': 2}], 'npcs': [{'uid': 'NPC-10001', 'homeBuilding': 3, 'asset': 0, 'assetName': 'premade_01', 'model': 'gpt-4', 'memorySystem': 'LongShortTermMemories', 'planSystem': 'QAFramework', 'workBuilding': 0, 'nickname': 'Alan', 'bio': 'Alan is a genius with outstanding talents and is the inventor of computer. Alan has an introverted personality and is only interested in the research he foucues on.', 'goal': 'Promoting the Process of Computer Research', 'cash': 10000, 'x': 50, 'y': 71}, {'uid': 'NPC-10002', 'homeBuilding': 3, 'asset': 3, 'assetName': 'premade_04', 'model': 'gpt-4', 'memorySystem': 'LongShortTermMemories', 'planSystem': 'QAFramework', 'workBuilding': 0, 'nickname': 'pH', 'bio': 'pH is a positive, cheerful, optimistic but somewhat crazy girl who dares to try and explore. She loves food, loves life, and hopes to bring happiness to everyone.', 'goal': 'Taste all the delicious food and become a gourmet or chef.', 'cash': 10000, 'x': 52, 'y': 73}]}
bound websocket to Player-10001
Player-10001 logging in at 2023-08-21 16:36:34
Player-10001 is logging out
somebody linked.
send: {"uri":"command.auth.Register","method":"POST","data":{"nickname":"Mayor","email":"[email protected]","cryptoPWD":"123456"}}
Player-10001 login
{'email': '[email protected]', 'nickname': 'Mayor', 'cryptoPWD': '123456', 'uid': 'Player-10001', 'buildings': [{'building_id': 1, 'building_type': 3, 'name': 'dessert shop', 'x': 3, 'y': 1}, {'building_id': 2, 'building_type': 4, 'name': 'gym', 'x': 3, 'y': 2}, {'building_id': 3, 'building_type': 5, 'name': 'houseZ', 'x': 2, 'y': 4}, {'building_id': 4, 'building_type': 6, 'name': 'park', 'x': 4, 'y': 2}], 'npcs': [{'uid': 'NPC-10001', 'homeBuilding': 3, 'asset': 0, 'assetName': 'premade_01', 'model': 'gpt-4', 'memorySystem': 'LongShortTermMemories', 'planSystem': 'QAFramework', 'workBuilding': 0, 'nickname': 'Alan', 'bio': 'Alan is a genius with outstanding talents and is the inventor of computer. Alan has an introverted personality and is only interested in the research he foucues on.', 'goal': 'Promoting the Process of Computer Research', 'cash': 10000, 'x': 50, 'y': 71}, {'uid': 'NPC-10002', 'homeBuilding': 3, 'asset': 3, 'assetName': 'premade_04', 'model': 'gpt-4', 'memorySystem': 'LongShortTermMemories', 'planSystem': 'QAFramework', 'workBuilding': 0, 'nickname': 'pH', 'bio': 'pH is a positive, cheerful, optimistic but somewhat crazy girl who dares to try and explore. She loves food, loves life, and hopes to bring happiness to everyone.', 'goal': 'Taste all the delicious food and become a gourmet or chef.', 'cash': 10000, 'x': 52, 'y': 73}]}
bound websocket to Player-10001
Player-10001 logging in at 2023-08-21 16:36:42
Player-10001 is logging out

无法创建新人物和地图

您好,请问一下我这边为啥点击创建的按钮没法点击,只能移动mayor,右下角+-可以点 其他都点不了 只有一个mayor角色,
以下为启动python -u tick.py的nohup日志
process id: 2225427
process python server killed
process python server restarted
----------Server Started----------
tail: nohup.log: file truncated
----------Server Started----------
somebody linked.
tick-10001 logging in at 2023-08-26 15:30:20
tick-10001 send: {"uid":"tick-10001","uri":"ping","method":"GET","data":{}}
tick-10001 send: {"uid":"tick-10001","uri":"command.timetick.Tick","method":"POST"}
before solving using: set()
before solving chatted: set()
before solving movings: set()
before solving inited: set()
before solving cache: []
movings: set()
cache: []
inited: set()
using: set()
chatted: set()
tick-10001 send: {"uid":"tick-10001","uri":"command.timetick.Tick","method":"POST"}
before solving using: set()
before solving chatted: set()
before solving movings: set()
before solving inited: set()
before solving cache: []
movings: set()
.......

以下为启动python -u tick.py的日志
['tick.py']
Sending: {"uid":"tick-10001","uri":"command.timetick.Tick","method":"POST"}
Send: {"uid":"tick-10001","uri":"ping","method":"GET","data":{}}
Received: {"code": 200, "uri": "welcome", "msg": "Welcome"}
Received: {"code":200,"data":{"register":true,"ping":true},"uid":"tick-10001","msg":"","uri":"ping"}
Received: {"code":200,"data":{"moving":0,"chatted":0,"using":0,"inited":0,"cache":0},"uid":"tick-10001","msg":"","uri":"command.timetick.Tick"}
Sending: {"uid":"tick-10001","uri":"command.timetick.Tick","method":"POST"}
Received: {"code":200,"data":{"moving":0,"chatted":0,"using":0,"inited":0,"cache":0},"uid":"tick-10001","msg":"","uri":"command.timetick.Tick"}
Sending: {"uid":"tick-10001","uri":"command.timetick.Tick","method":"POST"}
Received: {"code":200,"data":{"moving":0,"chatted":0,"using":0,"inited":0,"cache":0},"uid":"tick-10001","msg":"","uri":"command.timetick.Tick"}
Sending: {"uid":"tick-10001","uri":"command.timetick.Tick","method":"POST"}
Received: {"code":200,"data":{"moving":0,"chatted":0,"using":0,"inited":0,"cache":0},"uid":"tick-10001","msg":"","uri":"command.timetick.Tick"}
Sending: {"uid":"tick-10001","uri":"command.timetick.Tick","method":"POST"}
Received: {"code":200,"data":{"moving":0,"chatted":0,"using":0,"inited":0,"cache":0},"uid":"tick-10001","msg":"","uri":"command.timetick.Tick"}
Sending: {"uid":"tick-10001","uri":"command.timetick.Tick","method":"POST"}
Received: {"code":200,"data":{"moving":0,"chatted":0,"using":0,"inited":0,"cache":0},"uid":"tick-10001","msg":"","uri":"command.timetick.Tick"}
Sending: {"uid":"tick-10001","uri":"command.timetick.Tick","method":"POST"}
Received: {"code":200,"data":{"moving":0,"chatted":0,"using":0,"inited":0,"cache":0},"uid":"tick-10001","msg":"","uri":"command.timetick.Tick"}
Sending: {"uid":"tick-10001","uri":"command.timetick.Tick","method":"POST"}
Received: {"code":200,"data":{"moving":0,"chatted":0,"using":0,"inited":0,"cache":0},"uid":"tick-10001","msg":"","uri":"command.timetick.Tick"}
Sending: {"uid":"tick-10001","uri":"command.timetick.Tick","method":"POST"}
Received: {"code":200,"data":{"moving":0,"chatted":0,"using":0,"inited":0,"cache":0},"uid":"tick-10001","msg":"","uri":"command.timetick.Tick"}
Sending: {"uid":"tick-10001","uri":"command.timetick.Tick","method":"POST"}
Received: {"code":200,"data":{"moving":0,"chatted":0,"using":0,"inited":0,"cache":0},"uid":"tick-10001","msg":"","uri":"command.timetick.Tick"}
Send: {"uid":"tick-10001","uri":"ping","method":"GET","data":{}}
Received: {"code":200,"data":{"ping":true},"uid":"tick-10001","msg":"","uri":"ping"}.........

另开一个窗口启动python -u mayor.py只显示['mayor.py']
logs下面没有文件
~/logs/agent_name_prompt.txt 这个文件也没有产生

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.