Skip to content

Commit

Permalink
update simple online
Browse files Browse the repository at this point in the history
  • Loading branch information
RyanMarten committed Dec 13, 2024
1 parent 585a495 commit f41aa91
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/simple_online.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def main(args):
max_requests_per_minute=args.max_requests_per_minute,
max_tokens_per_minute=args.max_tokens_per_minute,
max_retries=args.max_retries,
require_all_responses=args.require_all_responses,
require_all_responses=not args.not_require_all_responses,
)

dataset = prompter(dataset, batch_cancel=args.cancel)
Expand All @@ -45,9 +45,9 @@ def main(args):
)
parser.add_argument("--max-retries", type=int, help="Max retries", default=None)
parser.add_argument(
"--require-all-responses",
"--not-require-all-responses",
action="store_true",
default=None,
default=False,
help="Require all responses",
)
args = parser.parse_args()
Expand Down

0 comments on commit f41aa91

Please sign in to comment.