feat: reduce debug logging with conditional output based on streamDebugEnabled

This commit is contained in:
Bohdan Triapitsyn
2025-12-25 03:33:24 +02:00
parent 6fbdf90cd3
commit eb8355b37e
5 changed files with 27 additions and 22 deletions
@@ -37,7 +37,9 @@ export function ChatPanel() {
const messageText = inputValue.trim();
if (!currentProviderId || !currentModelId) {
console.warn('Missing provider or model selection for sendMessage');
if (import.meta.env.DEV) {
console.warn('Missing provider or model selection for sendMessage');
}
return;
}