- Issue created by @marcus_johansson
- 🇩🇪Germany marcus_johansson
We have to think of a solution for Drupal CMS for this.
- 🇺🇸United States bkosborne New Jersey, USA
+1, a colleague and I were very confused about this.
- 🇩🇪Germany marcus_johansson
I've added a check for the normal setup - with a Tiered account:
With a free tier account:
-
marcus_johansson →
committed a106483d on ai_provider_openai-3501907-3501907-improve-checks-for
Issue #3501907: Improve checks for tier 1 accounts
-
marcus_johansson →
committed a106483d on ai_provider_openai-3501907-3501907-improve-checks-for
- 🇩🇪Germany marcus_johansson
There is a MR here for this now, the only way to check rate limits is to do a call and check the headers, meaning that a call will be made at a cost.
Because of this, it will not be part of hook_requirements/status page, since there are sites that use monitoring tools (Zabbix, Prometheus etc.) against those pages and it could end up costing money unwittingly to the site owner.
I will have to think of a solution for Drupal CMS as well as part of the solution, so still in progress.
- 🇩🇪Germany marcus_johansson
This is how it will look in Drupal CMS after installation.
- 🇮🇳India Vivek Panicker Kolkata
@marcus I am getting this issue when I am creating a new API key from my personal account where I have not enrolled in any plan anytime.
Copying what you mentioned on Slack - "We will not even get the headers needed when testing, because you already passed the amount of requests you can do.".
- 🇩🇪Germany marcus_johansson
Thank Vivek - I will merge this to make testing easier with Drupal CMS (we can just require dev release) and if this has issues, lets create a bug ticket for it.
-
marcus_johansson →
committed 5b8191e9 on 1.0.x
Resolve #3501907 "Improve checks for"
-
marcus_johansson →
committed 5b8191e9 on 1.0.x
Automatically closed - issue fixed for 2 weeks with no activity.