MCPcopy Create free account

hub / github.com/Nanjiren01/AIChatWeb / functions

Functions347 in github.com/Nanjiren01/AIChatWeb

↓ 57 callersFunctionget
(id)
app/store/mask.ts:85
↓ 46 callersFunctionshowToast
( content: string, action?: ToastProps["action"], delay = 3000, )
app/components/ui-lib.tsx:216
↓ 22 callersFunctionfetch
()
app/store/access.ts:64
↓ 12 callersFunctiongetClientConfig
()
app/config/client.ts:3
↓ 11 callersMethodat
(index: number)
app/polyfill.ts:3
↓ 11 callersFunctioncreate
(mask)
app/store/mask.ts:55
↓ 9 callersFunctionshowConfirm
(content: any)
app/components/ui-lib.tsx:306
↓ 8 callersFunctionget
(id)
app/store/prompt.ts:85
↓ 7 callersFunctioncreateMessage
(override: Partial<ChatMessage>)
app/store/chat.ts:31
↓ 6 callersFunctioncopyToClipboard
(text: string)
app/utils.ts:9
↓ 6 callersFunctiondoSubmit
(userInput: string)
app/components/chat.tsx:671
↓ 6 callersFunctiongetHeaders
()
app/client/api.ts:135
↓ 6 callersFunctiongetLang
()
app/locales/index.ts:94
↓ 5 callersFunctioncloseModal
()
app/components/ui-lib.tsx:171
↓ 5 callersFunctioncreateEmptySession
()
app/store/chat.ts:68
↓ 5 callersFunctionprettyObject
(msg: any)
app/utils/format.ts:1
↓ 5 callersFunctionrequest
(req: NextRequest)
app/api/common.ts:71
↓ 5 callersFunctionupdateConfig
(updater: (config: ModelConfig) => void)
app/components/mask.tsx:56
↓ 4 callersFunctiondownloadAs
(text: string, filename: string)
app/utils.ts:34
↓ 4 callersFunctiongetPrefix
(balance: Balance)
app/components/profile.tsx:79
↓ 4 callersFunctionlimitNumber
( x: number, min: number, max: number, defaultValue: number, )
app/store/config.ts:128
↓ 4 callersMethodpath
(path: string)
app/client/platforms/openai.ts:24
↓ 4 callersMethodrender
()
app/components/error.tsx:39
↓ 4 callersFunctionrequest
( url: string, method: string, body: any, options?: { onError: (error: Error, statusCode?: number)
app/requests.ts:24
↓ 4 callersFunctionstartChat
(mask?: Mask)
app/components/new-chat.tsx:95
↓ 4 callersFunctionuseMobileScreen
()
app/utils.ts:100
↓ 3 callersMethodchat
(options: ChatOptions)
app/client/platforms/openai.ts:40
↓ 3 callersFunctionfindLastUserIndex
(messageId: number)
app/components/chat.tsx:773
↓ 3 callersFunctionmakeBearer
(token: string)
app/client/api.ts:143
↓ 3 callersFunctiononSearch
(text: string)
app/components/mask.tsx:288
↓ 3 callersFunctionvalidString
(x: string)
app/client/api.ts:144
↓ 2 callersFunctionchangeIndex
(delta: number)
app/components/chat.tsx:224
↓ 2 callersFunctioncountMessages
(msgs: ChatMessage[])
app/store/chat.ts:127
↓ 2 callersFunctioncreateEmptyMask
()
app/store/mask.ts:38
↓ 2 callersFunctiondeleteMessage
(userIndex: number)
app/components/chat.tsx:789
↓ 2 callersFunctionestimateTokenLength
(input: string)
app/utils/token.ts:1
↓ 2 callersFunctionextract
(userInput: string)
app/command.ts:43
↓ 2 callersFunctionfillTemplateWith
(input: string, modelConfig: ModelConfig)
app/store/chat.ts:131
↓ 2 callersFunctiongetOrCreateMeasureDom
(id: string, init?: (dom: HTMLElement) => void)
app/utils.ts:136
↓ 2 callersFunctiongetRegisterCaptcha
(captchaId: string)
app/components/register.tsx:162
↓ 2 callersFunctiongetServerSideConfig
()
app/config/server.ts:33
↓ 2 callersFunctiongetSize
(x: number)
app/components/markdown.tsx:189
↓ 2 callersFunctiongetWidth
(dom: HTMLDivElement)
app/components/chat.tsx:313
↓ 2 callersFunctionisValid
(m: ChatMessage)
app/components/message-selector.tsx:75
↓ 2 callersFunctionlimit
(x: number)
app/components/sidebar.tsx:63
↓ 2 callersFunctionrequestSendEmailCode
( email: string, resetPassword: boolean, options?: { onError: (error: Error, statusCode?: number) =>
app/requests.ts:138
↓ 2 callersFunctionshowPrompt
(content: any, value = "")
app/components/ui-lib.tsx:377
↓ 2 callersFunctiontimeoutPromise
(timeout)
scripts/fetch-prompts.mjs:15
↓ 2 callersFunctionupdateExportConfig
(updater: (config: typeof exportConfig) => void)
app/components/exporter.tsx:134
↓ 2 callersFunctionuseCommand
(commands: Commands = {})
app/command.ts:11
↓ 1 callersFunctionaddContextPrompt
(prompt: ChatMessage)
app/components/mask.tsx:227
↓ 1 callersFunctionautoGrowTextArea
(dom: HTMLTextAreaElement)
app/utils.ts:155
↓ 1 callersFunctionchangeLang
(lang: Lang)
app/locales/index.ts:112
↓ 1 callersMethodclearAndSaveData
()
app/components/error.tsx:27
↓ 1 callersFunctionclose
()
app/components/ui-lib.tsx:226
↓ 1 callersFunctioncomputeGroup
()
app/components/new-chat.tsx:43
↓ 1 callersFunctiondoSearch
(text: string)
app/components/message-selector.tsx:90
↓ 1 callersMethodextractMessage
(res: any)
app/client/platforms/openai.ts:36
↓ 1 callersFunctionfetchCN
()
scripts/fetch-prompts.mjs:23
↓ 1 callersFunctionfetchEN
()
scripts/fetch-prompts.mjs:42
↓ 1 callersMethodfetchMidjourneyStatus
(options: ChatOptions, botMessage: ChatMessage)
app/client/platforms/openai.ts:439
↓ 1 callersFunctionfetchProfile
(token: string)
app/store/profile.ts:30
↓ 1 callersFunctionfetchWebsiteConfig
()
app/store/website.ts:86
↓ 1 callersFunctionformatVersionDate
(t: string)
app/store/update.ts:25
↓ 1 callersFunctiongenerateUUID
()
app/components/forget-password.tsx:45
↓ 1 callersFunctiongenerateUUID
()
app/components/register.tsx:45
↓ 1 callersFunctiongetBuildConfig
()
app/config/build.ts:3
↓ 1 callersFunctiongetCSSVar
(varName: string)
app/utils.ts:177
↓ 1 callersFunctiongetDomContentWidth
(dom: HTMLElement)
app/utils.ts:128
↓ 1 callersFunctiongetItem
(key: string)
app/locales/index.ts:72
↓ 1 callersFunctiongetLanguage
()
app/locales/index.ts:86
↓ 1 callersFunctiongetSubTitle
(pkg: Balance)
app/components/balance.tsx:66
↓ 1 callersFunctiongetVersion
(type: "date" | "tag")
app/store/update.ts:38
↓ 1 callersFunctionhandleClickBuy
(pkg: Package)
app/components/pricing.tsx:111
↓ 1 callersFunctionhandleClickSendEmailCode
()
app/components/forget-password.tsx:67
↓ 1 callersFunctionhandleClickSendEmailCode
()
app/components/register.tsx:67
↓ 1 callersMethodhandleDraw
(options: ChatOptions, modelConfig: any)
app/client/platforms/openai.ts:268
↓ 1 callersFunctionimportFromFile
()
app/components/mask.tsx:307
↓ 1 callersFunctioninit
(builtinPrompts: Prompt[], userPrompts: Prompt[])
app/store/prompt.ts:38
↓ 1 callersFunctionisInSearchResult
(id: number)
app/components/message-selector.tsx:87
↓ 1 callersFunctionlimit
(x: number)
app/store/chat.ts:227
↓ 1 callersFunctionloadAsyncGoogleFont
()
app/components/home.tsx:151
↓ 1 callersFunctionlogin
()
app/components/login.tsx:40
↓ 1 callersFunctionlogout
()
app/components/profile.tsx:72
↓ 1 callersFunctionlogout
()
app/components/login.tsx:66
↓ 1 callersFunctionmain
()
scripts/fetch-prompts.mjs:63
↓ 1 callersFunctionmerge
(target: any, source: any)
app/utils/merge.ts:1
↓ 1 callersFunctionmoveSession
(from: number, to: number)
app/store/chat.ts:174
↓ 1 callersFunctionnextMask
()
app/components/new-chat.tsx:55
↓ 1 callersFunctiononChatBodyScroll
(e: HTMLElement)
app/components/chat.tsx:589
↓ 1 callersFunctiononClickIndex
(index: number)
app/components/message-selector.tsx:16
↓ 1 callersFunctiononDelete
(botMessageId: number)
app/components/chat.tsx:795
↓ 1 callersFunctiononDragMouseDown
(e: MouseEvent)
app/components/sidebar.tsx:86
↓ 1 callersFunctiononInput
(value: string)
app/components/ui-lib.tsx:362
↓ 1 callersFunctiononInput
(text: string)
app/components/chat.tsx:642
↓ 1 callersFunctiononPinMessage
(botMessage: ChatMessage)
app/components/chat.tsx:817
↓ 1 callersFunctiononResend
(botMessageId: number)
app/components/chat.tsx:801
↓ 1 callersFunctiononRightClick
(e: any, message: ChatMessage)
app/components/chat.tsx:762
↓ 1 callersFunctiononUserStop
(messageId: number)
app/components/chat.tsx:711
↓ 1 callersFunctionqueryMeta
(key: string, defaultValue?: string)
app/config/client.ts:15
next →1–100 of 347, ranked by callers