-
Bug
-
Resolution: Fixed
-
Minor
-
4.5
-
2
-
Team Dragons 2025 Sprint 1.2
There are a couple of places where we are storing data using the AI provider "pluginname" string instead of the provider component name e.g. aiprovider_openai
This results in translated entries being add to the registration hub data. This will make it harder to parse the data correctly, see below for an example:
{"Fournisseur API OpenAI":{"summarise_text":{"success_count":0,"fail_count":17,"predominant_error":401}},"time_range":{"timefrom":1731538874,"timeto":1732143670}}
{"Provedor da API do OpenAI":{"generate_text":{"success_count":0,"fail_count":2,"predominant_error":404}},"time_range":{"timefrom":1731451506,"timeto":1731835082}}
This is also the case in the "ai_action_register" table. in this table we should also store the provider component name