mirror of
https://github.com/morgan9e/chatgpt-web
synced 2026-04-13 16:04:05 +09:00
set default token to empty string
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
export const chatsStorage = persisted('chats', [] as Chat[])
|
||||
export const latestModelMap = persisted('latestModelMap', {} as Record<Model, Model>) // What was returned when a model was requested
|
||||
export const globalStorage = persisted('global', {} as GlobalSettings)
|
||||
const apiKeyFromEnv = import.meta.env.OPENAI_API_KEY || 'some default token'
|
||||
const apiKeyFromEnv = import.meta.env.OPENAI_API_KEY || ''
|
||||
export const apiKeyStorage = persisted('apiKey', apiKeyFromEnv as string)
|
||||
export let checkStateChange = writable(0) // Trigger for Chat
|
||||
export let showSetChatSettings = writable(false) //
|
||||
|
||||
Reference in New Issue
Block a user