mirror of
https://github.com/legop3/MultiRoombaRover.git
synced 2026-09-16 17:40:46 -04:00
bot tag and profile images yay urls only though...
This commit is contained in:
@@ -49,7 +49,7 @@ function buildConversation({ recentMessages, name }) {
|
||||
(recentMessages || []).forEach((entry) => {
|
||||
const text = String(entry?.text || '').trim();
|
||||
if (!text) return;
|
||||
const isAssistant = Boolean(entry?.bot || entry?.system);
|
||||
const isAssistant = Boolean(entry?.bot);
|
||||
const nickname = String(entry?.nickname || (isAssistant ? name || 'Overseer' : 'user')).trim();
|
||||
if (isAssistant) {
|
||||
messages.push({ role: 'assistant', content: text });
|
||||
|
||||
Reference in New Issue
Block a user