ai-renamer
Advanced tools
Comparing version 1.0.16 to 1.0.17
{ | ||
"version": "1.0.16", | ||
"version": "1.0.17", | ||
"license": "GPL-3.0", | ||
@@ -4,0 +4,0 @@ "name": "ai-renamer", |
@@ -26,3 +26,4 @@ const ollama = require('ollama').default | ||
const res = await ollama.generate({ model, prompt, images }) | ||
const text = res.response.trim() | ||
const maxChars = chars + 10 | ||
const text = res.response.trim().slice(-maxChars) | ||
const filename = await changeCase({ text, _case }) | ||
@@ -29,0 +30,0 @@ return filename |
@@ -23,2 +23,5 @@ module.exports = [ | ||
// notebooks | ||
'.ipynb', | ||
// other | ||
@@ -25,0 +28,0 @@ '.txt', '.log', '.diff', '.patch', '.proto', '.tex', |
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
49287
328