Commit Graph

2152 Commits

Author SHA1 Message Date
kwaroran
6b91875547 Update chatTemplate.ts with additional templates 2024-04-20 22:30:58 +09:00
kwaroran
5ac4d130e5 Update chatTemplate.ts with vicuna and alpaca 2024-04-20 20:44:30 +09:00
kwaroran
98aa9cb951 Fix oobamode chat formating 2024-04-20 19:49:23 +09:00
kwaroran
b1390ed530 Add instructChatTemplate default value 2024-04-20 19:45:37 +09:00
kwaroran
b16359ecfa Update version numbers to 1.97.0 2024-04-20 19:42:17 +09:00
kwaroran
c9011da053 Add Jinja based formating 2024-04-20 19:27:17 +09:00
kwaroran
8ea0154b0c Update version numbers to 1.96.0 2024-04-19 13:39:51 +09:00
kwaroran
f1c75498ec Update version numbers to 1.95.7 2024-04-19 13:36:31 +09:00
kwaroran
da272d83d8 Add custom tokenizers 2024-04-19 13:35:56 +09:00
kwaroran
b291242830 Update AI model settings in BotSettings.svelte 2024-04-19 13:27:22 +09:00
kwaroran
9b7a9c788c Add AI model settings to BotSettings.svelte and request.ts 2024-04-19 13:24:29 +09:00
kwaroran
bea4c5386b Update isLastCharPunctuation function in util.ts 2024-04-19 13:16:06 +09:00
kwaroran
0ff98deb9b Merge branch 'main' of https://github.com/kwaroran/RisuAI 2024-04-18 22:47:40 +09:00
kwaroran
354bcbd88b Add removeIncompleteResponse 2024-04-18 22:47:38 +09:00
kwaroran
d4009b43a0 Bump vite from 5.0.11 to 5.0.13 (#370)
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite)
from 5.0.11 to 5.0.13.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/vitejs/vite/blob/v5.0.13/packages/vite/CHANGELOG.md">vite's
changelog</a>.</em></p>
<blockquote>
<h2><!-- raw HTML omitted -->5.0.13 (2024-03-24)<!-- raw HTML omitted
--></h2>
<ul>
<li>fix: <code>fs.deny</code> with globs with directories (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/16250">#16250</a>)
(<a href="https://github.com/vitejs/vite/commit/d2db33f">d2db33f</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/16250">#16250</a></li>
</ul>
<h2><!-- raw HTML omitted -->5.0.12 (2024-01-19)<!-- raw HTML omitted
--></h2>
<ul>
<li>fix: await <code>configResolved</code> hooks of worker plugins (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/15597">#15597</a>)
(<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/15605">#15605</a>)
(<a href="https://github.com/vitejs/vite/commit/ef89f80">ef89f80</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/15597">#15597</a>
<a
href="https://redirect.github.com/vitejs/vite/issues/15605">#15605</a></li>
<li>fix: fs deny for case insensitive systems (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/15653">#15653</a>)
(<a href="https://github.com/vitejs/vite/commit/91641c4">91641c4</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/15653">#15653</a></li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="80b1b07915"><code>80b1b07</code></a>
release: v5.0.13</li>
<li><a
href="d2db33f7d4"><code>d2db33f</code></a>
fix: <code>fs.deny</code> with globs with directories (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/16250">#16250</a>)</li>
<li><a
href="ee81e19676"><code>ee81e19</code></a>
release: v5.0.12</li>
<li><a
href="91641c4da0"><code>91641c4</code></a>
fix: fs deny for case insensitive systems (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/15653">#15653</a>)</li>
<li><a
href="ef89f8092f"><code>ef89f80</code></a>
fix: await <code>configResolved</code> hooks of worker plugins (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/15597">#15597</a>)
(<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/15605">#15605</a>)</li>
<li>See full diff in <a
href="https://github.com/vitejs/vite/commits/v5.0.13/packages/vite">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=vite&package-manager=npm_and_yarn&previous-version=5.0.11&new-version=5.0.13)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
You can disable automated security fix PRs for this repo from the
[Security Alerts
page](https://github.com/kwaroran/RisuAI/network/alerts).

</details>
2024-04-18 22:27:26 +09:00
kwaroran
a42c74f51f Update version numbers to 1.95.6 2024-04-18 22:27:04 +09:00
kwaroran
0a2fd4a4c2 Add autoContinueChat setting 2024-04-18 22:25:22 +09:00
kwaroran
f47f2e95a5 Fix autoContinueMinTokens 2024-04-18 22:06:29 +09:00
dependabot[bot]
bc13f1762c Bump vite from 5.0.11 to 5.0.13
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 5.0.11 to 5.0.13.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/v5.0.13/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v5.0.13/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-18 04:46:02 +00:00
kwaroran
44f3d3980c Update version numbers to 1.95.5 2024-04-18 13:39:52 +09:00
kwaroran
83f0cb005c Add autoContinueMinTokens setting 2024-04-18 13:37:46 +09:00
kwaroran
19a921158d Update version numbers to 1.95.4 2024-04-18 11:49:06 +09:00
kwaroran
0f2cbd0a81 Change postEverything handling in importPreset function 2024-04-18 11:47:14 +09:00
kwaroran
9657f7cc74 Add prefill_supported 2024-04-18 11:46:03 +09:00
kwaroran
72c69b3bef Add assistant prefill support 2024-04-18 11:44:22 +09:00
kwaroran
9eb6e38611 Add enabled checking 2024-04-18 11:42:12 +09:00
kwaroran
ffe4c5719e Update version numbers to 1.95.3 2024-04-17 21:13:50 +09:00
kwaroran
4e5df79cb0 Merge branch 'main' of https://github.com/kwaroran/RisuAI 2024-04-17 21:01:59 +09:00
kwaroran
4f8477538d add ollama package and support for ollama-hosted model 2024-04-17 21:01:56 +09:00
kwaroran
bffafc31ff add aws opus (#363)
# 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

![image](https://github.com/kwaroran/RisuAI/assets/133192207/863f5f58-69ff-4e81-97fb-c7212f1f8503)
2024-04-17 10:45:29 +09:00
kwaroran
e10723aec5 Update version numbers to 1.95.2 2024-04-17 10:43:21 +09:00
kwaroran
b17b980227 revert lorebook decorator handling for now 2024-04-17 10:42:56 +09:00
kwaroran
e6dcedb86a Add support for Gemini 1.5 Pro in ModelList.svelte and request.ts 2024-04-17 10:39:37 +09:00
kwaroran
c805e63c60 Add support for Gemini Pro 1.5 in ModelList.svelte and request.ts 2024-04-17 10:38:23 +09:00
kwaroran
58fe5bee5f Merge branch 'main' of https://github.com/kwaroran/RisuAI 2024-04-17 10:33:37 +09:00
kwaroran
afb9601d82 Add decorator functions 2024-04-17 10:33:35 +09:00
bangonicdd
b2c186eb8b add aws opus 2024-04-17 00:53:18 +09:00
kwaroran
e754eca917 Add exception on logit_bias for gpt-4-turbo (#360)
# 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
As gpt-4-turbo model can both receive logit_bias and inlay image, I make
some exceptions from removing bias on the request.
I check it run well with proxy, but not tested with API key, so testing
with official API is needed before merge.
2024-04-16 11:58:00 +09:00
IHaBiS02
ad9d4cbab9 Merge branch 'kwaroran:main' into main 2024-04-16 06:07:28 +09:00
kwaroran
ccb45ce2c5 Fix error handling in requestChatDataMain function 2024-04-16 00:00:05 +09:00
kwaroran
d93fd7b191 Refactor loadLoreBookPrompt function in lorebook.ts 2024-04-15 23:58:57 +09:00
kwaroran
706e208f53 Refactor loadLoreBookPrompt function in lorebook.ts 2024-04-15 23:51:57 +09:00
kwaroran
3f2aa38167 Update version numbers to 1.95.1 2024-04-13 17:29:12 +09:00
kwaroran
c810a64a0f Fix condition in supaMemory.ts to use greater than instead of less than 2024-04-13 17:28:55 +09:00
IHaBiS02
6cf004cdbc Fix typo 2024-04-11 22:42:28 +09:00
IHaBiS02
19d336820c Add logit_bias supports for gpt-4-turbo 2024-04-11 22:40:48 +09:00
kwaroran
c4f1f6d28b Update importCharacter function to allow multiple file selection 2024-04-11 09:13:15 +09:00
kwaroran
8c0fe0d795 Update version numbers to 1.95.0 2024-04-11 06:06:26 +09:00
kwaroran
386129626f Refactor additionalClass parameter to be className for clarity 2024-04-11 05:46:10 +09:00
kwaroran
35af70f70f Fix hypamemory duplication problem 2024-04-11 05:42:34 +09:00