microsoft / promptflow

Build high-quality LLM apps - from prototyping, testing to production deployment and monitoring.
https://microsoft.github.io/promptflow/
MIT License
8.43k stars 725 forks source link

[BUG] Failed to serialize inputs - VScode extension (warning) #2509

Closed shuther closed 2 weeks ago

shuther commented 2 months ago

Describe the bug Each time I click on Inputs or outputs of the flow, I am getting the warning message below. is it expected?

2024-03-26 19:19:01 +0100 97541 execution.flow WARNING Failed to serialize inputs or output for flow run because of cannot pickle 'generator' object.The inputs and output field in api_calls will be None.

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

  1. Fresh install
  2. Create a new chat flow.
  3. Open the flow.dag.yaml in the visual mode
  4. click on the inputs box

Expected behavior no warning

Screenshots

Screenshot 2024-03-27 at 10 58 02

flow.dag.yaml.txt

Running Information(please complete the following information): promptflow 1.7.0 Executable '/opt/homebrew/opt/python@3.11/bin/python3.11' Python (Darwin) 3.11.8 (main, Feb 6 2024, 21:21:21) [Clang 15.0.0 (clang-1500.1.0.2.5)]

D-W- commented 2 months ago

Hi @shuther , could you provide screenshot for error message above? Did you trigger flow test for above flow? Seems the flow's not valid (OpenAI connection does not have mistral model, see the red box above).

shuther commented 1 month ago

I am using the openai compatible endpoint of ollama. What kind of screenshot do you need?

github-actions[bot] commented 3 weeks ago

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!