We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e776c3c commit 479d1ddCopy full SHA for 479d1dd
src/components/AssistantTextProcessingForm.vue
@@ -389,7 +389,9 @@ export default {
389
tt.inputShape.style_input.placeholder = t('assistant', 'Shakespeare or an example of the style')
390
tt.inputShape.source_input.placeholder = t('assistant', 'A description of what you need or some original content')
391
} else if (tt.id === 'core:text2text:translate') {
392
- tt.inputShapeDefaults.origin_language = 'detect_language'
+ if (!tt.inputShapeDefaults.origin_language) {
393
+ tt.inputShapeDefaults.origin_language = tt.inputShapeEnumValues.origin_language[0].value
394
+ }
395
const defaultTargetLanguage = OCA.Assistant.last_target_language
396
if (defaultTargetLanguage) {
397
tt.inputShapeDefaults.target_language = defaultTargetLanguage
0 commit comments