Skip to content

Commit

Permalink
AIX: misc
Browse files Browse the repository at this point in the history
  • Loading branch information
enricoros committed Dec 11, 2024
1 parent 4183e1e commit 6fcd87a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/modules/aix/client/aix.client.chatGenerateRequest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 6fcd87a

Please sign in to comment.