Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
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: 1 addition & 1 deletion cover_agent/main_full_repo.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ async def run():
async with context_helper.start_server():
print("LSP server initialized.")

ai_caller = AICaller(model=args.model)
ai_caller = AICaller(model=args.model,api_base=args.api_base, max_tokens=8192)

# main loop for analyzing test files
for test_file in test_files:
Expand Down
6 changes: 6 additions & 0 deletions cover_agent/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -331,6 +331,12 @@ def parse_args_full_repo():
type=str,
default="main",
)
parser.add_argument(
"--max-run-time",
type=int,
default=30,
help="Maximum time (in seconds) allowed for test execution. Overrides the value in configuration.toml if provided. Defaults to 30 seconds.",
)
return parser.parse_args()


Expand Down