Why doesn't Agent Builder support anything but PDF?

It just throws an error when I attach even a .txt file:

”Workflow failed: Error code: 400 - {‘error’: {‘message’: ‘Invalid input: Expected context stuffing file type to be a supported format: .pdf but got .txt.’, ‘type’: ‘invalid_request_error’, ‘param’: ‘input’, ‘code’: None}}. (code: user_error)”

I can add file search, code interpreter, anything, still throws that message. Why?

1 Like

Hi @chs1

I’ve tagged this post with the escalation marker, hopefully an AgentKit team member can see that and take a look)

Hey everyone, We took a look into this request and it seems to be intended behaviour since file inputs only support PDF. We have our team working to add more file types in the future but for now we only support PDF. A suggested workaround would be to use Code Interpreter. Hope that helps. Thank you!

2 Likes