ai-renamer
Advanced tools
Comparing version 1.0.2 to 1.0.3
{ | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"license": "GPL-3.0", | ||
@@ -4,0 +4,0 @@ "name": "ai-renamer", |
@@ -39,3 +39,2 @@ const ollama = require('ollama').default | ||
const model = await chooseModel({ models }) | ||
console.log(`⚪ Chosen model: ${model}`) | ||
if (!model) throw new Error('🔴 No suitable model found') | ||
@@ -42,0 +41,0 @@ |
@@ -7,6 +7,10 @@ const path = require('path') | ||
module.exports = async ({ model: defaultModel, _case, inputPath }) => { | ||
module.exports = async ({ model: defaultModel, _case: defaultCase, inputPath }) => { | ||
try { | ||
const model = defaultModel || await chooseModel() | ||
console.log(`⚪ Chosen model: ${model}`) | ||
const _case = defaultCase || 'kebab-case' | ||
console.log(`⚪ Chosen case: ${_case}`) | ||
const stats = await fs.stat(inputPath) | ||
@@ -13,0 +17,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
43723
219