Function calling tool outputs error

I have faced those kind of error for using function calling in Assistant API.

> error: {
>       'body -> tool_outputs\n' +
>       '  Combined tool outputs must be less than 512kb (type=value_error)',
>     type: 'invalid_request_error'}

How can I avoid this error without reducing outputs size? Is there any solution?
I need all outputs for my assistant.

1 Like