- Issue created by @vesnag
- Assigned to marcus_johansson
- Status changed to Fixed
4 months ago 10:50am 5 August 2024 - πΊπΈUnited States sirkitree
I am encountering this problem. I did not have a default set for chat and so when creating the assistant I received the error. After finding this issue, I switched to this branch, and saved a default provider, yet when adding a new assistant am receiving the following error:
TypeError: Cannot assign null to property Drupal\ai_assistant_api\Entity\AiAssistant::$rag_enabled of type bool in Drupal\Core\Entity\EntityBase->__construct() (line 63 of core/lib/Drupal/Core/Entity/EntityBase.php). Drupal\Core\Config\Entity\ConfigEntityBase->__construct(Array, 'ai_assistant') (Line: 418) Drupal\Core\Entity\EntityStorageBase->mapFromStorageRecords(Array) (Line: 186)
Happy to create a new issue if you see fit, but this seems relevant.
Automatically closed - issue fixed for 2 weeks with no activity.