- Issue created by @marcus_johansson
- Merge request !645Resolve #3527874 "Add javascript orchestration" โ (Merged) created by marcus_johansson
- ๐ฉ๐ชGermany marcus_johansson
This issue does the above, but also takes care of adding and removing options to the chatbot based on if the assistant is a legacy assistant or not.
- ๐ต๐นPortugal bbruno Poland
I've taken a look at the JS related changes, from my side everything looks good. Very interesting how you've made this work with the deep-chat framework! Looks great.
- ๐ฎ๐ณIndia Vivek Panicker Kolkata
@marcus_johansson Can you please mention the testing steps?
- ๐ฉ๐ชGermany marcus_johansson
@vivek panicker
1. get the latest AI Agents 1.1.x-dev and any provider in 1.1.x-dev branch on a clean environment.
2. Setup the provider - make sure it set a chat with tools default
3. After that you can import the two yaml files I uploaded here and import
4. Create a Deepchat block, pick the Drupal CMS Assistant
5. Check that you can't see stream checkbox.
6. Make sure to check "Verbose Mode", but it should be on by default.Ask something like
"Could you check if there are any image fields on the article content type and after that check if the vocabulary tags exists. Please do it in two loops"You should then see a details dropdown that you can open where you can see each of the steps happening in real time, so its telling you what its doing for each agent loop. And then it should close and give you a full answer.
- ๐ฎ๐ณIndia prashant.c Dharamshala
Tried reviewing, posted a couple of comments on the MR.
- ๐ช๐ธSpain gxleano Cรกceres
After following the testing steps on #6 โจ Add Javascript orchestration for each loop in the Chatbot/Assistants API Active it is duplicating the Deepchat form creation.
Testing stack:
- Drupal 11 (latest) with Umami
- Drupal AI modules (all modules)
- OpenAI provider
- Issue branch - ๐ช๐ธSpain gxleano Cรกceres
Reviewed latest changes, everything works as expected.
See evidences:
Deepchat chatbot configuration
Chatbot verbose response
-
marcus_johansson โ
committed 79a7ce2c on 1.1.x
Resolve #3527874 "Add javascript orchestration"
-
marcus_johansson โ
committed 79a7ce2c on 1.1.x
-
marcus_johansson โ
committed 79a7ce2c on 1.2.x
Resolve #3527874 "Add javascript orchestration"
-
marcus_johansson โ
committed 79a7ce2c on 1.2.x
Automatically closed - issue fixed for 2 weeks with no activity.