MCPcopy Create free account

hub / github.com/Nothing1024/gemini-3-pro-image-preview-demo / functions

Functions148 in github.com/Nothing1024/gemini-3-pro-image-preview-demo

↓ 1 callersFunctiontoOpenAIError
(status: number, body: unknown)
src/features/chat/services/openaiClient.ts:155
↓ 1 callersFunctiontoUploadItems
(files: File[])
src/features/chat/utils/files.ts:63
↓ 1 callersFunctiontoUserMessage
(text: string, images: string[])
src/features/chat/hooks/useChatSession.ts:326
↓ 1 callersFunctionupdate
()
src/features/chat/components/PromptPanel.tsx:97
↓ 1 callersFunctionuseChatSession
()
src/features/chat/hooks/useChatSession.ts:451
↓ 1 callersFunctionwritePersistedChat
(payload: PersistedChatPayload)
src/features/chat/hooks/useChatSession.ts:128
FunctionApp
()
src/App.tsx:10
FunctionBadge
({ className, variant, ...props }: BadgeProps)
src/components/ui/badge.tsx:26
FunctionChatHeader
({ loading, onReset, onOpenSettings }: ChatHeaderProps)
src/features/chat/components/ChatHeader.tsx:11
FunctionControlBar
({ aspectRatio, imageSize, model, forceImageGuidance, onAspectChange, onSizeChange, onModelChang
src/features/chat/components/ControlBar.tsx:23
FunctionDialogFooter
({ className, ...props })
src/components/ui/dialog.tsx:56
FunctionDialogHeader
({ className, ...props })
src/components/ui/dialog.tsx:51
FunctionImageLightbox
({ src, open, onOpenChange }: ImageLightboxProps)
src/components/ImageLightbox.tsx:11
FunctionLoadingOverlay
({ show, message = "正在生成图像,请稍候…", imageSize }: LoadingOverlayProps)
src/features/chat/components/LoadingOverlay.tsx:16
FunctionMessageItem
({ message, onDownload, onDelete, onRetry }: MessageItemProps)
src/features/chat/components/MessageItem.tsx:88
FunctionMessageList
({ messages, onDownload, onDeleteMessage, onRetry, hasSavedConversation, savedConversationAt, on
src/features/chat/components/MessageList.tsx:18
FunctionPromptPanel
({ prompt, onPromptChange, onSend, loading, uploads, onAddFiles, onRemoveUpload, aspectRatio,
src/features/chat/components/PromptPanel.tsx:32
FunctionSettingsDialog
({ open, onOpenChange }: SettingsDialogProps)
src/features/chat/components/SettingsDialog.tsx:30
FunctionUploadStrip
({ uploads, onRemove, aspectRatio }: UploadStripProps)
src/features/chat/components/UploadStrip.tsx:11
FunctionUploadedThumb
({ src, alt }: { src: string; alt: string })
src/features/chat/components/MessageItem.tsx:56
FunctionaddOpenAIModel
(model: string)
src/features/chat/utils/apiConfig.ts:151
FunctionchatReducer
(state: ChatState, action: ChatAction)
src/features/chat/hooks/useChatSession.ts:245
Functioncode
( { inline, className, children, ...props }: { inline?: boolean; className?: string; children?: ReactNode
src/features/chat/components/MessageItem.tsx:16
FunctionconfigureServer
(server)
vite.config.js:113
FunctionconfirmDeleteModel
()
src/features/chat/components/SettingsDialog.tsx:230
FunctionconfirmServerMode
()
src/features/chat/components/SettingsDialog.tsx:157
Methodconstructor
(message: string, options: { status?: number; code?: string; details?: unknown } = {})
src/features/chat/services/openaiClient.ts:16
Methodconstructor
(message: string, options: { status?: number; code?: string; details?: unknown; cause?: unknown } = {})
src/features/chat/services/geminiClient.ts:22
FunctiondataUrlToInlineData
(dataUrl: string)
src/features/chat/hooks/useChatSession.ts:163
Functionget
(_target, prop)
src/features/chat/utils/apiConfig.ts:218
FunctiongetOwnPropertyDescriptor
(_target, prop)
src/features/chat/utils/apiConfig.ts:226
FunctionhandleClose
()
src/components/ImageLightbox.tsx:32
FunctionhandleContentClick
(event: MouseEvent<HTMLDivElement>)
src/components/ImageLightbox.tsx:28
FunctionhandleCopy
()
src/features/chat/components/MessageItem.tsx:94
FunctionhandleDelete
()
src/features/chat/components/MessageItem.tsx:111
FunctionhandleFiles
(event: React.ChangeEvent<HTMLInputElement>)
src/features/chat/components/PromptPanel.tsx:64
FunctionhandleImageClick
(event: MouseEvent<HTMLImageElement>)
src/components/ImageLightbox.tsx:24
FunctionhandleKeyDown
(e: React.KeyboardEvent<HTMLTextAreaElement>)
src/features/chat/components/PromptPanel.tsx:70
FunctionhandleModelChange
(value: ModelName)
src/App.tsx:15
FunctionhandlePaste
(e: React.ClipboardEvent<HTMLTextAreaElement>)
src/features/chat/components/PromptPanel.tsx:77
FunctionhandleReset
()
src/features/chat/components/SettingsDialog.tsx:106
FunctionhandleSave
()
src/features/chat/components/SettingsDialog.tsx:86
FunctionhandleZoomOut
()
src/components/ImageLightbox.tsx:23
FunctionnormalizeProtocol
(value)
vite.config.js:25
FunctionnormalizeProtocol
(value)
api/proxy.cjs:23
FunctionownKeys
()
src/features/chat/utils/apiConfig.ts:223
FunctionremoveOpenAIModel
(model: string)
src/features/chat/utils/apiConfig.ts:161
FunctionupdateOpenAIModel
(oldModel: string, newModel: string)
src/features/chat/utils/apiConfig.ts:176
← previous101–148 of 148, ranked by callers