Error for OpenAI Message Assistant - Run result is file

Describe the problem/error/question

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.

What is the error message (if any)?

Please share your workflow



Share the output returned by the last node

Information on your n8n setup

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:

It looks like your topic is missing some important information. Could you provide the following if applicable.

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:

hi @Mark_S

Sorry for the late response on this one, have you figured it out yet?

Can you share the workflow so we can take a look please?

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.

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.