NegotiationArena icon indicating copy to clipboard operation
NegotiationArena copied to clipboard

I get error while run [NegotiationArena] Explore BuySell Game

Open fbdeme opened this issue 1 year ago • 0 comments

I just wanted to run example code and I tried to run [NegotiationArena] Explore BuySell Game.

But when I run this line of code ti get example states states = load_states_from_dir("NegotiationArena/example_logs/buysell/")

I couldn't get nothing from states

below is the error massage I got

Exception Type: TypeError Exception Message: ChatGPTAgent.init() got an unexpected keyword argument 'prompt_entity_initializer' Stack Trace: Traceback (most recent call last): File "", line 125, in load_states_from_dir game = Game.from_dict(json_game) File "/content/NegotiationArena/negotiationarena/game_objects/game.py", line 84, in from_dict game_state_dict["players"] = [ File "/content/NegotiationArena/negotiationarena/game_objects/game.py", line 85, in Agent.from_dict(player) File "/content/NegotiationArena/negotiationarena/agents/agents.py", line 125, in from_dict obj = constructor(**state_dict) TypeError: ChatGPTAgent.init() got an unexpected keyword argument 'prompt_entity_initializer'

Exception Type: TypeError Exception Message: ChatGPTAgent.init() got an unexpected keyword argument 'prompt_entity_initializer' Stack Trace: Traceback (most recent call last): File "", line 125, in load_states_from_dir game = Game.from_dict(json_game) File "/content/NegotiationArena/negotiationarena/game_objects/game.py", line 84, in from_dict game_state_dict["players"] = [ File "/content/NegotiationArena/negotiationarena/game_objects/game.py", line 85, in Agent.from_dict(player) File "/content/NegotiationArena/negotiationarena/agents/agents.py", line 125, in from_dict obj = constructor(**state_dict) TypeError: ChatGPTAgent.init() got an unexpected keyword argument 'prompt_entity_initializer'

Exception Type: TypeError Exception Message: ChatGPTAgent.init() got an unexpected keyword argument 'prompt_entity_initializer' Stack Trace: Traceback (most recent call last): File "", line 125, in load_states_from_dir game = Game.from_dict(json_game) File "/content/NegotiationArena/negotiationarena/game_objects/game.py", line 84, in from_dict game_state_dict["players"] = [ File "/content/NegotiationArena/negotiationarena/game_objects/game.py", line 85, in Agent.from_dict(player) File "/content/NegotiationArena/negotiationarena/agents/agents.py", line 125, in from_dict obj = constructor(**state_dict) TypeError: ChatGPTAgent.init() got an unexpected keyword argument 'prompt_entity_initializer'

Exception Type: TypeError Exception Message: ChatGPTAgent.init() got an unexpected keyword argument 'prompt_entity_initializer' Stack Trace: Traceback (most recent call last): File "", line 125, in load_states_from_dir game = Game.from_dict(json_game) File "/content/NegotiationArena/negotiationarena/game_objects/game.py", line 84, in from_dict game_state_dict["players"] = [ File "/content/NegotiationArena/negotiationarena/game_objects/game.py", line 85, in Agent.from_dict(player) File "/content/NegotiationArena/negotiationarena/agents/agents.py", line 125, in from_dict obj = constructor(**state_dict) TypeError: ChatGPTAgent.init() got an unexpected keyword argument 'prompt_entity_initializer'

THERE ARE 4 log files 0 Loaded Successfully

fbdeme avatar Aug 08 '24 02:08 fbdeme