Skip to content

Commit ccebb4d

Browse files
committed
Roll back couple of things
1 parent 8c8c8ba commit ccebb4d

File tree

6 files changed

+5
-16
lines changed

6 files changed

+5
-16
lines changed

src-tauri/tauri.conf.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
},
3030
"productName": "RisuAI",
3131
"mainBinaryName": "RisuAI",
32-
"version": "142.0.0",
32+
"version": "142.0.1",
3333
"identifier": "co.aiclient.risu",
3434
"plugins": {
3535
"updater": {

src/lib/Setting/Pages/BotSettings.svelte

-6
Original file line numberDiff line numberDiff line change
@@ -220,12 +220,6 @@
220220
{#if DBState.db.aiModel === 'reverse_proxy' || DBState.db.subModel === 'reverse_proxy'}
221221
<Check bind:check={DBState.db.reverseProxyOobaMode} name={`${language.reverseProxyOobaMode}`}/>
222222
{/if}
223-
{#if modelInfo.flags.includes(LLMFlags.poolSupported) && DBState.db.useExperimental}
224-
<Check bind:check={DBState.db.risuPool} name={language.APIPool}>
225-
<Help key="APIPool" />
226-
<Help key="experimental" />
227-
</Check>
228-
{/if}
229223
{#if modelInfo.provider === LLMProvider.NovelAI || subModelInfo.provider === LLMProvider.NovelAI}
230224
<Check bind:check={DBState.db.NAIadventure} name={language.textAdventureNAI}/>
231225

src/ts/process/request.ts

-5
Original file line numberDiff line numberDiff line change
@@ -1573,7 +1573,6 @@ async function requestGoogleCloudVertex(arg:RequestDataArgumentExtended):Promise
15731573
}
15741574

15751575
let url = ''
1576-
const pool = arg.modelInfo.flags.includes(LLMFlags.poolSupported) && db.risuPool && (!arg.customURL) && arg.modelInfo.format !== LLMFormat.VertexAIGemini
15771576

15781577
if(arg.customURL){
15791578
const u = new URL(arg.customURL)
@@ -1583,9 +1582,6 @@ async function requestGoogleCloudVertex(arg:RequestDataArgumentExtended):Promise
15831582
else if(arg.modelInfo.format === LLMFormat.VertexAIGemini){
15841583
url =`https://${REGION}-aiplatform.googleapis.com/v1/projects/${PROJECT_ID}/locations/us-central1/publishers/google/models/${arg.modelInfo.internalID}:streamGenerateContent`
15851584
}
1586-
else if(pool){
1587-
url = `https://sv.risuai.xyz/rapi/pool?model=${arg.modelInfo.internalID}&key=${db.google.accessToken}&type=google`
1588-
}
15891585
else{
15901586
url = `https://generativelanguage.googleapis.com/v1beta/models/${arg.modelInfo.internalID}:generateContent?key=${db.google.accessToken}`
15911587
}
@@ -1594,7 +1590,6 @@ async function requestGoogleCloudVertex(arg:RequestDataArgumentExtended):Promise
15941590
body: body,
15951591
chatId: arg.chatId,
15961592
abortSignal: arg.abortSignal,
1597-
plainFetchForce: pool
15981593
})
15991594

16001595
if(!res.ok){

src/ts/realm.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ export async function shareRealmCardData():Promise<{ name: ArrayBuffer; data: Ar
1818
const char = safeStructuredClone(getCurrentCharacter({snapshot:true})) as character
1919
const trimedName = char.name.replace(/[^a-zA-Z0-9]/g, '') || 'character';
2020
const writer = new VirtualWriter()
21-
const namebuf = new TextEncoder().encode(trimedName + '.charx')
22-
await exportCharacterCard(char, 'charx', {writer: writer, spec: 'v3'})
21+
const namebuf = new TextEncoder().encode(trimedName + '.png')
22+
await exportCharacterCard(char, 'png', {writer: writer, spec: 'v3'})
2323
alertStore.set({
2424
type: 'none',
2525
msg: ''

src/ts/storage/database.svelte.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import { defaultColorScheme, type ColorScheme } from '../gui/colorscheme';
1212
import type { PromptItem, PromptSettings } from '../process/prompt';
1313
import type { OobaChatCompletionRequestParams } from '../model/ooba';
1414

15-
export let appVer = "142.0.0"
15+
export let appVer = "142.0.1"
1616
export let webAppSubVer = ''
1717

1818

version.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"version":"142.0.0"}
1+
{"version":"142.0.1"}

0 commit comments

Comments
 (0)