- Issue created by @thejimbirch
- 🇺🇸United States thejimbirch Cape Cod, Massachusetts
Is the block is created using the
placeBlockInAdminTheme
config action?block.block.ai_chatbot: placeBlockInAdminTheme: region: gin: content claro: content default_region: content plugin: ai_deepchat_block settings: id: ai_deepchat_block label: 'Drupal Agent Chatbot' label_display: '0' provider: ai_chatbot ai_assistant: drupal_agent_assistant bot_name: 'Drupal Agent' stream: 0 default_avatar: /core/misc/druplicon.png first_message: 'Hello! How can I assist you today?' show_structured_results: 1
ai_chatbot is a submodule of the ai module. It has no config entities, nor does the ai module.
- 🇺🇸United States thejimbirch Cape Cod, Massachusetts
If I manually create the block and export the config, it looks like this. Most of the additional settings are the default values.
langcode: en status: true dependencies: module: - ai_chatbot theme: - gin id: ai_chatbot theme: gin region: content weight: 0 provider: null plugin: ai_deepchat_block settings: id: ai_deepchat_block label: 'Drupal Agent Chatbot' label_display: visible provider: ai_chatbot ai_assistant: drupal_agent_assistant bot_name: 'Drupal Agent' bot_image: /core/misc/druplicon.png use_username: 1 default_username: User use_avatar: 1 default_avatar: /core/misc/favicon.ico first_message: 'Hello! How can I assist you today?' stream: 0 toggle_state: remember width: 400px height: 500px placement: bottom-right show_structured_results: false show_copy_icon: true collapse_minimal: false style_file: 'module:ai_chatbot:bard.yml' verbose_mode: false visibility: { }
- 🇺🇸United States phenaproxima Massachusetts
I've seen this bug before; you'll get it if you don't have a theme installed. What is the situation you're running this on? Is it an existing site? Can you give me some steps to reproduce this from scratch?
- 🇺🇸United States thejimbirch Cape Cod, Massachusetts
This was a new site spinup on 11.2 for an internal demo. It's been buggy, so it could be something unrelated.
But my unusual thing here is that I only have Gin as the front end and admin theme.
Steps to replicate
drush si minimal -y composer require drupal/gin drupal/drupal_cms_ai drush uli Visit /admin/appearance Set Gin as the default theme Set Default theme as the Administration theme Save drush recipe ../recipes/drupal_cms_ai