Lint
This commit is contained in:
parent
aa94788573
commit
95ce41116b
|
@ -4,7 +4,7 @@
|
|||
import { addChat, cleanSettingValue, setChatSettingValue } from './Storage.svelte'
|
||||
import type { Chat, ChatSetting, ChatSettings, SettingPrompt } from './Types.svelte'
|
||||
import { autoGrowInputOnEvent } from './Util.svelte'
|
||||
import { replace } from 'svelte-spa-router';
|
||||
import { replace } from 'svelte-spa-router'
|
||||
|
||||
export let setting:ChatSetting
|
||||
export let chatSettings:ChatSettings
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
import { afterUpdate } from 'svelte'
|
||||
import ChatSettingField from './ChatSettingField.svelte'
|
||||
import { getModelMaxTokens } from './Stats.svelte'
|
||||
import { replace } from 'svelte-spa-router';
|
||||
import { replace } from 'svelte-spa-router'
|
||||
|
||||
export let chatId:number
|
||||
export const show = () => { showSettings() }
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
return chatId
|
||||
}
|
||||
|
||||
export const addChat = (profile:ChatSettings|undefined=undefined): number => {
|
||||
export const addChat = (profile:ChatSettings|undefined = undefined): number => {
|
||||
const chats = get(chatsStorage)
|
||||
|
||||
// Find the max chatId
|
||||
|
|
Loading…
Reference in New Issue