mirror of
https://github.com/vegu-ai/talemate.git
synced 2025-12-16 11:47:48 +01:00
when introducing a character without instructions send empty content
This commit is contained in:
@@ -276,7 +276,7 @@ export default {
|
|||||||
let payload = {};
|
let payload = {};
|
||||||
|
|
||||||
if(typeof name === 'string' && !advanced) {
|
if(typeof name === 'string' && !advanced) {
|
||||||
payload = { name: name };
|
payload = { name: name, content: " " };
|
||||||
} else if(typeof name === 'string' && advanced) {
|
} else if(typeof name === 'string' && advanced) {
|
||||||
return this.showAdvancedIntroduceCharacterDialog(name);
|
return this.showAdvancedIntroduceCharacterDialog(name);
|
||||||
} else if(typeof name === 'object') {
|
} else if(typeof name === 'object') {
|
||||||
|
|||||||
Reference in New Issue
Block a user