KellanM/OpenAI-Api-Unreal

open AICall completion node is not working

cruzjunior opened this issue · 2 comments

So I created the open AICall completion node put in as a prompt something very simple which is "what is your name" . After the node I'm using a branch node that takes in the success pin from open AICall completion node and I print out the error message from the open AICall completion node if it is not successful. If it is successful then it continues on to print out the completion.

But here is where the problem lies:
The output for this is weird. First the branch node fails and outputs Prompt is empty as an error, but then somehow the same branch node succeeds without me even calling it, and it prints out something completely unrelated to the prompt that I gave.

This issue is with the unreal 5.1.1 version of the plugin and I downloaded it today (April 03, 2023) from the google drive. I was using an older version of the plugin before and it was working fine.

Edit: I am using the Finished output on the open AICall completion node to connect to the branch node

Cruzjunior just walked through his issue over zoom. Working on a fix.

Pushed a fix and cruzjunior confirmed it solves his issue.