anthropic.RateLimitError: Error code: 429 - {'type': 'error', 'error': {'type': 'rate_limit_error', 'message': 'Number of request tokens has exceeded your daily rate limit (https://docs.anthropic.com/en/api/rate-limits); see the response headers for current usage. Please reduce the prompt length or the maximum tokens requested, or try again later. You may also contact sales at https://www.anthropic.com/contact-sales to discuss your options for a rate limit increase.'}}
Are displayed in lavague-tests as this, which makes it very difficult to quickly see what the issue is:
2024-07-29 18:42:01,954 - ERROR - Error while running the agent: Invalid payload! Need prompt and completion or messages and response.
Error messages from APIs such as:
anthropic.RateLimitError: Error code: 429 - {'type': 'error', 'error': {'type': 'rate_limit_error', 'message': 'Number of request tokens has exceeded your daily rate limit (https://docs.anthropic.com/en/api/rate-limits); see the response headers for current usage. Please reduce the prompt length or the maximum tokens requested, or try again later. You may also contact sales at https://www.anthropic.com/contact-sales to discuss your options for a rate limit increase.'}}
Are displayed in lavague-tests as this, which makes it very difficult to quickly see what the issue is:
2024-07-29 18:42:01,954 - ERROR - Error while running the agent: Invalid payload! Need prompt and completion or messages and response.