Skip to content

[BUG] Run/debug single node doesn't work with the chat-with-pdf example #355

@tcycherry

Description

@tcycherry

Describe the bug
Run/debug single node doesn't work with the chat-with-pdf example, since it depends on environment variables that was setup in the setup_env step.

How To Reproduce the bug
It's consistent repro:

  1. Open the chat-with-pdf example mentioned in the e2e tutorial with the vscode extension
  2. Follow the tutorial to run the flow successfully
  3. Then try to run a single node, which will fail by complaining a missing environment variable etc.

Expected behavior
Single node run/debug can work. I believe this requires some redesign of the sample but would be nice to leverage the single node debug capability.

Screenshots
CleanShot 2023-09-09 at 12 52 58@2x

Running Information(please complete the following information):

  • Promptflow Package Version using pf -v: 0.1.0b5
  • Operating System: macOS 13.5
  • Python Version using python --version: Python 3.9.17
  • VS code extension: 1.0.7

Additional context

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingno-recent-activityThere has been no recent activity on this issue/pull request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions