MCPcopy Create free account

hub / github.com/bravekingzhang/gemini-pro-chatbot / functions

Functions89 in github.com/bravekingzhang/gemini-pro-chatbot

↓ 8 callersFunctionloadAgents
()
utils/storage.ts:22
↓ 7 callersFunctionuseTheme
()
contexts/ThemeContext.tsx:69
↓ 5 callersFunctionsaveChat
(chat: Chat)
utils/storage.ts:62
↓ 4 callersFunctionloadChats
()
utils/storage.ts:81
↓ 4 callersFunctionuseColorScheme
()
hooks/useColorScheme.web.ts:7
↓ 2 callersFunctionhandleDeleteChat
(chat: Chat)
app/chats.tsx:46
↓ 2 callersFunctionhandleStartChat
(agent: Agent)
app/(tabs)/agent.tsx:48
↓ 2 callersFunctionsaveItems
(newItems: DiscoverItem[])
app/(tabs)/discover.tsx:72
↓ 2 callersFunctionsaveTheme
(isDark: boolean)
contexts/ThemeContext.tsx:49
↓ 2 callersFunctionstreamCompletion
( messages: ChatMessage[], onChunk: (chunk: string) => void, onError: (error: any) => void, onComplete
utils/gemini.ts:14
↓ 2 callersFunctionuseThemeColor
( props: { light?: string; dark?: string }, colorName: keyof typeof Colors.light & keyof typeof Colors.dar
hooks/useThemeColor.ts:9
↓ 1 callersFunctiondeleteAgent
(agentId: string)
utils/storage.ts:50
↓ 1 callersFunctiondeleteChat
(chatId: string)
utils/storage.ts:91
↓ 1 callersFunctionformatDate
(timestamp: number)
app/chats.tsx:76
↓ 1 callersFunctiongenerateCompletion
(messages: ChatMessage[])
utils/gemini.ts:138
↓ 1 callersFunctionhandleDeleteAgent
(agent: Agent)
app/(tabs)/agent.tsx:55
↓ 1 callersFunctionhandleEditAgent
(agent: Agent)
app/(tabs)/agent.tsx:44
↓ 1 callersFunctionhandleLike
(id: string)
app/(tabs)/discover.tsx:121
↓ 1 callersFunctionhandleOpenChat
(chat: Chat)
app/chats.tsx:69
↓ 1 callersFunctionhandleShare
(item: DiscoverItem)
app/(tabs)/discover.tsx:111
↓ 1 callersFunctioninitializeAgents
()
utils/storage.ts:8
↓ 1 callersFunctionloadAgent
()
app/agent/[id].tsx:50
↓ 1 callersFunctionloadAgentAndChat
()
app/(tabs)/index.tsx:97
↓ 1 callersFunctionloadApiKey
()
app/(tabs)/discover.tsx:52
↓ 1 callersFunctionloadApiKey
()
app/(tabs)/index.tsx:63
↓ 1 callersFunctionloadChatHistory
()
app/chats.tsx:25
↓ 1 callersFunctionloadDefaultAgentAndChat
()
app/(tabs)/index.tsx:133
↓ 1 callersFunctionloadExistingChat
()
app/(tabs)/index.tsx:72
↓ 1 callersFunctionloadInitialAgents
()
app/(tabs)/agent.tsx:25
↓ 1 callersFunctionloadItems
()
app/(tabs)/discover.tsx:61
↓ 1 callersFunctionloadSettings
()
app/(tabs)/settings.tsx:40
↓ 1 callersFunctionloadTheme
()
contexts/ThemeContext.tsx:31
↓ 1 callersFunctionmoveDirectories
(userInput)
scripts/reset-project.js:48
↓ 1 callersFunctionrenderContent
()
components/Message.tsx:35
↓ 1 callersFunctionsaveAgent
(agent: Agent)
utils/storage.ts:32
↓ 1 callersFunctionupdateMessage
(chatId: string, messageId: string, newContent: string)
utils/storage.ts:104
↓ 1 callersFunctionuseBottomTabOverflow
()
components/ui/TabBarBackground.tsx:4
FunctionAgentEditScreen
()
app/agent/[id].tsx:22
FunctionAgentScreen
()
app/(tabs)/agent.tsx:17
FunctionBlurTabBarBackground
()
components/ui/TabBarBackground.ios.tsx:6
FunctionChatScreen
()
app/(tabs)/index.tsx:39
FunctionChatsScreen
()
app/chats.tsx:16
FunctionCodeBlock
({ code, language = 'javascript' })
components/CodeBlock.tsx:11
FunctionCollapsible
({ children, title }: PropsWithChildren & { title: string })
components/Collapsible.tsx:10
FunctionDiscoverScreen
()
app/(tabs)/discover.tsx:39
FunctionExternalLink
({ href, ...rest }: Props)
components/ExternalLink.tsx:8
FunctionHapticTab
(props: BottomTabBarButtonProps)
components/HapticTab.tsx:5
FunctionHelloWave
()
components/HelloWave.tsx:13
FunctionIconSymbol
({ name, size = 24, color, style, }: { name: IconSymbolName; size?: number; color: string | Opaq
components/ui/IconSymbol.tsx:30
FunctionIconSymbol
({ name, size = 24, color, style, weight = 'regular', }: { name: SymbolViewProps['name']; size?:
components/ui/IconSymbol.ios.tsx:4
FunctionMessage
({ message, onEdit, onRegenerate, onCopy })
components/Message.tsx:16
FunctionNotFoundScreen
()
app/+not-found.tsx:7
FunctionParallaxScrollView
({ children, headerImage, headerBackgroundColor, }: Props)
components/ParallaxScrollView.tsx:21
FunctionRootLayout
()
app/_layout.tsx:50
FunctionRootLayoutNav
()
app/_layout.tsx:7
FunctionSettingsScreen
()
app/(tabs)/settings.tsx:28
FunctionTabLayout
()
app/(tabs)/_layout.tsx:8
FunctionThemeProvider
({ children }: { children: React.ReactNode })
contexts/ThemeContext.tsx:15
FunctionThemedText
({ style, lightColor, darkColor, type = 'default', ...rest }: ThemedTextProps)
components/ThemedText.tsx:11
FunctionThemedView
({ style, lightColor, darkColor, ...otherProps }: ThemedViewProps)
components/ThemedView.tsx:10
MethodcreateReactActivityDelegate
* Returns the instance of the [ReactActivityDelegate]. We use [DefaultReactActivityDelegate] * which allows you to enable New Architecture with a s
android/app/src/main/java/com/your/app/MainActivity.kt:36
MethodgetJSMainModuleName
android/app/src/main/java/com/your/app/MainApplication.kt:31
MethodgetMainComponentName
* Returns the name of the main component registered from JavaScript. This is used to schedule * rendering of the component. */
android/app/src/main/java/com/your/app/MainActivity.kt:30
MethodgetPackages
android/app/src/main/java/com/your/app/MainApplication.kt:24
MethodgetUseDeveloperSupport
android/app/src/main/java/com/your/app/MainApplication.kt:33
FunctionhandleCancelEdit
()
components/Message.tsx:30
FunctionhandleCopyMessage
(content: string)
app/(tabs)/index.tsx:338
FunctionhandleCreateAgent
()
app/(tabs)/agent.tsx:30
FunctionhandleEditMessage
(messageId: string, newContent: string)
app/(tabs)/index.tsx:265
FunctionhandleGenerate
()
app/(tabs)/discover.tsx:80
FunctionhandleGetApiKey
()
app/(tabs)/settings.tsx:123
FunctionhandleNewChat
()
app/(tabs)/index.tsx:347
FunctionhandleRegenerateMessage
(messageId: string)
app/(tabs)/index.tsx:281
FunctionhandleReset
()
app/(tabs)/settings.tsx:87
FunctionhandleSave
()
app/(tabs)/settings.tsx:64
FunctionhandleSave
()
app/agent/[id].tsx:58
FunctionhandleSaveEdit
()
components/Message.tsx:21
FunctionhandleSend
()
app/(tabs)/index.tsx:188
MethodinvokeDefaultOnBackPressed
* Align the back button behavior with Android S * where moving root activities to background instead of finishing activities. * @see <a href="
android/app/src/main/java/com/your/app/MainActivity.kt:52
MethodonConfigurationChanged
android/app/src/main/java/com/your/app/MainApplication.kt:53
MethodonCreate
android/app/src/main/java/com/your/app/MainActivity.kt:15
MethodonCreate
android/app/src/main/java/com/your/app/MainApplication.kt:43
FunctionpickImage
()
app/(tabs)/index.tsx:169
FunctionrenderAgentItem
({ item: agent }: { item: Agent })
app/(tabs)/agent.tsx:82
FunctionrenderChatItem
({ item: chat }: { item: Chat })
app/chats.tsx:85
FunctionrenderEmptyState
()
app/(tabs)/index.tsx:365
FunctionrenderItem
({ item }: { item: DiscoverItem })
app/(tabs)/discover.tsx:129
FunctiontoggleTheme
()
contexts/ThemeContext.tsx:58
FunctionuseBottomTabOverflow
()
components/ui/TabBarBackground.ios.tsx:18