- Issue created by @marcus_johansson
- @marcus_johansson opened merge request.
- πΊπΈUnited States mglaman WI, USA
LGTM if OK changing -dev requirement to ai -dev
- π©πͺGermany D34dMan Hamburg
@marcus_johansson,
Shall I open a ticket to provide guidelines on "when" to extend AiExceptionInterface. As it is quite useful, but out in the wild what is the guideline for module maintainers? Should any module that has something to do with "AI" implement AiExceptionInterface for their Exceptions?
- π©πͺGermany marcus_johansson
d34man - yes, we should add documentation about it, but I think first someone should research if there is a precedent in Drupal in ECA, Search API or some other foundation module.
@mglaman, would you know how it works outside of Drupal core exceptions?
The only clear rules we have at the moment is that the providers should throw exceptions from the AI module since they are really just an extension of it. And for AI Agents, since it will be in AI Core in 2.x.
Maybe we should add a research and discuss issue and ask on the Monday meeting for feedback?