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

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

# main loop for analyzing test files
for test_file in test_files:
Expand Down
12 changes: 12 additions & 0 deletions cover_agent/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -332,6 +332,17 @@ 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 sec",
)
parser.add_argument(
"--record-mode",
action="store_true",
help="Enable record mode for LLM responses. Default: False.",
)
parser.add_argument(
"--record-mode",
action="store_true",
Expand All @@ -343,6 +354,7 @@ def parse_args_full_repo():
default=False,
help="Suppress all generated log files (HTML, logs, DB files).",
)

return parser.parse_args()


Expand Down
Loading