openAI assistant
It seems like the openAI assistant node is buggy. I looked at the code and it calls the open ai retrieve function as follows:
I checked in the openai documentation and the parameters are supposed to be passed in a different way.
I actually see the error, I keep getting an error message telling me that the thread_id is undefined (even though the thread does exist) and in fact the url that it runs is wrong. I has the thread id in the place of the run id, and the thread id is undefined.
I duplicated the node, created my own copy, and changed the line in their code, and suddenly everything works as planned.


2 Replies
Processing...
🤖 Gathering bytes and bits. 🧲 this might take a couple of minutes... beep boop
🤖 AI Response
Based on the available BuildShip documentation, there is no explicit mention of a known issue with the OpenAI Assistant node misplacing the thread_id and run_id parameters in API calls. The documentation outlines the required inputs for the node, including the API key, assistant ID, and instructions, but does not detail the internal handling of thread_id or run_id parameters. However, your description of the bug—where the node incorrectly structures the API call URL, resulting in an undefined thread_id error—aligns with typical integration issues when parameter placement does not match the OpenAI API specification.
Your workaround of duplicating and modifying the node to correct the parameter placement is a practical temporary solution. Since this appears to be a node construction bug, submitting the issue through BuildShip’s in-app support is recommended so the development team can address it in future updates. The documentation also encourages users to report missing features or issues via their support channels or Discord.
🔗 References:
1. https://docs.buildship.com/ai-assistant/openai-assistant
2. https://www.youtube.com/watch?v=9GGpOooWwIU
3. https://docs.buildship.com/ai-assistant/openai-streaming-assistant
4. https://buildship.com/integrations/apps/document-ai-and-openai
BuildShip AI Support