py499372727 / AgentSims

AgentSims is an easy-to-use infrastructure for researchers from all disciplines to test the specific capacities they are interested in.
MIT License
743 stars 94 forks source link

打开client/index.html后没有显示 #4

Closed chenyzh28 closed 1 year ago

chenyzh28 commented 1 year ago
thumbnail_7bef8d69c1264645bd58bbda563dcc01
py499372727 commented 1 year ago

Is there any error in Server Terminal?

chenyzh28 commented 1 year ago

@py499372727 No, it seems normal.

thumbnail_fb50b7275ad9844c8ce875f6d6a83698
py499372727 commented 1 year ago

Could you attach the nohub.log File or send the file to zhaohaoran@buaa.edu.cn. I'll try to figure it out.

chenyzh28 commented 1 year ago

OK, thanks, the nohup.log shows: ----------Server Started---------- Traceback (most recent call last): File "C:\Users\PycharmProjects\AgentSims\main.py", line 40, in tornado.ioloop.IOLoop.current().start() File "C:\ProgramData\anaconda3\envs\py39\lib\site-packages\tornado\platform\asyncio.py", line 195, in start self.asyncio_loop.run_forever() File "C:\ProgramData\anaconda3\envs\py39\lib\asyncio\windows_events.py", line 321, in run_forever super().run_forever() File "C:\ProgramData\anaconda3\envs\py39\lib\asyncio\base_events.py", line 601, in run_forever self._run_once() File "C:\ProgramData\anaconda3\envs\py39\lib\asyncio\base_events.py", line 1869, in _run_once event_list = self._selector.select(timeout) File "C:\ProgramData\anaconda3\envs\py39\lib\asyncio\windows_events.py", line 439, in select self._poll(timeout) File "C:\ProgramData\anaconda3\envs\py39\lib\asyncio\windows_events.py", line 788, in _poll status = _overlapped.GetQueuedCompletionStatus(self._iocp, ms) KeyboardInterrupt

chenyzh28 commented 1 year ago

@py499372727 The above problem has been solved. But I cannot chat with the NPC. I send some messages to him but he responses null.

thumbnail_ed8b3761c336a646889400463a2bd371
chenyzh28 commented 1 year ago

@py499372727 I address this problem and can chat with NPCs now after changing the openai api link , thanks for your work.

py499372727 commented 1 year ago

That's good news. Thank you for your attention.