py499372727 / agentsims Goto Github PK
View Code? Open in Web Editor NEWAgentSims is an easy-to-use infrastructure for researchers from all disciplines to test the specific capacities they are interested in.
License: MIT License
AgentSims is an easy-to-use infrastructure for researchers from all disciplines to test the specific capacities they are interested in.
License: MIT License
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:
Also I asked at this stackoverflow page.
服务启动了,但是client打开没有反应,访问localhost:8000报404错误,不知道什么原因?
I deployed the project on a remote Ubuntu and found that accessing the remote front-end call is still the local server, is there a way to specify the address of the server that the front-end calls? Thank you!
如题
When I want to creat a new character front end said WELLDONE Wallet is not initialized
这一部分的代码在哪里 可以说一下位置在哪里么
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?
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.
restart.sh运行了但是进入index.html的时候就一直在加载页面进不去游戏
How to run AgentSims with LLama2
unity client 有计划开源吗?
蹲一个AgentSims交流讨论群
看网页的表现大概是,每次都是在网页左边的控件上显示出两个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
无报错,但是小人不动,不会对话交互,对话会报keyerror
尝试换了centos系统和ubuntu系统都出现同样的问题
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 这个文件也没有产生
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.