While i was trying to create a conveyor belt in the taucad. After a few prompt iterations i got this issue:
Error in middleware "ToolResultTrimmer": Error in middleware "PromptCaching": Error in middleware "MessageLogging": 400 {"type":"error","error":{"type":"invalid_request_error","message":"prompt is too long: 217210 tokens > 200000 maximum"},"request_id":"req_011CaxHFqchiPP2u3zTQ8EJJ"}
Maybe check if you are concatenating all the prompts in a request.
While i was trying to create a conveyor belt in the taucad. After a few prompt iterations i got this issue:
Error in middleware "ToolResultTrimmer": Error in middleware "PromptCaching": Error in middleware "MessageLogging": 400 {"type":"error","error":{"type":"invalid_request_error","message":"prompt is too long: 217210 tokens > 200000 maximum"},"request_id":"req_011CaxHFqchiPP2u3zTQ8EJJ"}
Maybe check if you are concatenating all the prompts in a request.