3760 Commits

Author SHA1 Message Date
cloak1505
e1c43e5a8e Add trailing comma
Better practice, and prevents <Arcodion> from being diff'd as a changed line.
2025-03-07 12:39:10 -06:00
cloak1505
de5ce61f3a Update providers list in OpenrouterSettings.svelte 2025-03-07 11:43:50 -06:00
chatbung
3e6e3172d8 fix:
existing character chat folder
2025-03-05 12:56:00 +09:00
Kwaroran
6d1482b80e chore: update application version to 151.1.0 2025-03-05 06:35:05 +09:00
Kwaroran
30ce63bfcd Add gpt 4.5 2025-03-05 06:34:49 +09:00
Kwaroran
17bd35e452 Revert #773 f7ea95aeea due to critical bug 2025-03-05 06:30:57 +09:00
Kwaroran
5026a96ce9 chore: update application version to 151.0.0 2025-03-05 05:42:20 +09:00
Kwaroran
3d8b410d03 feat: integrate local activation state into global lorebook rendering 2025-03-05 05:41:41 +09:00
Kwaroran
6ed005b733 feat: add local activation option in global lorebook settings 2025-03-05 05:41:04 +09:00
kwaroran
90a744a0f1 Fix Docker image build error (#774)
# PR Checklist
- [ ] Have you checked if it works normally in all models? *Ignore this
if it doesn't use models.*
- [ ] Have you checked if it works normally in all web, local, and node
hosted versions? If it doesn't, have you blocked it in those versions?
- [ ] Have you added type definitions?

# Description

This PR fixes #749.
The npm registry key rotation caused the issue. Bumping Corepack to >=
0.31.0 fixes it.
2025-03-05 05:39:11 +09:00
kwaroran
babc18a830 Optimize chat rendering and performance with caching and lazy loading (#773)
# PR Checklist
- [ ] Have you checked if it works normally in all models? *Ignore this
if it doesn't use models.*
- [x] Have you checked if it works normally in all web, local, and node
hosted versions? If it doesn't, have you blocked it in those versions?
- [x] Have you added type definitions?

# Description
Enhance chat application efficiency by implementing caching for markdown
parsing and message forms, along with lazy loading and virtual scrolling
for improved performance in large chat histories. Introduce a cleanup
mechanism for cache management.
2025-03-05 05:39:00 +09:00
kwaroran
7c0a2337fa feat: aws sonnet 3.7 + legacy (#772)
# PR Checklist
- [ ] Have you checked if it works normally in all models? *Ignore this
if it doesn't use models.*
- [ ] Have you checked if it works normally in all web, local, and node
hosted versions? If it doesn't, have you blocked it in those versions?
- [ ] Have you added type definitions?

# Description
This PR aims to enable the use of the newly added claude 3.7 sonnet
model (and some legacys (¬‿¬)) on AWS.
2025-03-05 05:38:29 +09:00
kwaroran
fe81ae9312 feat: add local activation for lorebook (#767)
# PR Checklist
- [x] Have you checked if it works normally in all models? *Ignore this
if it doesn't use models.*
- [x] Have you checked if it works normally in all web, local, and node
hosted versions? If it doesn't, have you blocked it in those versions?
- [x] Have you added type definitions?

# Description
This PR adds a toggle to enable lore books specifically for the current
chat session. This feature is expected to be particularly useful for
simulator-style chatbots as it allows users to select and activate
specific lore books for each chat from a pre-configured set. If you have
other idea, feel free to give any feedback or suggestions on this.


![image](https://github.com/user-attachments/assets/8b887b79-2bd0-40d5-914d-d3b901e4b71e)

![image](https://github.com/user-attachments/assets/fbb34bca-0a54-4698-9156-68e258bff97e)

![image](https://github.com/user-attachments/assets/eb98a81d-d248-4738-b142-22023feb0c66)
2025-03-05 05:38:17 +09:00
kwaroran
ff20d07829 Merge branch 'main' into local_lore2 2025-03-05 05:38:11 +09:00
kwaroran
f0692c03d5 feat: Chat Folder (#766)
# PR Checklist
- [x] Have you checked if it works normally in all models? *Ignore this
if it doesn't use models.*
- [x] Have you checked if it works normally in all web, local, and node
hosted versions? If it doesn't, have you blocked it in those versions?
- [x] Have you added type definitions?

# Description

<img width="369" alt="스크린샷 2025-02-19 오후 5 11 42"
src="https://github.com/user-attachments/assets/f6819d88-e417-47d4-9f69-888e9aab21f7"
/>
<img width="369" alt="스크린샷 2025-02-19 오후 5 11 54"
src="https://github.com/user-attachments/assets/b867f97e-f9bb-4964-ba9e-a34171e79ffe"
/>

이 PR은 챗을 분류하는 폴더를 추가합니다. 폴더에는 색상을 넣을 수 있습니다.

This PR adds a folder to categorize chats. Folders can be colored. I'm
open to any feedback or suggestions.
2025-03-05 05:37:42 +09:00
kwaroran
a4bbf1ad19 feat: add support for OpenAI-compatible embedding API (#776)
# PR Checklist
- [x] Have you checked if it works normally in all models? *Ignore this
if it doesn't use models.*
- [x] Have you checked if it works normally in all web, local, and node
hosted versions? If it doesn't, have you blocked it in those versions?
- [ ] Have you added type definitions?

# Preview

![preview](https://github.com/user-attachments/assets/ce0130ae-e340-465e-8b06-9a680e229b63)

# Description
This PR introduces support for OpenAI-compatible embedding API
2025-03-05 05:37:32 +09:00
Bo26fhmC5M
1775591ef0 feat: add support for OpenAI-compatible embedding API 2025-02-27 23:27:50 +09:00
broot5
99e659c27d Update Dockerfile
use latest corepack
2025-02-26 22:26:15 +09:00
Kwaroran
929108def3 Add error handling 2025-02-26 12:22:10 +09:00
Kwaroran
bf5ad6dfd1 bump version to 150.4.1 2025-02-26 12:20:15 +09:00
Kwaroran
4e69ee6445 refactor: remove unnecessary controller.enqueue calls and optimize text handling 2025-02-26 12:19:34 +09:00
Junha Heo
f7ea95aeea feat: Optimize chat rendering and performance with caching and lazy loading
- Implement markdown parsing cache in Chat.svelte to reduce redundant processing
- Add virtual scrolling and asynchronous loading in DefaultChatScreen.svelte
- Create message form cache mechanism in util.ts to improve rendering efficiency
- Introduce loading state and performance optimizations for large chat histories
2025-02-26 11:32:20 +09:00
Kwaroran
429022ba6f bump version to 150.4.0 2025-02-26 09:35:00 +09:00
Kwaroran
5a4b7bbef2 Add anti server overload 2025-02-26 09:14:32 +09:00
Kwaroran
8e00540d6e Add status on GlobalFetch 2025-02-26 08:06:08 +09:00
Kwaroran
de6d9e1b2b feat: add loading screen and move stylesheet to index.html 2025-02-25 22:26:21 +09:00
bangonicdd
63f7e41df3 feat: aws sonnet 3.7 + legacy 2025-02-25 17:43:13 +09:00
Kwaroran
deec7c226c Update version and fix preset 2025-02-25 05:36:22 +09:00
Kwaroran
07717a7937 Merge branch 'main' of https://github.com/kwaroran/RisuAI 2025-02-25 05:27:24 +09:00
kwaroran
08f86f17da fix: force refresh modules after closing menu (#770)
# PR Checklist
- [ ] Have you checked if it works normally in all models? *Ignore this
if it doesn't use models.*
- [ ] Have you checked if it works normally in all web, local, and node
hosted versions? If it doesn't, have you blocked it in those versions?
- [ ] Have you added type definitions?

# Description
It seems modifying an already activated module is causing a
synchronization issue with the current chats. Correcting this should fix
it.
2025-02-25 05:27:13 +09:00
Kwaroran
6c72d78157 Add Sonnet 3.7 2025-02-25 05:25:34 +09:00
Kwaroran
21e311b7a4 Remove thought input in gemini 2025-02-25 04:41:12 +09:00
Kwaroran
fc80552749 feat: enhance tokenizeChat to accept optional countThoughts argument 2025-02-25 04:39:01 +09:00
Kwaroran
ed2957fc50 Upgrade translator playground 2025-02-25 04:36:58 +09:00
bangonicdd
a45a3925c2 refactor: cleanup lore local activation 2025-02-24 17:00:48 +09:00
bangonicdd
d584139047 revert: make always deduplicate modules 2025-02-23 21:39:41 +09:00
bangonicdd
abf4cdda9d fix: force refresh modules after closing menu 2025-02-23 20:35:39 +09:00
bangonicdd
0f1d243935 fix: naming to lower camel case in current PR 2025-02-22 01:26:12 +09:00
bangonicdd
77a36f5a7f fix: issue of local lore deactive in prev commit 2025-02-21 21:13:57 +09:00
bangonicdd
b10fccd3c4 feat: add local activation for lorebook 2025-02-21 21:01:20 +09:00
Kwaroran
2af57d3c67 Add new google translaor 2025-02-21 02:38:55 +09:00
chatbung
eba47ab611 fix: importChat() 2025-02-20 12:16:58 +09:00
Kwaroran
94e23543dd Add ExperimentalGoogleTranslator 2025-02-20 04:06:35 +09:00
chatbung
bbcd952c1b fix: folder color 2025-02-19 16:59:38 +09:00
Kwaroran
0a2e4fd04c feat: add download and update URLs to userscript metadata 2025-02-19 16:51:06 +09:00
Kwaroran
52225dec97 feat: update userscript to use userScriptFetch and add metadata 2025-02-19 16:49:03 +09:00
Kwaroran
52363552de fix: update fetchWithUSFetch assignment to use unsafeWindow 2025-02-19 16:43:04 +09:00
Kwaroran
c6daf369e3 Add Userscript proxy 2025-02-19 16:40:21 +09:00
chatbung
f9be5d3710 feat: add folder color 2025-02-19 16:29:57 +09:00
chatbung
e5e86a9c9b feat: chat folder 2025-02-19 13:30:34 +09:00