Commit Graph

1766 Commits

Author SHA1 Message Date
kwaroran
5de39837ed Add CodeMirror based Highlighted editor (#325)
# PR Checklist
- [ ] Did you check if it works normally in all models? *ignore this
when it dosen't uses models*
- [ ] Did you check if it works normally in all of web, local and node
hosted versions? if it dosen't, did you blocked it in those versions?
- [ ] Did you added a type def?

# Description

![highlightedEditor](https://github.com/kwaroran/RisuAI/assets/18527479/17aa1b99-39b8-48c4-98b4-0c0e20dc1a44)

I have added an editor and settings that highlight asterisks, quotes,
and backticks, similar to AutoMark, using a CodeMirror-based editor.

1. Added the CodeMirror5 package
2. Added language and settings for "useAdvancedEditor"
3. Wrote AdvancedChatEditor.svelte

Thank you for your hard work on the project.
2024-03-25 02:26:22 +09:00
kwaroran
49ebc37978 add charjs apis for bgembed (#324)
# PR Checklist
- [x] Did you check if it works normally in all models? *ignore this
when it dosen't uses models*
- [x] Did you check if it works normally in all of web, local and node
hosted versions? if it dosen't, did you blocked it in those versions?
- [x] Did you added a type def?

# Description

It seems like someone is holding breath for this.

![output](https://github.com/kwaroran/RisuAI/assets/133192207/1da08982-8d95-4cbf-aa11-8ca3b0c8b671)
2024-03-25 02:01:57 +09:00
kwaroran
e78dfe2a21 Update version to 1.87.2 2024-03-24 19:40:59 +09:00
kwaroran
7e568cc0b8 Refactor risuChatParser usage in processScriptFull function 2024-03-24 19:40:40 +09:00
kwaroran
342052a0a4 Add exponentiation operator to toRPN and calculateRPN functions 2024-03-24 19:19:42 +09:00
kwaroran
fd50692ab0 Fix number parsing in parser.ts 2024-03-24 19:11:14 +09:00
kwaroran
dde5e66954 Update version to 1.87.1 2024-03-24 19:09:49 +09:00
kwaroran
008827c9b5 Add 'tonumber' function to parser.ts 2024-03-24 19:08:19 +09:00
ModMapper
580cd3e1a7 Add CodeMirror based Highlighted editor 2024-03-23 18:41:36 +09:00
bangonicdd
f6fa2c60b6 add charjs apis for bgembed 2024-03-23 18:08:03 +09:00
kwaroran
2fe9ca2704 Revert workflow_dispatch from push event 2024-03-21 18:38:09 +09:00
kwaroran
a789af5bae Update workflow_dispatch branch configuration 2024-03-21 18:37:16 +09:00
kwaroran
e3edb87acd Add workflow_dispatch to push event for production branch 2024-03-21 17:39:58 +09:00
kwaroran
d69b54e335 Update version to 1.87.0 2024-03-21 03:35:52 +09:00
kwaroran
82e5e48ae3 Add height mode option to advanced settings 2024-03-21 03:32:43 +09:00
kwaroran
495dd64eb7 Make request GET method and fix fullscreen 2024-03-21 03:27:22 +09:00
kwaroran
327cd701b0 fix supportsInlayImage 2024-03-20 21:14:42 +09:00
kwaroran
895543355f Add support for JSON values in additionalParams 2024-03-20 21:06:30 +09:00
kwaroran
5bede2b90a Change Reverse proxy name to Custom and add additionalParams 2024-03-20 21:02:34 +09:00
kwaroran
ef811b5b57 Bump version to 1.86.1 2024-03-19 23:02:58 +09:00
kwaroran
0131244dbf Refactor chat message retrieval in parser.ts 2024-03-19 20:46:10 +09:00
kwaroran
784d9c8cd1 Make plain fetch to not log dude to errors 2024-03-19 18:43:23 +09:00
kwaroran
c10200dc26 Fix patchNote.ts to version 1.86 2024-03-19 15:30:15 +09:00
kwaroran
92d2619eac Fix conditional rendering in Chat.svelte 2024-03-19 15:30:01 +09:00
kwaroran
02db15d53c Update patchNote.ts 2024-03-19 15:24:25 +09:00
kwaroran
573fd8c2df Update version to 1.86.0 2024-03-19 15:22:01 +09:00
kwaroran
d7b5adda98 Add color scheme export and import functionality 2024-03-19 15:21:19 +09:00
kwaroran
04b7f29d28 Update UI size label in DisplaySettings.svelte 2024-03-19 15:15:27 +09:00
kwaroran
80b8198927 Implement custom color scheme functionality 2024-03-19 15:14:33 +09:00
kwaroran
68a5d90c38 Add language translations for "Log" 2024-03-19 15:00:12 +09:00
kwaroran
31856a9c48 Add generation info viewer 2024-03-19 14:50:48 +09:00
kwaroran
eddd7afa3c Add AppendableBuffer class and modify pipeFetchLog function 2024-03-19 12:32:04 +09:00
kwaroran
5963513925 implement fetch log for streamed responses 2024-03-19 03:02:17 +09:00
kwaroran
bdfdf5141a Add request info inside chat feature 2024-03-19 02:43:39 +09:00
kwaroran
0dce52ee7b Refactor encodeMultilangString function to remove unnecessary trim() call 2024-03-19 02:12:33 +09:00
kwaroran
4dd541e65e Fix empty value for 'en' in MultiLangInput.svelte 2024-03-19 02:11:52 +09:00
kwaroran
e90d422586 Refactor getModelName function to import from "src/ts/model/names" 2024-03-19 02:08:26 +09:00
kwaroran
ba43ea825b Add previous_chat_log cbs 2024-03-18 21:09:18 +09:00
kwaroran
7c4bc8d2f1 Add April Fool's Day easter egg 2024-03-18 21:06:22 +09:00
kwaroran
b45e075b0f Bump to 1.85.0 2024-03-18 00:28:13 +09:00
kwaroran
2fee3aa70f Add image input display 2024-03-18 00:25:18 +09:00
kwaroran
c4e0404024 Make inlay option enable by default 2024-03-18 00:06:42 +09:00
kwaroran
6e5465356a Refactor inlay image parsing and add image embedding functionality 2024-03-18 00:05:03 +09:00
kwaroran
1954a79bd0 move transformers.ts 2024-03-17 23:55:55 +09:00
kwaroran
9d7c300ec6 Fix parsing issue in MultiLangDisplay and MultiLangInput 2024-03-17 23:52:52 +09:00
kwaroran
dbe1a45317 Refactor multimodal and add claude-3 vision support 2024-03-17 23:48:24 +09:00
kwaroran
859069f112 Update patchNote 2024-03-17 18:02:00 +09:00
kwaroran
1e1a075c1a Update version to 1.84.0 2024-03-17 17:57:30 +09:00
kwaroran
049cd1e5a6 Remove checkOldDomain function 2024-03-17 17:57:08 +09:00
kwaroran
f0021dd501 fix claude requesting as stream when stream isn't able 2024-03-17 17:56:24 +09:00