Skip to content

fix(benchmark): parse prompt files after value flags#1604

Open
jbetala7 wants to merge 1 commit into
garrytan:mainfrom
jbetala7:oss/fix-1603-benchmark-positional-args
Open

fix(benchmark): parse prompt files after value flags#1604
jbetala7 wants to merge 1 commit into
garrytan:mainfrom
jbetala7:oss/fix-1603-benchmark-positional-args

Conversation

@jbetala7
Copy link
Copy Markdown
Contributor

Summary

  • skip values consumed by known gstack-model-benchmark flags before selecting the positional prompt
  • preserve --flag=value handling and -- positional terminator support
  • add regressions for prompt files after --models/--output in both separated and equals forms

Fixes #1603

Testing

  • bun test test/benchmark-cli.test.ts
  • bun run bin/gstack-model-benchmark --models claude README.md --dry-run
  • git diff --check origin/main...HEAD
  • git merge-tree --write-tree HEAD origin/main

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

gstack-model-benchmark treats --models value as the prompt when options precede a file

1 participant