Fresh install lists AI provider as (not available) when no model is configured

Created on 12 June 2025, 1 day ago

Problem/Motivation

When installing fresh and configuring settings with "Use the configuration from the "AI Translate" module (recommended)" and creating a Translation Job the AI provider is marked as "(not available)".

Steps to reproduce

Proposed resolution

\Drupal\ai_tmgmt\Plugin\tmgmt\Translator\AiTranslator::checkAvailable() should check for model_selection_type or chat_model.

Remaining tasks

  1. Write code
  2. Tests?
  3. Reviews
  4. Merge

User interface changes

None

API changes

None

Data model changes

None

🐛 Bug report
Status

Active

Version

1.0

Component

Code

Created by

🇨🇭Switzerland das-peter

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