MCPcopy Create free account

hub / github.com/AIOS-club/aios.chat / functions

Functions96 in github.com/AIOS-club/aios.chat

↓ 6 callersFunctionuseChatList
()
src/hooks/useChatList.ts:5
↓ 3 callersFunctionhandleChange
(e: CheckboxEvent)
src/components/chat/CheckOptions.tsx:32
↓ 3 callersFunctionloadEnv
()
api/src/utils/env.ts:4
↓ 3 callersFunctionuseConfigSetting
()
src/components/config-setting/useConfigSetting.tsx:8
↓ 2 callersFunctionchangeTheme
(theme: 'dark' | 'light')
src/components/general-config/GeneralConfig.tsx:24
↓ 2 callersFunctiongetDefaultSystemMessage
()
src/utils/index.ts:90
↓ 2 callersFunctiongetEnvString
(obj)
entry.js:24
↓ 2 callersFunctionhandleCheckChange
(user: Con, bot: Con)
src/components/conversation/Conversation.tsx:116
↓ 2 callersFunctionhandleConfigChange
(_config: MultiConfig)
src/store/ChatStore.tsx:61
↓ 2 callersFunctionhandleError
()
src/components/prompt-store/ImportFromLocal.tsx:13
↓ 1 callersFunctioncallOpenAI
( request: CreateChatCompletionRequest, config: Record<string, any>, retries: number )
api/src/routes/index.ts:15
↓ 1 callersFunctiondeduplication
(json: unknown)
src/components/prompt-store/PromptStore.tsx:31
↓ 1 callersFunctionfocus
()
src/components/auto-textarea/index.tsx:35
↓ 1 callersFunctionformatJSON
(value: Record<string, string> | Array<Record<string, string>>)
src/components/prompt-store/ImportFromLocal.tsx:18
↓ 1 callersFunctionformatJson
(data: any)
src/components/prompt-store/ImportFromOnline.tsx:19
↓ 1 callersFunctiongetCachePrompt
* 获取前几次的用户对话信息
src/utils/index.ts:9
↓ 1 callersFunctiongetCurrentDate
(noWeekDay: boolean = false)
src/utils/index.ts:74
↓ 1 callersFunctiongetSystemMessages
(message?: string | string[])
src/utils/index.ts:94
↓ 1 callersFunctionhandleChange
(record: PromptStoreList)
src/components/prompt-store/PromptStore.tsx:74
↓ 1 callersFunctionhandleChatValueChange
(chatId: string, key: ChatListKey, value: any)
src/store/ChatStore.tsx:83
↓ 1 callersFunctionhandleClose
()
src/components/prompt-store/PromptStore.tsx:69
↓ 1 callersFunctionhandleDelete
(event: React.MouseEvent<HTMLSpanElement, MouseEvent>)
src/components/chat-item/index.tsx:32
↓ 1 callersFunctionhandleFetchAnswer
(v: string, retry: boolean = false)
src/components/chat/index.tsx:68
↓ 1 callersFunctionhandleResize
()
src/hooks/useWindowResize.ts:8
↓ 1 callersFunctionhandleRetry
(e: React.MouseEvent<HTMLButtonElement, MouseEvent>, lastConversation: Conversation)
src/components/chat/index.tsx:162
↓ 1 callersFunctionhandleScroll
()
src/components/chat/index.tsx:53
↓ 1 callersFunctionisMobile
()
src/hooks/useIsMobile.ts:1
↓ 1 callersFunctionparseMarkdown
(chunk: string)
src/utils/index.ts:63
↓ 1 callersFunctionparseStreamText
* 解析stream流的字符串
src/utils/index.ts:33
↓ 1 callersFunctionrenderRetryButton
()
src/components/chat/index.tsx:207
↓ 1 callersFunctionrenderTipsButtons
()
src/components/empty-chat-placeholder/index.tsx:17
↓ 1 callersFunctionuseCallbackRef
(callback: T | undefined)
src/hooks/useCallbackRef.ts:3
↓ 1 callersFunctionuseIsMobile
()
src/hooks/useIsMobile.ts:16
↓ 1 callersFunctionuseScrollToBottom
()
src/hooks/useScrollToBottom.ts:10
FunctionApp
()
src/app.tsx:11
FunctionApp
()
src/pages/chat/index.tsx:10
FunctionAutoTextArea
(props)
src/components/auto-textarea/index.tsx:16
FunctionChat
(props)
src/components/chat/index.tsx:26
FunctionChatConfig
(props)
src/components/chat-config/index.tsx:9
FunctionChatHeader
(props)
src/components/chat/ChatHeader.tsx:6
FunctionChatItem
({ chat })
src/components/chat-item/index.tsx:16
FunctionChatList
()
src/components/chat-list/index.tsx:8
FunctionChatStore
({ children }: ChatStoreReactProps)
src/store/ChatStore.tsx:18
FunctionCheckOptions
(props)
src/components/chat/CheckOptions.tsx:19
FunctionConfigSetting
(props)
src/components/config-setting/index.tsx:10
FunctionConversation
(props)
src/components/conversation/Conversation.tsx:29
FunctionConversation
(props)
src/components/conversation/index.tsx:6
FunctionEmptyChatPlaceholder
(props)
src/components/empty-chat-placeholder/index.tsx:14
FunctionGeneralConfig
(props)
src/components/general-config/GeneralConfig.tsx:8
FunctionGeneralConfig
(props)
src/components/general-config/index.tsx:6
FunctionHeader
()
src/components/header/Header.tsx:8
FunctionHeader
()
src/components/header/index.tsx:5
FunctionImportFromLocal
(props)
src/components/prompt-store/ImportFromLocal.tsx:7
FunctionImportFromOnline
(props)
src/components/prompt-store/ImportFromOnline.tsx:12
FunctionLoading
()
src/components/loading/index.tsx:5
FunctionOptionButton
(props)
src/components/chat/CheckOptions.tsx:9
FunctionProjectSourceInfo
()
src/components/project-source-info/index.tsx:10
FunctionPromptItem
(props)
src/components/prompt-store/PromptItem.tsx:5
FunctionPromptStore
()
src/components/prompt-store/PromptStore.tsx:14
FunctionPromptStore
()
src/components/prompt-store/index.tsx:5
FunctionSiderConfig
()
src/components/sider-config/SiderConfig.tsx:8
FunctionSiderConfig
()
src/components/sider-config/index.tsx:5
FunctionSquare
()
src/pages/square/index.tsx:3
FunctionSystemMessage
(props)
src/components/chat-config/SystemMesage.tsx:57
FunctionSystemMessageItem
(props)
src/components/chat-config/SystemMesage.tsx:9
FunctionfilterChatList
(chat: ChatListProps)
src/components/chat-list/index.tsx:13
FunctionhandeImport
()
src/components/prompt-store/PromptStore.tsx:118
FunctionhandleAddOne
()
src/components/chat-config/SystemMesage.tsx:82
FunctionhandleChange
(e: React.ChangeEvent<HTMLTextAreaElement>)
src/components/auto-textarea/index.tsx:39
FunctionhandleChange
(id: string, value: string)
src/components/chat-config/SystemMesage.tsx:62
FunctionhandleChange
(value: string)
src/components/prompt-store/ImportFromLocal.tsx:45
FunctionhandleChange
(chatId: string, data: Conversation[], forceUpdate: boolean = false)
src/store/ChatStore.tsx:69
FunctionhandleChangeMode
(event: RadioChangeEvent)
src/components/general-config/GeneralConfig.tsx:35
FunctionhandleClear
()
src/components/prompt-store/PromptStore.tsx:57
FunctionhandleClick
()
src/components/chat-item/index.tsx:28
FunctionhandleClick
()
src/components/conversation/Conversation.tsx:79
FunctionhandleClick
()
src/components/sider-config/SiderConfig.tsx:13
FunctionhandleClick
()
src/components/prompt-store/ImportFromLocal.tsx:30
FunctionhandleClose
(event: React.MouseEvent<HTMLButtonElement, MouseEvent>)
src/components/chat/CheckOptions.tsx:38
FunctionhandleConfirm
(changeFlag: boolean, values?: PromptStoreList)
src/components/prompt-store/PromptStore.tsx:79
FunctionhandleCreateChat
(event: React.MouseEvent<HTMLDivElement | HTMLLIElement, MouseEvent>)
src/components/chat/index.tsx:174
FunctionhandleDelete
(id: string)
src/components/chat-config/SystemMesage.tsx:72
FunctionhandleDelete
(chatId: string)
src/store/ChatStore.tsx:96
FunctionhandleDeleteRecord
(event: React.MouseEvent<HTMLDivElement | HTMLLIElement, MouseEvent>)
src/components/chat/index.tsx:189
FunctionhandleDownload
()
src/components/prompt-store/ImportFromOnline.tsx:37
FunctionhandleImportData
(json: unknown)
src/components/prompt-store/PromptStore.tsx:100
FunctionhandleImportOnline
()
src/components/prompt-store/PromptStore.tsx:128
FunctionhandleRedirect
()
src/components/chat-config/index.tsx:37
FunctionhandleReset
()
src/components/chat-config/index.tsx:32
FunctionhandleSelectList
()
src/components/chat/index.tsx:169
FunctionhandleShare
(event: React.MouseEvent<HTMLDivElement | HTMLLIElement, MouseEvent>)
src/components/chat/CheckOptions.tsx:27
FunctionhandleSubmit
(values: any)
src/components/chat-config/index.tsx:25
FunctiononDownloadProgress
({ event })
src/components/chat/index.tsx:112
FunctionparseStreamText
* Parse a string from a stream
api/src/utils/index.ts:17
FunctionrenderContent
()
src/components/chat/CheckOptions.tsx:44
FunctionuseWindowResize
(callback: (width: number, height: number) => void)
src/hooks/useWindowResize.ts:4