I am trying to run harness.py on swebench-lite.
I got the following error:
Traceback (most recent call last):
File "~/python3.11/site-packages/multiprocess/pool.py", line 125, in worker
result = (True, func(*args, **kwds))
^^^^^^^^^^^^^^^^^^^
File "~/aider-swe-bench/harness.py", line 231, in process_one_instance
coder = get_coder(
^^^^^^^^^^
File "~/aider-swe-bench/harness.py", line 154, in get_coder
coder = Coder.create(
^^^^^^^^^^^^^
File "~/python3.11/site-packages/aider/coders/base_coder.py", line 138, in create
res = coder(main_model, io, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: Coder.__init__() got an unexpected keyword argument 'git_dname'
It seems like you are passing git_dname as a parameter to coder = Coder.create() but according to the latest code on aider-chat it does not have any parameter like this.
After commenting out that parameter, got another error TypeError: Coder.__init__() got an unexpected keyword argument 'max_chat_history_tokens'
I am trying to run harness.py on swebench-lite.
I got the following error:
It seems like you are passing
git_dnameas a parameter tocoder = Coder.create()but according to the latest code onaider-chatit does not have any parameter like this.After commenting out that parameter, got another error
TypeError: Coder.__init__() got an unexpected keyword argument 'max_chat_history_tokens'