Skip to content

Commit

Permalink
1.59.1 (#361)
Browse files Browse the repository at this point in the history
# 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
  • Loading branch information
kwaroran authored Apr 13, 2024
2 parents 02e487f + 3f2aa38 commit fe3def0
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src-tauri/tauri.conf.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
},
"package": {
"productName": "RisuAI",
"version": "1.95.0"
"version": "1.95.1"
},
"tauri": {
"allowlist": {
Expand Down
2 changes: 1 addition & 1 deletion src/ts/characterCards.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export const hubURL = "https://sv.risuai.xyz"

export async function importCharacter() {
try {
const files = await selectFileByDom(['png', 'json'])
const files = await selectFileByDom(['png', 'json'], 'multiple')
if(!files){
return
}
Expand Down
2 changes: 1 addition & 1 deletion src/ts/process/memory/supaMemory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ export async function supaMemory(
while(currentTokens > maxContextTokens){
const beforeToken = currentTokens
let maxChunkSize = Math.floor(maxContextTokens / 3)
if(db.maxSupaChunkSize > maxChunkSize){
if(db.maxSupaChunkSize < maxChunkSize){
maxChunkSize = db.maxSupaChunkSize
}
let summarized = false
Expand Down
2 changes: 1 addition & 1 deletion src/ts/storage/database.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import type { OobaChatCompletionRequestParams } from '../model/ooba';

export const DataBase = writable({} as any as Database)
export const loadedStore = writable(false)
export let appVer = "1.95.0"
export let appVer = "1.95.1"
export let webAppSubVer = ''

export function setDatabase(data:Database){
Expand Down
2 changes: 1 addition & 1 deletion version.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"version":"1.95.0"}
{"version":"1.95.1"}

0 comments on commit fe3def0

Please sign in to comment.