Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tool_outputs too large: openai error message #39

Open
RyanPMGardner opened this issue Dec 18, 2024 · 0 comments
Open

tool_outputs too large: openai error message #39

RyanPMGardner opened this issue Dec 18, 2024 · 0 comments

Comments

@RyanPMGardner
Copy link

I am learning a lot from your videos and trying to experiment with your code.

I have been trying to run the WebDevCrafters Agency in the agent-swarm-lab but getting this error response form Open AI when the developer agent goes to create the pages. Is this an issue with Open Ai that needs to be mittigated or a limit on my subscription?

ChatGPT has me trying totchage the codes to put in truncating and size limiting on the agent tools but its ended up making a mess of the package so I need to start again and thought I would drop you a line to see if anyone had any suggestions.

openai.BadRequestError: Error code: 400 - {'error': {'message': "'tool_outputs' too large: the combined tool outputs must be less than 512kb.", 'type': 'invalid_request_error', 'param': 'tool_outputs', 'code': 'invalid_value'}}

by the way the Agency file just freezes and does not recognise that there has been an error generated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant