diff --git a/lib/features/chat/providers/chat_providers.dart b/lib/features/chat/providers/chat_providers.dart index 845f7d0..72cd7d0 100644 --- a/lib/features/chat/providers/chat_providers.dart +++ b/lib/features/chat/providers/chat_providers.dart @@ -1279,7 +1279,11 @@ Future _sendMessageInternal( // Mirror web client's execute path: listen on provided dynamic channel final channel = payload['channel']; if (channel is String && channel.isNotEmpty) { - DebugLogger.stream('Socket request:chat:completion channel=$channel'); + // Prefer dynamic channel for streaming content; suppress chat-events text to avoid duplicates + suppressSocketContent = true; + if (kSocketVerboseLogging) { + DebugLogger.stream('Socket request:chat:completion channel=$channel'); + } void channelLineHandler(dynamic line) { try { if (line is String) {