[BUG] Unable to use output format "package" in pf flow build
Describe the bug
add_parser_build in main/src/promptflow-devkit/promptflow/_cli/_params.py. Validates format as docker|executable but documents example as epilog=f"pf {entity_name} build --source
How To Reproduce the bug Steps to reproduce the behavior, how frequent can you experience the bug:
- Run pf flow build with --format package you will see the error pf flow build: error: argument --format/-f: invalid choice: 'package' (choose from 'docker', 'executable')
Expected behavior There should be a consistent way to use either package or executable output, with code and documentation aligned.
Screenshots If applicable, add screenshots to help explain your problem.
Running Information(please complete the following information):
- Promptflow Package Version using { "promptflow": "1.16.1", "promptflow-azure": "1.16.1", "promptflow-core": "1.16.1", "promptflow-devkit": "1.16.1", "promptflow-tracing": "1.16.1" }
- Operating System: [Promptflow default dev container on Ubuntu on WSL2]
- Python Version using
python --version: python:3.11
Hi, we're sending this friendly reminder because we haven't heard back from you in 30 days. We need more information about this issue to help address it. Please be sure to give us your input. If we don't hear back from you within 7 days of this comment, the issue will be automatically closed. Thank you!