Error everytime I use the chatbot "plugin does not exist"

Created on 23 April 2025, 20 days ago
Updated 24 April 2025, 19 days ago

Problem/Motivation

Everytime I try to use a chatbot created using this module, an error occurs indicating that a plugin does not exist.

Log with the error:
```
cms | [22-Apr-2025 20:36:07] WARNING: [pool www] child 8768 said into stderr: "[drupal "base_url":"http://localhost","severity":"ERROR","type":"ai_assistant_api","date":"2025-04-22T16:36:07","uid":"1","request_uri":"http://localhost/api/deepchat?token=bpZ-c4MzZKB5OwzDVMMnIXmgmo7S6AjgVFIE...","refer":"http://localhost/","ip":"192.168.65.1","link":"","message":"The "" plugin does not exist. Valid plugin IDs for Drupal\ai_as"istant_api\AiAssistantActionPluginManager are: "]
```

Is there any way to fix this?

Steps to reproduce

Here are the steps that I did:

  1. Install the AI module using bin/composer require 'drupal/ai:^1.0’
  2. https://www.drupal.org/project/ai
  3. Go to the Extensions page http://localhost/admin/modules, find the following modules and install them:
    • AI Core
    • AI Chatbot
    • AI Assistant API
    • Key
  4. Install the composer require 'drupal/ai_provider_ollama:^1.0@beta'
  5. https://www.drupal.org/project/ai_provider_ollama
  6. Go to the Extensions page http://localhost/admin/modules, find the Ollama Provider and install it.
  7. Download Ollama https://ollama.com/download/mac
  8. Once you download, unzip the file, open the app and follow the instructions.
  9. To start the AI run ollama run llama3.2
  10. Ollama runs at port http://localhost:11434/ and to set up the provider use http://host.docker.internal in the host.
  11. Set up the Ollama Provider
  12. Go to http://localhost/admin/config/ai/ai-assistant, create and configure an AI Assistant
  13. Enable the AI Deepchat Chatbot module.
  14. Visit /admin/structure/block
  15. Choose a region of your theme template and click the "place" button.
  16. Select the AI Deepchat Chatbot block and press the place button.
  17. Configure the block

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

1.0

Component

AI Assistants API

Created by

🇵🇷Puerto Rico yaritzagarcia

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024