mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-02-07 23:58:42 +01:00
Placeholder for Pygmalion character source
This commit is contained in:
parent
91d6a139e5
commit
26c0886856
@ -1390,12 +1390,18 @@ function getCharacterSource(chId = this_chid) {
|
||||
return '';
|
||||
}
|
||||
|
||||
const chubId = characters[this_chid]?.data?.extensions?.chub?.full_path;
|
||||
const chubId = characters[chId]?.data?.extensions?.chub?.full_path;
|
||||
|
||||
if (chubId) {
|
||||
return `https://chub.ai/characters/${chubId}`;
|
||||
}
|
||||
|
||||
const pygmalionId = characters[chId]?.data?.extensions?.pygmalion_id;
|
||||
|
||||
if (pygmalionId) {
|
||||
return `https://pygmalion.chat/${pygmalionId}`;
|
||||
}
|
||||
|
||||
return '';
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user