refactor: extract HypaV3 modal into separate component

This commit is contained in:
Bo26fhmC5M
2025-01-14 13:01:14 +09:00
parent 030e802122
commit a10a2c5502
3 changed files with 249 additions and 172 deletions

View File

@@ -1,20 +1,20 @@
import {
getDatabase,
type Chat,
type character,
type groupChat,
} from "src/ts/storage/database.svelte";
import {
type VectorArray,
type memoryVector,
HypaProcesser,
} from "./hypamemory";
import type { OpenAIChat } from "../index.svelte";
import {
type Chat,
type character,
type groupChat,
getDatabase,
} from "src/ts/storage/database.svelte";
import { type OpenAIChat } from "../index.svelte";
import { requestChatData } from "../request";
import { runSummarizer } from "../transformers";
import { globalFetch } from "src/ts/globalApi.svelte";
import { parseChatML } from "src/ts/parser.svelte";
import type { ChatTokenizer } from "src/ts/tokenizer";
import { type ChatTokenizer } from "src/ts/tokenizer";
interface Summary {
text: string;