MCPcopy Create free account

hub / github.com/QuantumNous/new-api / functions

Functions15,592 in github.com/QuantumNous/new-api

FunctionNewProxyHttpClient
NewProxyHttpClient is kept for compatibility. Deprecated: use GetHttpClientWithProxy.
service/http_client.go:478
MethodNewReader
()
common/body_storage.go:41
MethodNewReader
()
common/body_storage.go:124
MethodNewReader
()
common/body_storage.go:285
MethodNewReader
()
common/body_storage.go:432
FunctionNewResponseStreamStateByID
(converter string, options ResponseStreamOptions)
relaykit/relayconvert/response_registry.go:318
FunctionNewSet
()
types/set.go:7
FunctionNewWebAuthnUser
(user *model.User, credential *model.PasskeyCredential)
service/passkey/user.go:18
MethodNext
(fromServer []byte, more bool)
common/email-outlook-auth.go:21
FunctionNode
({ handles, className, ...props }: NodeProps)
web/src/components/ai-elements/node.tsx:40
FunctionNodeAction
(props: NodeActionProps)
web/src/components/ai-elements/node.tsx:75
FunctionNodeContent
({ className, ...props }: NodeContentProps)
web/src/components/ai-elements/node.tsx:79
FunctionNodeDescription
(props: NodeDescriptionProps)
web/src/components/ai-elements/node.tsx:69
FunctionNodeFooter
({ className, ...props }: NodeFooterProps)
web/src/components/ai-elements/node.tsx:85
FunctionNodeHeader
({ className, ...props }: NodeHeaderProps)
web/src/components/ai-elements/node.tsx:56
FunctionNodeSyncIndicator
(props: NodeSyncIndicatorProps)
web/src/features/system-info/components/node-sync-indicator.tsx:81
FunctionNodeSyncStateIcon
(props: { state: NodeSyncState })
web/src/features/system-info/components/node-sync-indicator.tsx:48
FunctionNodeTitle
(props: NodeTitleProps)
web/src/components/ai-elements/node.tsx:65
FunctionNotFoundError
()
web/src/features/errors/not-found-error.tsx:24
FunctionNoticeContent
* Notice tab content
web/src/components/notification-popover.tsx:181
FunctionNoticeSection
({ defaultValue }: NoticeSectionProps)
web/src/features/system-settings/maintenance/notice-section.tsx:50
FunctionNotificationPopover
({ open, onOpenChange, unreadCount, activeTab, onTabChange, notice, announcements, loading,
web/src/components/notification-popover.tsx:293
FunctionNotificationTab
({ profile, onUpdate, quotaRemindEnabled, quotaRemindThreshold, }: NotificationTabProps)
web/src/features/profile/components/tabs/notification-tab.tsx:69
FunctionNumberText
(props: { children: ReactNode })
web/src/features/home/components/hero-terminal-demo.tsx:531
FunctionNumericSpinnerInput
({ value, onChange, onCommit, min = 0, max, step = 1, disabled = false, className, label, }:
web/src/features/channels/components/numeric-spinner-input.tsx:37
FunctionOAuthCallback
()
web/src/routes/oauth/$provider.tsx:67
FunctionOAuthCallbackScreen
({ provider, mode, }: OAuthCallbackScreenProps)
web/src/features/auth/components/oauth-callback-screen.tsx:60
FunctionOAuthComponent
()
web/src/routes/(auth)/oauth.tsx:30
FunctionOAuthProviders
({ status, disabled = false, className, onWeChatLogin, isWeChatLoading = false, redirectTo, }: OAu
web/src/features/auth/components/oauth-providers.tsx:52
FunctionOAuthSection
(props: OAuthSectionProps)
web/src/features/system-settings/auth/oauth-section.tsx:245
FunctionOAuthSetupGuide
(props: OAuthSetupGuideProps)
web/src/features/system-settings/auth/oauth-section.tsx:142
MethodObserve
(response *dto.GeminiChatResponse)
relaykit/relayconvert/internal/gemini_chat/to_oai_responses_hosted_stream.go:24
FunctionOllamaDeleteModel
OllamaDeleteModel 删除 Ollama 模型
controller/channel.go:2507
FunctionOllamaModelsDialog
({ open, onOpenChange, }: { open: boolean onOpenChange: (open: boolean) => void })
web/src/features/channels/components/dialogs/ollama-models-dialog.tsx:64
FunctionOllamaPullModel
OllamaPullModel 拉取 Ollama 模型
controller/channel.go:2362
FunctionOllamaPullModelStream
OllamaPullModelStream 流式拉取 Ollama 模型
controller/channel.go:2425
FunctionOllamaVersion
OllamaVersion 获取 Ollama 服务版本信息
controller/channel.go:2570
FunctionOpenAIChatRequestToGeminiGenerateContent
(c context.Context, textRequest dto.GeneralOpenAIRequest, info convmeta.Meta)
relaykit/relayconvert/internal/oai_chat/to_gemini_chat_req.go:19
FunctionOpenAIResponsesRequestToGeminiChat
(c context.Context, req *dto.OpenAIResponsesRequest, info convmeta.Meta)
relaykit/relayconvert/internal/oai_responses/to_gemini_chat_req.go:20
FunctionOpenAIToolChoiceToConfig
(toolChoice any)
relaykit/relayconvert/internal/shared/gemini/schema.go:414
FunctionOpenAPISchemaToJSONSchema
OpenAPISchemaToJSONSchema rewrites a schema in Gemini's OpenAPI subset as JSON Schema: type names are lowercased, nullable becomes a "null" type, exam
relaykit/relayconvert/internal/shared/gemini/schema.go:472
FunctionOpenBrowser
(url string)
common/utils.go:29
FunctionOpenDeleteDialog
()
web/src/features/users/components/__tests__/step-up-verification.test.tsx:75
FunctionOpenDialog
(props: { channel: Channel })
web/src/features/channels/components/__tests__/multi-key-manage-dialog.test.tsx:80
FunctionOpenDialog
(props: { channel: Channel })
web/src/features/channels/components/__tests__/channel-test-dialog-endpoints.test.tsx:45
FunctionOpenIn
({ query, ...props }: OpenInProps)
web/src/components/ai-elements/open-in-chat.tsx:218
FunctionOpenInChatGPT
(props: OpenInChatGPTProps)
web/src/components/ai-elements/open-in-chat.tsx:275
FunctionOpenInClaude
(props: OpenInClaudeProps)
web/src/components/ai-elements/open-in-chat.tsx:298
FunctionOpenInContent
({ className, ...props }: OpenInContentProps)
web/src/components/ai-elements/open-in-chat.tsx:226
FunctionOpenInCursor
(props: OpenInCursorProps)
web/src/components/ai-elements/open-in-chat.tsx:390
FunctionOpenInItem
(props: OpenInItemProps)
web/src/components/ai-elements/open-in-chat.tsx:236
FunctionOpenInLabel
(props: OpenInLabelProps)
web/src/components/ai-elements/open-in-chat.tsx:242
FunctionOpenInScira
(props: OpenInSciraProps)
web/src/components/ai-elements/open-in-chat.tsx:344
FunctionOpenInSeparator
(props: OpenInSeparatorProps)
web/src/components/ai-elements/open-in-chat.tsx:248
FunctionOpenInT3
(props: OpenInT3Props)
web/src/components/ai-elements/open-in-chat.tsx:321
FunctionOpenInTrigger
({ children, ...props }: OpenInTriggerProps)
web/src/components/ai-elements/open-in-chat.tsx:254
FunctionOpenInv0
(props: OpenInv0Props)
web/src/components/ai-elements/open-in-chat.tsx:367
FunctionOperationsSettings
()
web/src/features/system-settings/operations/index.tsx:69
FunctionOptionCombobox
(props: LegacyComboboxProps)
web/src/components/ui/combobox.tsx:101
FunctionOtp
()
web/src/features/auth/otp/index.tsx:25
FunctionOtpForm
()
web/src/features/auth/otp/components/otp-form.tsx:33
MethodOutboundImageCount
OutboundImageCount reads the image count of an image request body: Replicate generates input.num_outputs images.
relay/channel/replicate/adaptor.go:69
MethodOutboundImageCount
OutboundImageCount reads the image count of an image request body: Imagen generates parameters.sampleCount images, and its default without one.
relay/channel/gemini/adaptor.go:141
MethodOutboundImageCount
OutboundImageCount reads the image count of an image request body: SiliconFlow generates batch_size images.
relay/channel/siliconflow/adaptor.go:67
MethodOutboundImageCount
OutboundImageCount reads the image count of the Imagen body ConvertImageRequest builds.
relay/channel/vertex/adaptor.go:122
FunctionOverviewDashboard
()
web/src/features/dashboard/components/overview/overview-dashboard.tsx:463
FunctionOverviewMetric
(props: { icon: React.ComponentType<{ className?: string }> label: string value: React.ReactNode value
web/src/features/pricing/components/model-details.tsx:245
FunctionOverviewSummaryGrid
(props: { model: PricingModel })
web/src/features/pricing/components/model-details.tsx:273
FunctionPage
()
web/src/features/models/__tests__/model-listing.test.tsx:88
FunctionPageFooterPortal
(props: { children: ReactNode })
web/src/components/layout/components/page-footer.tsx:37
FunctionPageFooterProvider
(props: PageFooterProviderProps)
web/src/components/layout/components/page-footer.tsx:29
FunctionPageTransition
(props: PageTransitionProps)
web/src/components/page-transition.tsx:39
FunctionPagination
({ className, ...props }: React.ComponentProps<'nav'>)
web/src/components/ui/pagination.tsx:30
FunctionPaginationContent
({ className, ...props }: React.ComponentProps<'ul'>)
web/src/components/ui/pagination.tsx:42
FunctionPaginationEllipsis
({ className, ...props }: React.ComponentProps<'span'>)
web/src/components/ui/pagination.tsx:132
FunctionPaginationItem
({ ...props }: React.ComponentProps<'li'>)
web/src/components/ui/pagination.tsx:55
FunctionPaginationLink
({ className, isActive, size = 'icon', ...props }: PaginationLinkProps)
web/src/components/ui/pagination.tsx:64
FunctionPaginationNext
({ className, text = 'Next', ...props }: React.ComponentProps<typeof PaginationLink> & { text?: string }
web/src/components/ui/pagination.tsx:110
FunctionPaginationPrevious
({ className, text = 'Previous', ...props }: React.ComponentProps<typeof PaginationLink> & { text?: stri
web/src/components/ui/pagination.tsx:88
FunctionPanel
({ className, ...props }: PanelProps)
web/src/components/ai-elements/panel.tsx:26
FunctionPanelHeader
(props: { title: ReactNode description?: ReactNode actions?: ReactNode })
web/src/features/dashboard/components/ui/panel-wrapper.tsx:38
FunctionPanelWrapper
(props: PanelWrapperProps)
web/src/features/dashboard/components/ui/panel-wrapper.tsx:66
FunctionParamOverrideEditorDialog
( props: ParamOverrideEditorDialogProps )
web/src/features/channels/components/dialogs/param-override-editor-dialog.tsx:1146
FunctionParamRangeCell
(props: { param: SupportedParameter })
web/src/features/pricing/components/model-details-api.tsx:627
MethodParseBatchResult
(_ []*model.Task, _ *http.Response, _ []byte)
service/task_polling_test.go:52
MethodParseBatchResult
([]*model.Task, *http.Response, []byte)
service/task_polling_test.go:940
MethodParseBatchResult
(tasks []*model.Task, resp *http.Response, body []byte)
relay/channel/task/jsplugin/adaptor.go:851
FunctionParseDeepSeekV4ThinkingSuffix
ParseDeepSeekV4ThinkingSuffix maps the -none/-low/-max tails of deepseek-flash and deepseek-v4-* onto DeepSeek's thinking switch and effort. A bare na
relaykit/relayconvert/reasoning/suffix.go:280
FunctionParseIP
(s string)
common/ip.go:10
FunctionParseRedisOption
()
common/redis.go:56
MethodParseResponse
(c *gin.Context, resp *http.Response, info *relaycommon.RelayInfo)
relay/channel/task/jsplugin/adaptor.go:498
FunctionParseStopSequences
(stop any)
relaykit/relayconvert/internal/shared/gemini/request.go:247
MethodParseTaskResult
(*model.Task, *http.Response, []byte)
controller/plugin_protocol_test.go:381
MethodParseTaskResult
(*model.Task, *http.Response, []byte)
service/task_polling_test.go:119
MethodParseTaskResult
(*model.Task, *http.Response, []byte)
service/task_polling_test.go:918
MethodParseTaskResult
(*model.Task, *http.Response, []byte)
service/task_billing_test.go:1415
MethodParseTaskResult
(task *model.Task, resp *http.Response, body []byte)
relay/channel/task/jsplugin/adaptor.go:929
FunctionPassThroughHelpPopover
()
web/src/features/channels/components/dialogs/advanced-custom-editor-dialog.tsx:1709
FunctionPasskeyCard
({ loading: pageLoading }: PasskeyCardProps)
web/src/features/security/components/passkey-card.tsx:60
MethodPasskeyCredential
()
service/passkey/user.go:66
← previousnext →10,901–11,000 of 15,592, ranked by callers