Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Title: Fix TypeError in harness.py by updating Coder.create method calls #9

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions harness.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,6 @@ def get_coder(model, git_dname, chat_history_file, test_cmd, temperature, oracle
coder = Coder.create(
main_model=model,
io=io,
git_dname=git_dname,
map_tokens=2048, # Use 2k tokens for the repo map
stream=False,
auto_commits=False, # Don't bother git committing changes
Expand All @@ -163,7 +162,6 @@ def get_coder(model, git_dname, chat_history_file, test_cmd, temperature, oracle
test_cmd=test_cmd,
# verbose=True,
# edit_format="udiff",
max_chat_history_tokens=8*1024,
)
coder.temperature = temperature

Expand Down