qwen-alpha 1.0.18 → 1.0.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -93,9 +93,10 @@ class QwenService {
|
|
|
93
93
|
fs.writeFileSync(tempFile, fullPrompt, 'utf-8');
|
|
94
94
|
|
|
95
95
|
// Команда для Qwen — без системного промпта если есть контекст
|
|
96
|
+
// Перенаправляем stderr в /dev/null чтобы избежать интерактивных подсказок
|
|
96
97
|
const command = contextMessages.length > 0
|
|
97
|
-
? `cat '${tempFile}' | qwen -o json`
|
|
98
|
-
: `cat '${tempFile}' | qwen -p "Проанализируй код и дай рекомендации" -o json`;
|
|
98
|
+
? `cat '${tempFile}' | qwen -o json 2>/dev/null`
|
|
99
|
+
: `cat '${tempFile}' | qwen -p "Проанализируй код и дай рекомендации" -o json 2>/dev/null`;
|
|
99
100
|
|
|
100
101
|
logger.debug({ codeLength: code.length, contextLength: contextMessages.length, tempFile }, 'Running Qwen analysis');
|
|
101
102
|
|