Been banging my head against this problem for a bit:
I’m using the API connector to create a thread in OpenAI. I built all this out in a test application before moving it to my actual application (yes this is a completely separate test app, not a dev branch). I copied all the settings exactly, and I’m passing the same exact information, but in my actual app the information isn’t coming through. Here’s what I’m talking about:
Test app:
Main app:
When I use Create Thread in my test app vs my main app, it’s identical as well:
Test app:
Main app:
In the test app, everything happens as intended. In the main app the API call is made successfully - a thread is created and it has all the static pieces of the instructions field, but it includes non of the dynamic test, like “Parent group’s ProdManComp’s Schedule File’s file name” and so on.
Of course at first I thought that the group’s ProdManComp wasn’t set or something like that, so I added this set state before the Create Thread that has the exact same input:
And when I run it then look at the ‘progress’ custom state, it shows what I want:
On top of that, I’ve set a breakpoint at Create Thread and checked the input, and it’s not missing anything - you can see it has the filename, and list fields, etc:
I know those things are missing because I can do into OpenAI’s interface and see the thread doesn’t have that info.
I’m not sure where to go from here, it looks like everything should be working and I have no idea why it’s not. I’d appreciate any help. Thanks!