Open
Description
I am enjoying using ComputerTool
, but want to create a persistent agent that lasts for many generations, for example, max_turns > 10000
I run into the basic error:
Error getting response: Error code: 400 - {'error': {'message': 'This request exceeds the context size limit. Please reduce the size of the prompt and try again.', 'type': 'invalid_request_error', 'param': None, 'code': None}}
-
Are there builtin functions that can help me prune this?
-
I understand this comes from the openAI core API, but can someone please direct me to where I can manage this? What are some good approaches to managing context/input as the size increases for a persistent agent?