GitHub Issue
minisweagent.run.github_issue
DEFAULT_CONFIG
module-attribute
DEFAULT_CONFIG = Path(
getenv(
"MSWEA_GITHUB_CONFIG_PATH",
builtin_config_dir / "github_issue.yaml",
)
)
console
module-attribute
console = Console(highlight=False)
app
module-attribute
app = Typer(rich_markup_mode='rich', add_completion=False)
fetch_github_issue
fetch_github_issue(issue_url: str) -> str
Fetch GitHub issue text from the URL.
Source code in src/minisweagent/run/github_issue.py
22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 |
|
main
main(
issue_url: str = Option(
prompt="Enter GitHub issue URL",
help="GitHub issue URL",
),
config: Path = Option(
DEFAULT_CONFIG,
"-c",
"--config",
help="Path to config file",
),
model: str | None = Option(
None, "-m", "--model", help="Model to use"
),
yolo: bool = Option(
False,
"-y",
"--yolo",
help="Run without confirmation",
),
) -> InteractiveAgent
Run mini-SWE-agent on a GitHub issue
Source code in src/minisweagent/run/github_issue.py
40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 |
|