[BUG] [VSCode Extension] Open LLM Tool doesn't allow specifying the 'stop' parameter when api is 'completion'

Open
#2,444 4 comments 0 reactions 3 assignees View on GitHub

@youngpark is already working on this.

Since Apr 11, 2024.

Assessment

This issue has not been assessed yet.

Description

feature promptflow-tools vscode extension

Describe the bug
Open LLM Tool doesn't allow specifying the 'stop' parameter when api is 'completion' when api is 'completion'. This parameter is important when using the completion api to control when to stop generating tokens.

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

The screenshot bellow shows that the 'stop' parameter cannot be set when using the 'completion' api.

Screenshot 2024-03-21 at 9 07 51 PM

Screenshots

  1. On the VSCode primary side bar > the Prompt flow pane > quick access section. Find the "install dependencies" action. Please it and attach the screenshots there.
Screenshot 2024-03-21 at 9 09 09 PM

Environment Information

  • Promptflow Package Version using pf -v: 1.6.0
  • Operating System: 13.6.4 (22G513)
  • Python Version using python --version: 3.11.8
  • VS Code version.1.87.2
  • Prompt Flow extension version. v1.14.0
  • On the VS Code bottom pane > Output pivot > "prompt flow" channel, find the error message could be relevant to the issue and past them here. That would be helpful for our trouble shooting.
  • If your code to repro the issue is public and you want to share us, please share the link.

Additional context
Add any other context about the problem here.

Dominant language
Python
Stars
11.2k
Forks
1.1k
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from microsoft/promptflow

All issues in microsoft/promptflow

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.