diff --git a/src/modules/aix/client/aix.client.chatGenerateRequest.ts b/src/modules/aix/client/aix.client.chatGenerateRequest.ts index 104adabac0..cbb27b6f17 100644 --- a/src/modules/aix/client/aix.client.chatGenerateRequest.ts +++ b/src/modules/aix/client/aix.client.chatGenerateRequest.ts @@ -228,8 +228,11 @@ export async function aixCGR_FromDMessagesOrThrow( acc.chatSequence.push(...assistantMessages); } else { + // TODO: implement mid-chat system messages if needed - console.warn('aixCGR_FromDMessages: unexpected message role', m.role); + // NOTE: the API should just disallow 'system' messages in the middle of the chat + console.warn('[DEV] aixCGR_FromDMessages: unexpected message role', m.role); + } return acc;