phoenix
phoenix3w ago

phoenix - workflow is working fine with the exa...

workflow is working fine with the exact same json body as my app but the app is returning {"error":{},"label":"OpenAI Assistant (Stream Response)","message":"User Prompt is undefined."} any thoughts why it's not working in app but working fine in test?
3 Replies
Chris Wright | AI & Apps
Double check the key/ value pairs of your input on the openai assistant node, particularly the user prompt, it seems there is some mismatch causing it to return undefined when the app runs compared to when you test it with the inputs you enter manually.
! jacksonwong !
Sorry to late. Have you solved your problem? If you have not yet, I think you didn't set value for prompt or value is not correct.
phoenix
phoenixOP2w ago
Yes I solved this one - the workflow inputs schema had changed userInput to [Object Object] - i made it link to a body input again

Did you find this page helpful?