Comparing version 1.0.4 to 1.1.1
@@ -36,3 +36,3 @@ "use strict"; | ||
const c = !context ? '' : `(context: ${context})`; | ||
const message = `Translate the following text ${c} to \`${l}\` language: "${text}"`; | ||
const message = `Translate the following text ${c} to \`${l}\` language: \n\n${text}`; | ||
return this.sendToClaude(message); | ||
@@ -39,0 +39,0 @@ } |
{ | ||
"name": "ai-driven", | ||
"version": "1.0.4", | ||
"version": "1.1.1", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "author": "Dimitry Ivanov <2@ivanoff.org.ua> # curl -A cv ivanoff.org.ua", |
@@ -21,3 +21,3 @@ # ai-driven | ||
console.log('Translated text:', translatedText); | ||
console.log(translatedText); // => Ciao, mondo! | ||
``` | ||
@@ -24,0 +24,0 @@ |
@@ -43,3 +43,3 @@ class Assistant { | ||
const c = !context ? '' : `(context: ${context})`; | ||
const message = `Translate the following text ${c} to \`${l}\` language: "${text}"`; | ||
const message = `Translate the following text ${c} to \`${l}\` language: \n\n${text}`; | ||
return this.sendToClaude(message); | ||
@@ -46,0 +46,0 @@ } |
Sorry, the diff of this file is not supported yet
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
18096