Make model id required on the OpenAiBasedProviderClientBase

Created on 26 August 2025, 9 days ago

Problem/Motivation

Since OpenAiBasedProviderClientBase does moderation normalization, but it has a OpenAI moderation id (that is old). Instead we should remove this and force a moderation model here.

Proposed resolution

Add check if the model is set.
Remove the ternary operator.

πŸ“Œ Task
Status

Active

Version

1.2

Component

AI Core module

Created by

πŸ‡©πŸ‡ͺGermany marcus_johansson

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