Aller directement au contenu principal

openhands.resolver.resolve_all_issues

resolve_issues

async def resolve_issues(owner: str, repo: str, token: str, username: str,
max_iterations: int, limit_issues: int | None,
num_workers: int, output_dir: str,
llm_config: LLMConfig, runtime_container_image: str,
prompt_template: str, issue_type: str,
repo_instruction: str | None,
issue_numbers: list[int] | None) -> None

Resolve multiple github issues.

Arguments:

  • owner - Github owner of the repo.
  • repo - Github repository to resolve issues in form of owner/repo.
  • token - Github token to access the repository.
  • username - Github username to access the repository.
  • max_iterations - Maximum number of iterations to run.
  • limit_issues - Limit the number of issues to resolve.
  • num_workers - Number of workers to use for parallel processing.
  • output_dir - Output directory to write the results.
  • llm_config - Configuration for the language model.
  • repo0 - Container image to use.
  • repo1 - Prompt template to use.
  • repo2 - Type of issue to resolve (issue or pr).
  • repo3 - Repository instruction to use.
  • repo4 - List of issue numbers to resolve.