diff --git a/dashboard/src/views/PersonaPage.vue b/dashboard/src/views/PersonaPage.vue index c5ce73c34..18cc54452 100644 --- a/dashboard/src/views/PersonaPage.vue +++ b/dashboard/src/views/PersonaPage.vue @@ -383,8 +383,7 @@ export default { messageType: 'success', personaIdRules: [ v => !!v || this.tm('validation.required'), - v => (v && v.length >= 2) || this.tm('validation.minLength', { min: 2 }), - v => /^[a-zA-Z0-9_-]+$/.test(v) || this.tm('validation.alphanumeric') + v => (v && v.length >= 0) || this.tm('validation.minLength', { min: 2 }), ], systemPromptRules: [ v => !!v || this.tm('validation.required'),