Libraries tagged by TreeRoute

drupal-eca-recipe/eca_lib_0052

0 Favers
1 Downloads

Intercepts every chat request that leaves the site through the AI module's provider proxy and sends the ones made on behalf of anonymous visitors to a cheaper provider and model, while a request made for an account keeps whatever the calling code chose. Nothing in the model calls an AI provider: it listens to the "AI request: before provider call" event that the ai_eca_interceptor submodule of AI Integration - ECA exposes, so it governs calls made by AI Assistants, automators, agents and custom code alike without owning any of them. The reroute is recorded as intent and executed by a subscriber that runs last, and it fails open - if the target provider throws, the originally chosen one answers instead. Requires the AI module at 1.4 or newer, and the provider and model ids in the reroute action have to be changed to a target configured on your site.

Go to Download


explicatis/typo3-front-controller-redirect

0 Favers
4615 Downloads

Change TYPO3 front controller to reroute backend calls

Go to Download


<< Previous