I use OpenAI message assistant node with assistant with tool Code Interpreter. I have error when ask assistant to return image - it actually returns it based on last message but node is not ready for Run that returns file.
Hello,
I’ve moved this to a separate workflow. It’s simple to check whether there’s special processing logic for files in the OpenAI Message Assistant node.
Basically, this node handles multiple API requests: it creates a message and a run. In the run, the assistant can return not only text but also the result of the Code Interpreter tool – a message with a file. It looks like the error exists because there’s no logic for this scenario in the OpenAI Message Assistant node’s code.
To get the same result - use assistant with Code Interpreter tool turned on and ask to generate graph/image.