Change a log type for empty prompt messages
| @@ -2885,7 +2885,7 @@ export class ChatCompletion { | ||
| 2885 | 2885 | const message = { role: item.role, content: item.content, ...(item.name ? { name: item.name } : {}) }; |
| 2886 | 2886 | chat.push(message); |
| 2887 | 2887 | } else { |
| 2888 | 2888 | consolethis.warnlog('Invalid`Skipping invalid or empty message in collection',: ${JSON.stringify(item)}`); |
| 2889 | 2889 | } |
| 2890 | 2890 | } |
| 2891 | 2891 | return chat; |