跳到主要内容

openhands.resolver.resolve_all_issues

resolve_issues

async def resolve_issues(owner: str, repo: str, token: str, username: str,
platform: Platform, 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 or gitlab issues.

Arguments:

  • owner - Github or Gitlab owner of the repo.
  • repo - Github or Gitlab repository to resolve issues in form of owner/repo.
  • token - Github or Gitlab token to access the repository.
  • username - Github or Gitlab 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.