diff --git a/Dockerfile b/Dockerfile index 4c5f4eb65..f692c9245 100644 --- a/Dockerfile +++ b/Dockerfile @@ -23,7 +23,7 @@ COPY . ./ # Copy default chats, characters and user avatars to .default folder RUN \ - IFS="," RESOURCES="characters,chats,groups,group chats,User Avatars,settings.json" && \ + IFS="," RESOURCES="characters,chats,groups,group chats,User Avatars,worlds,settings.json" && \ \ echo "*** Store default $RESOURCES in .default ***" && \ for R in $RESOURCES; do mv "public/$R" "public/$R.default"; done && \ diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml index 9b91526c4..38a86f54b 100644 --- a/docker/docker-compose.yml +++ b/docker/docker-compose.yml @@ -4,7 +4,7 @@ services: build: .. container_name: sillytavern hostname: sillytavern - image: cohee1207/sillytavern:latest + image: sillytavern/sillytavern:latest ports: - "8000:8000" volumes: diff --git a/public/scripts/extensions/infinity-context/index.js b/public/scripts/extensions/infinity-context/index.js index b8ccd5704..9dcf00704 100644 --- a/public/scripts/extensions/infinity-context/index.js +++ b/public/scripts/extensions/infinity-context/index.js @@ -503,7 +503,7 @@ jQuery(async () => { Purge Chat from the DB - Since ChromaDB state is not persisted to disk by default, you'll need to inject text data every time the Extras API server is restarted. + Local ChromaDB now persists to disk by default. The default folder is .chroma_db, and you can set a different folder with the --chroma-folder argument. If you are using the Extras Colab notebook, you will need to inject the text data every time the Extras API server is restarted.
diff --git a/public/scripts/group-chats.js b/public/scripts/group-chats.js index a6c4bd093..0e08d9212 100644 --- a/public/scripts/group-chats.js +++ b/public/scripts/group-chats.js @@ -516,6 +516,8 @@ async function generateGroupWrapper(by_auto_mode, type = null, params = {}) { setCharacterId(chId); setCharacterName(characters[chId].name) + Generate(generateType, { automatic_trigger: by_auto_mode, ...(params || {}) }); + if (type !== "swipe" && type !== "impersonate" && !isMultigenEnabled() && !isStreamingEnabled()) { // update indicator and scroll down typingIndicator @@ -527,8 +529,6 @@ async function generateGroupWrapper(by_auto_mode, type = null, params = {}) { }); } - Generate(generateType, { automatic_trigger: by_auto_mode, ...(params || {}) }); - // TODO: This is awful. Refactor this while (true) { deactivateSendButtons(); diff --git a/public/scripts/utils.js b/public/scripts/utils.js index d9b921ccc..1ecde14cc 100644 --- a/public/scripts/utils.js +++ b/public/scripts/utils.js @@ -162,7 +162,7 @@ export function saveCaretPosition(element) { end: range.endOffset }; - console.log('Caret saved', position); + console.debug('Caret saved', position); return position; } @@ -174,7 +174,7 @@ export function restoreCaretPosition(element, position) { return; } - console.log('Caret restored', position); + console.debug('Caret restored', position); // Create a new range object const range = new Range();