docs: fix removed problem_statement flags in command line tutorial (#1447)
The "Problem statements and union types" section of the command line tutorial listed `--problem_statement.data_path` and `--problem_statement.repo_path` as examples of how to specify the problem to solve. Neither flag exists: the problem statement types only expose `text`, `path`, and `github_url`, and `data_path`/`repo_path` are the pre-1.0 names that the CLI now explicitly rejects (see the auto-correct entries in run_single.py). Running either flag fails with an "unrecognized arguments" error, and `repo_path` also belonged to the environment, not the problem statement. Replace them with the three flags that map to the union members shown right below (GithubIssue, FileProblemStatement, TextProblemStatement): `--problem_statement.github_url`, `--problem_statement.path`, and `--problem_statement.text`. Signed-off-by: Anas Khan <83116240+anxkhn@users.noreply.github.com>
This commit is contained in:
@@ -146,8 +146,8 @@ in addition to all the other `--config` options for the two examples above.
|
||||
We've already seen a few examples of how to specify the problem to solve, namely
|
||||
|
||||
```bash
|
||||
--problem_statement.data_path /path/to/problem.md
|
||||
--problem_statement.repo_path /path/to/repo
|
||||
--problem_statement.github_url=https://github.com/SWE-agent/test-repo/issues/1
|
||||
--problem_statement.path=/path/to/problem.md
|
||||
--problem_statement.text="..."
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user