- Issue created by @marcus_johansson
-
marcus_johansson →
committed 38b04148 on 3489690-add-an-event
Issue #3489690: Add an event that triggers on chat iterator consumption
-
marcus_johansson →
committed 38b04148 on 3489690-add-an-event
- 🇩🇪Germany marcus_johansson
Using magic method will not work, because there is limited time for processing after destruct, so a method needed to be added instead.
There is a merge request is here: https://git.drupalcode.org/project/ai/-/merge_requests/295
An OpenAI implementation is here: https://git.drupalcode.org/project/ai_provider_openai/-/merge_requests/4
It has graceful fallback in that it will not break the current streaming implementations, but they will need to use two methods to be able to trigger the event that is needed to log this.
A solution for the AI Logging is in there as well.
-
marcus_johansson →
committed 325baac2 on 3489690-add-an-event
Issue #3489690: Add an event that triggers on chat iterator consumption
-
marcus_johansson →
committed 325baac2 on 3489690-add-an-event
-
marcus_johansson →
committed c5460672 on 3489690-add-an-event
Issue #3489690: Add an event that triggers on chat iterator consumption
-
marcus_johansson →
committed c5460672 on 3489690-add-an-event
-
marcus_johansson →
committed 45cb1967 on 3489690-add-an-event
Issue #3489690: Add an event that triggers on chat iterator consumption
-
marcus_johansson →
committed 45cb1967 on 3489690-add-an-event
-
marcus_johansson →
committed df29726e on 3489690-add-an-event
Issue #3489690: Add an event that triggers on chat iterator consumption
-
marcus_johansson →
committed df29726e on 3489690-add-an-event
-
marcus_johansson →
committed ba502d5a on 3489690-add-an-event
Issue #3489690: Add an event that triggers on chat iterator consumption
-
marcus_johansson →
committed ba502d5a on 3489690-add-an-event
-
marcus_johansson →
committed 41247ea9 on 3489690-add-an-event
Issue #3489690: Add an event that triggers on chat iterator consumption
-
marcus_johansson →
committed 41247ea9 on 3489690-add-an-event
- 🇩🇪Germany a.dmitriiev
I can confirm that AI CKEditor logs the response correctly now when using MRs https://git.drupalcode.org/project/ai/-/merge_requests/295 and An OpenAI implementation is here: https://git.drupalcode.org/project/ai_provider_openai/-/merge_requests/4