promptflow icon indicating copy to clipboard operation
promptflow copied to clipboard

[BUG] Unable to use output format "package" in pf flow build

Open amichel opened this issue 1 year ago • 1 comments

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 --output --format " f"docker|package",

How To Reproduce the bug Steps to reproduce the behavior, how frequent can you experience the bug:

  1. 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

amichel avatar Aug 01 '25 19:08 amichel

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!

github-actions[bot] avatar Aug 31 '25 21:08 github-actions[bot]