natureco-cli 2.23.2 → 2.23.3
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
package/src/commands/code.js
CHANGED
|
@@ -698,7 +698,12 @@ ${indexPrompt}`;
|
|
|
698
698
|
}
|
|
699
699
|
conversationMessages.push(assistantMsg);
|
|
700
700
|
|
|
701
|
-
if (!streamResult.toolCalls?.length)
|
|
701
|
+
if (!streamResult.toolCalls?.length) {
|
|
702
|
+
if (!streamResult.text) {
|
|
703
|
+
console.log(chalk.yellow('\n ⚠️ Model cevap vermedi, tekrar deneyin.\n'));
|
|
704
|
+
}
|
|
705
|
+
break;
|
|
706
|
+
}
|
|
702
707
|
|
|
703
708
|
console.log(chalk.yellow(`\n🔧 ${streamResult.toolCalls.length} tool çalıştırılıyor...\n`));
|
|
704
709
|
|
|
@@ -665,7 +665,7 @@ function startCronJobs(config) {
|
|
|
665
665
|
'Content-Type': 'application/json',
|
|
666
666
|
},
|
|
667
667
|
body: JSON.stringify({
|
|
668
|
-
model: cfg.providerModel || 'llama-3.
|
|
668
|
+
model: cfg.providerModel || 'llama-3.3-70b-versatile',
|
|
669
669
|
messages: [{ role: 'user', content: cronJob.prompt }],
|
|
670
670
|
temperature: 0.7,
|
|
671
671
|
max_tokens: 1000,
|
package/src/commands/migrate.js
CHANGED
|
@@ -636,7 +636,7 @@ async function migrate(options) {
|
|
|
636
636
|
console.log(chalk.gray(' - Provider URL ve API key ayarlayın:'));
|
|
637
637
|
console.log(chalk.cyan(' natureco config set providerUrl https://api.groq.com/openai/v1'));
|
|
638
638
|
console.log(chalk.cyan(' natureco config set providerApiKey gsk_xxx'));
|
|
639
|
-
console.log(chalk.cyan(' natureco config set providerModel llama-3.
|
|
639
|
+
console.log(chalk.cyan(' natureco config set providerModel llama-3.3-70b-versatile'));
|
|
640
640
|
console.log('');
|
|
641
641
|
}
|
|
642
642
|
|
package/src/utils/api.js
CHANGED
|
@@ -359,7 +359,7 @@ function getProviderConfig() {
|
|
|
359
359
|
return {
|
|
360
360
|
url: config.providerUrl,
|
|
361
361
|
apiKey: config.providerApiKey,
|
|
362
|
-
model: config.providerModel || 'llama-3.
|
|
362
|
+
model: config.providerModel || 'llama-3.3-70b-versatile',
|
|
363
363
|
isAnthropic: config.providerUrl.includes('anthropic.com')
|
|
364
364
|
};
|
|
365
365
|
}
|
|
@@ -369,7 +369,7 @@ function getProviderConfig() {
|
|
|
369
369
|
return {
|
|
370
370
|
url: 'https://api.groq.com/openai/v1',
|
|
371
371
|
apiKey: config.groqApiKey,
|
|
372
|
-
model: config.groqModel || 'llama-3.
|
|
372
|
+
model: config.groqModel || 'llama-3.3-70b-versatile',
|
|
373
373
|
isAnthropic: false
|
|
374
374
|
};
|
|
375
375
|
}
|
|
@@ -527,7 +527,7 @@ async function sendMessageToProvider(apiKey, message, conversationId = null, sys
|
|
|
527
527
|
'Provider not configured. Set with:\n' +
|
|
528
528
|
' natureco config set providerUrl https://api.groq.com/openai/v1\n' +
|
|
529
529
|
' natureco config set providerApiKey gsk_xxx\n' +
|
|
530
|
-
' natureco config set providerModel llama-3.
|
|
530
|
+
' natureco config set providerModel llama-3.3-70b-versatile'
|
|
531
531
|
);
|
|
532
532
|
}
|
|
533
533
|
|