Change saving

This commit is contained in:
kwaroran
2024-11-02 01:46:21 +09:00
parent d487bf298b
commit efbda2333d
65 changed files with 184 additions and 121 deletions

View File

@@ -1,5 +1,5 @@
import localforage from "localforage";
import { globalFetch } from "src/ts/globalApi";
import { globalFetch } from "src/ts/globalApi.svelte";
import { runEmbedding } from "../transformers";
import { alertError } from "src/ts/alert";
import { appendLastPath } from "src/ts/util";

View File

@@ -3,7 +3,7 @@ import type { OpenAIChat } from "../index.svelte";
import type { ChatTokenizer } from "src/ts/tokenizer";
import { requestChatData } from "../request";
import { HypaProcesser } from "./hypamemory";
import { globalFetch } from "src/ts/globalApi";
import { globalFetch } from "src/ts/globalApi.svelte";
import { runSummarizer } from "../transformers";
export interface HypaV2Data {

View File

@@ -4,7 +4,7 @@ import { tokenize, type ChatTokenizer } from "../../tokenizer";
import { requestChatData } from "../request";
import { HypaProcesser } from "./hypamemory";
import { stringlizeChat } from "../stringlize";
import { globalFetch } from "src/ts/globalApi";
import { globalFetch } from "src/ts/globalApi.svelte";
import { runSummarizer } from "../transformers";
import { getUserName } from "src/ts/util";