content-automation-system was forked from Fork of content-automation-system
Continue chatting to ask questions about or make changes to it.
Well, want to make ensure in api management will show how much request they handle eache, this count will show perfectly, as by day, 7 days 30 days, and make option to make push or silent each api when i want i mean push and resumt option, already we have automated option api will get silent when 1500/1200 request will be done by one api & automated api roation,
I'll update the API Management component to include more detailed request counts and add options to pause and resume individual API keys. I'll also ensure that the automated API rotation is maintained when an API reaches its daily limit.
Still api not showing the request counts and getting few errors - The code returns the following error:
Attempt 3 failed: {"name":"NeonDbError","severity":"ERROR","code":"42601","position":"142","file":"scan.l","line":"1188","routine":"scanner_yyerror"}
at withRetry (/lib/db)
at async updateApiKeyStats (/app/actions/api-keys)
at async incrementApiKeyRequests (/app/actions)
at async generateContentWithRotation (/app/actions)
at async processWritingTask (/app/actions)
Revise the code to address the error. The code returns the following error:
Error incrementing API key requests: {"name":"NeonDbError","severity":"ERROR","code":"42601","position":"142","file":"scan.l","line":"1188","routine":"scanner_yyerror"}
at incrementApiKeyRequests (/app/actions)
at async generateContentWithRotation (/app/actions)
at async processWritingTask (/app/actions)
Revise the code to address the error.