Change setDatabase and getDatabase to accessing dbState
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import { Template } from '@huggingface/jinja';
|
||||
import type { OpenAIChat } from '..';
|
||||
import type { OpenAIChat } from '../index.svelte';
|
||||
import { getCurrentCharacter, getDatabase } from 'src/ts/storage/database.svelte';
|
||||
import { getUserName } from 'src/ts/util';
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { risuChatParser } from "src/ts/parser"
|
||||
import { risuChatParser } from "src/ts/parser.svelte"
|
||||
import { getDatabase } from "src/ts/storage/database.svelte"
|
||||
|
||||
export function convertInterfaceToSchema(int:string){
|
||||
|
||||
Reference in New Issue
Block a user