Allow tokens in prompts in ai submodules (ai_translate, aI_ckeditor, ai_content_suggestions)

Created on 15 January 2025, 4 months ago

Problem/Motivation

Make it so that similar to https://www.drupal.org/project/ai/issues/3488891#comment-15942883 📌 AI Agents reinvent Drupal Active
Tokens can be used in the prompt fields for these submodules.
I might later split this issue if i bump into issues.

Proposed resolution

Allow tokens in prompts.

Remaining tasks

- Allow tokens in prompt config fields
- Do the token replacement

Scope

  • ai_translate
  • ai_content_suggestions
  • ai_ckeditor

Timeline

I will first wait for some other issues to be merged to prevent many merge conflicts.
These submodules have many prompt related changes ready that will be merged any minute now.

Feature request
Status

Needs work

Version

1.0

Component

Other Submodules

Created by

🇧🇪Belgium wouters_f Leuven

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024