MCPcopy Create free account

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

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

FunctionDeltaUpdateUserQuota
(id int, delta int)
model/user.go:1428
FunctionDeploymentAccessGuard
({ children, loading, loadingPhase = 'settings', isEnabled, connectionLoading, connectionOk, con
web/src/features/models/components/deployment-access-guard.tsx:95
FunctionDeploymentsSection
()
web/src/features/models/index.tsx:154
FunctionDeploymentsTable
()
web/src/features/models/components/deployments-table.tsx:54
FunctionDescriptionCell
({ modelName, description, }: DescriptionCellProps)
web/src/features/models/components/description-cell.tsx:28
FunctionDescriptionDialog
({ open, onOpenChange, modelName, description, }: DescriptionDialogProps)
web/src/features/models/components/dialogs/description-dialog.tsx:31
FunctionDesktopFixture
()
web/src/features/usage-logs/components/__tests__/mobile-filter.test.tsx:231
FunctionDetailPreview
(props: { other: LogOtherData isAdmin: boolean type?: number })
web/src/features/usage-logs/components/__tests__/detail-preview.test.tsx:77
FunctionDetailRow
(props: { label: React.ReactNode value: React.ReactNode mono?: boolean })
web/src/features/usage-logs/components/dialogs/task-details-dialog.tsx:35
FunctionDetailRow
(props: { label: ReactNode value: ReactNode mono?: boolean muted?: boolean })
web/src/features/usage-logs/components/dialogs/log-detail-layout.tsx:25
FunctionDetailSection
(props: { label: string icon?: React.ReactNode children: React.ReactNode })
web/src/features/usage-logs/components/dialogs/task-details-dialog.tsx:55
FunctionDetailSection
(props: { icon?: ReactNode iconTone?: IconBadgeTone label: string variant?: 'default' | 'danger' chi
web/src/features/usage-logs/components/dialogs/log-detail-layout.tsx:49
FunctionDetailsDialog
(props: DetailsDialogProps)
web/src/features/usage-logs/components/dialogs/details-dialog.tsx:536
FunctionDetectChannelUpstreamModelUpdates
(c *gin.Context)
controller/channel_upstream_update.go:1013
FunctionDeviceStep
(props: { userCode: string verificationUri: string verificationUriComplete?: string secondsLeft: numbe
web/src/features/channels/components/dialogs/plugin-login-steps.tsx:203
MethodDiagnostics
()
relaykit/relayconvert/internal/convdiag/collector.go:51
FunctionDialog
({ title, description, children, trigger, footer, contentHeight = 'auto', contentClassName, he
web/src/components/dialog.tsx:52
FunctionDialog
({ ...props }: DialogPrimitive.Root.Props)
web/src/components/ui/dialog.tsx:27
FunctionDialogClose
({ ...props }: DialogPrimitive.Close.Props)
web/src/components/ui/dialog.tsx:39
FunctionDialogContent
({ className, children, showCloseButton = true, ...props }: DialogPrimitive.Popup.Props & { showClos
web/src/components/ui/dialog.tsx:59
FunctionDialogDescription
({ className, ...props }: DialogPrimitive.Description.Props)
web/src/components/ui/dialog.tsx:146
FunctionDialogFooter
({ className, showCloseButton = false, children, ...props }: React.ComponentProps<'div'> & { showClo
web/src/components/ui/dialog.tsx:109
FunctionDialogHeader
({ className, ...props }: React.ComponentProps<'div'>)
web/src/components/ui/dialog.tsx:99
FunctionDialogOverlay
({ className, ...props }: DialogPrimitive.Backdrop.Props)
web/src/components/ui/dialog.tsx:43
FunctionDialogPortal
({ ...props }: DialogPrimitive.Portal.Props)
web/src/components/ui/dialog.tsx:35
FunctionDialogTitle
({ className, ...props }: DialogPrimitive.Title.Props)
web/src/components/ui/dialog.tsx:136
FunctionDialogTrigger
({ ...props }: DialogPrimitive.Trigger.Props)
web/src/components/ui/dialog.tsx:31
FunctionDirConfig
()
web/src/components/config-drawer.tsx:697
FunctionDirectionProvider
({ children }: { children: React.ReactNode })
web/src/context/direction-provider.tsx:39
FunctionDisable2FA
Disable2FA 禁用2FA
controller/twofa.go:62
FunctionDisableModelLimits
(tokenId int)
model/token.go:359
FunctionDisableTagChannels
(c *gin.Context)
controller/channel.go:1063
FunctionDiscardsImmediateResult
DiscardsImmediateResult reports whether this submission delivers a terminal result inline and omits its task data from storage.
pkg/jsplugin/routing.go:99
FunctionDiscoveryButton
(props: DiscoveryButtonProps)
web/src/features/system-settings/auth/custom-oauth/components/discovery-button.tsx:33
MethodDo
Do executes an HTTP request
pkg/ionet/client.go:34
MethodDo
(request *http.Request)
relay/channel/aws/relay_aws_test.go:41
FunctionDoCheckin
DoCheckin 执行用户签到
controller/checkin.go:43
MethodDoRequest
(c *gin.Context, info *relaycommon.RelayInfo, requestBody io.Reader)
relay/channel/adapter.go:78
MethodDoRequest
(c *gin.Context, info *relaycommon.RelayInfo, requestBody io.Reader)
relay/channel/replicate/adaptor.go:186
MethodDoRequest
(c *gin.Context, info *relaycommon.RelayInfo, requestBody io.Reader)
relay/channel/jimeng/adaptor.go:106
MethodDoRequest
(c *gin.Context, info *relaycommon.RelayInfo, requestBody io.Reader)
relay/channel/gemini/adaptor.go:280
MethodDoRequest
(c *gin.Context, info *relaycommon.RelayInfo, requestBody io.Reader)
relay/channel/deepseek/adaptor.go:285
MethodDoRequest
(c *gin.Context, info *relaycommon.RelayInfo, requestBody io.Reader)
relay/channel/ali/adaptor.go:192
MethodDoRequest
(c *gin.Context, info *relaycommon.RelayInfo, requestBody io.Reader)
relay/channel/xunfei/adaptor.go:75
MethodDoRequest
(c *gin.Context, info *relaycommon.RelayInfo, requestBody io.Reader)
relay/channel/ollama/adaptor.go:112
MethodDoRequest
(c *gin.Context, info *relaycommon.RelayInfo, requestBody io.Reader)
relay/channel/mistral/adaptor.go:74
MethodDoRequest
(c *gin.Context, info *relaycommon.RelayInfo, body io.Reader)
relay/channel/task/jsplugin/adaptor.go:413
MethodDoRequest
(c *gin.Context, info *relaycommon.RelayInfo, requestBody io.Reader)
relay/channel/zhipu_4v/adaptor.go:120
MethodDoRequest
(c *gin.Context, info *relaycommon.RelayInfo, requestBody io.Reader)
relay/channel/palm/adaptor.go:75
MethodDoRequest
(c *gin.Context, info *relaycommon.RelayInfo, requestBody io.Reader)
relay/channel/providerplugin/adaptor.go:188
MethodDoRequest
(c *gin.Context, info *relaycommon.RelayInfo, requestBody io.Reader)
relay/channel/jina/adaptor.go:70
MethodDoRequest
(c *gin.Context, info *relaycommon.RelayInfo, requestBody io.Reader)
relay/channel/xai/adaptor.go:115
MethodDoRequest
(c *gin.Context, info *relaycommon.RelayInfo, requestBody io.Reader)
relay/channel/moonshot/adaptor.go:110
MethodDoRequest
(c *gin.Context, info *relaycommon.RelayInfo, requestBody io.Reader)
relay/channel/newapi/adaptor.go:100
MethodDoRequest
(c *gin.Context, info *relaycommon.RelayInfo, requestBody io.Reader)
relay/channel/openai/adaptor.go:750
MethodDoRequest
(c *gin.Context, info *relaycommon.RelayInfo, requestBody io.Reader)
relay/channel/submodel/adaptor.go:68
MethodDoRequest
(c *gin.Context, info *relaycommon.RelayInfo, requestBody io.Reader)
relay/channel/minimax/adaptor.go:119
MethodDoRequest
(c *gin.Context, info *relaycommon.RelayInfo, requestBody io.Reader)
relay/channel/perplexity/adaptor.go:82
MethodDoRequest
(c *gin.Context, info *relaycommon.RelayInfo, requestBody io.Reader)
relay/channel/zhipu/adaptor.go:78
MethodDoRequest
(c *gin.Context, info *relaycommon.RelayInfo, requestBody io.Reader)
relay/channel/tencent/adaptor.go:99
MethodDoRequest
(c *gin.Context, info *relaycommon.RelayInfo, requestBody io.Reader)
relay/channel/dify/adaptor.go:101
MethodDoRequest
(c *gin.Context, info *relaycommon.RelayInfo, requestBody io.Reader)
relay/channel/siliconflow/adaptor.go:110
MethodDoRequest
(c *gin.Context, info *relaycommon.RelayInfo, requestBody io.Reader)
relay/channel/baidu_v2/adaptor.go:114
MethodDoRequest
(c *gin.Context, info *relaycommon.RelayInfo, requestBody io.Reader)
relay/channel/volcengine/adaptor.go:333
MethodDoRequest
(c *gin.Context, info *relaycommon.RelayInfo, requestBody io.Reader)
relay/channel/vertex/adaptor.go:341
MethodDoRequest
(c *gin.Context, info *relaycommon.RelayInfo, requestBody io.Reader)
relay/channel/codex/adaptor.go:112
MethodDoRequest
(c *gin.Context, info *relaycommon.RelayInfo, requestBody io.Reader)
relay/channel/cohere/adaptor.go:67
MethodDoRequest
(c *gin.Context, info *relaycommon.RelayInfo, requestBody io.Reader)
relay/channel/baidu/adaptor.go:145
MethodDoRequest
(c *gin.Context, info *relaycommon.RelayInfo, requestBody io.Reader)
relay/channel/cloudflare/adaptor.go:71
MethodDoRequest
(c *gin.Context, info *relaycommon.RelayInfo, requestBody io.Reader)
relay/channel/mokaai/adaptor.go:89
MethodDoRequest
(c *gin.Context, info *relaycommon.RelayInfo, requestBody io.Reader)
relay/channel/claude/adaptor.go:160
MethodDoRequest
DoRequest implements channel.Adaptor.
relay/channel/coze/adaptor.go:66
MethodDoResponse
(c *gin.Context, resp *http.Response, info *relaycommon.RelayInfo)
relay/channel/replicate/adaptor.go:190
MethodDoResponse
(c *gin.Context, resp *http.Response, info *relaycommon.RelayInfo)
relay/channel/jimeng/adaptor.go:127
MethodDoResponse
(c *gin.Context, resp *http.Response, info *relaycommon.RelayInfo)
relay/channel/gemini/adaptor.go:284
MethodDoResponse
(c *gin.Context, resp *http.Response, info *relaycommon.RelayInfo)
relay/channel/deepseek/adaptor.go:289
MethodDoResponse
(c *gin.Context, resp *http.Response, info *relaycommon.RelayInfo)
relay/channel/ali/adaptor.go:196
MethodDoResponse
(c *gin.Context, resp *http.Response, info *relaycommon.RelayInfo)
relay/channel/xunfei/adaptor.go:82
MethodDoResponse
(c *gin.Context, resp *http.Response, info *relaycommon.RelayInfo)
relay/channel/ollama/adaptor.go:116
MethodDoResponse
(c *gin.Context, resp *http.Response, info *relaycommon.RelayInfo)
relay/channel/mistral/adaptor.go:78
MethodDoResponse
(c *gin.Context, resp *http.Response, info *relaycommon.RelayInfo)
relay/channel/zhipu_4v/adaptor.go:124
MethodDoResponse
(c *gin.Context, resp *http.Response, info *relaycommon.RelayInfo)
relay/channel/palm/adaptor.go:79
MethodDoResponse
DoResponse relays the response as the route's handler does, then bills the tool calls the plugin counted, which replace the handler's count of the sam
relay/channel/providerplugin/adaptor.go:285
MethodDoResponse
(c *gin.Context, resp *http.Response, info *relaycommon.RelayInfo)
relay/channel/jina/adaptor.go:83
MethodDoResponse
(c *gin.Context, resp *http.Response, info *relaycommon.RelayInfo)
relay/channel/xai/adaptor.go:119
MethodDoResponse
(c *gin.Context, resp *http.Response, info *relaycommon.RelayInfo)
relay/channel/moonshot/adaptor.go:122
MethodDoResponse
(c *gin.Context, resp *http.Response, info *relaycommon.RelayInfo)
relay/channel/newapi/adaptor.go:104
MethodDoResponse
(c *gin.Context, resp *http.Response, info *relaycommon.RelayInfo)
relay/channel/openai/adaptor.go:762
MethodDoResponse
(c *gin.Context, resp *http.Response, info *relaycommon.RelayInfo)
relay/channel/submodel/adaptor.go:72
MethodDoResponse
(c *gin.Context, resp *http.Response, info *relaycommon.RelayInfo)
relay/channel/perplexity/adaptor.go:86
MethodDoResponse
(c *gin.Context, resp *http.Response, info *relaycommon.RelayInfo)
relay/channel/zhipu/adaptor.go:87
MethodDoResponse
(c *gin.Context, resp *http.Response, info *relaycommon.RelayInfo)
relay/channel/tencent/adaptor.go:103
MethodDoResponse
(c *gin.Context, resp *http.Response, info *relaycommon.RelayInfo)
relay/channel/dify/adaptor.go:105
MethodDoResponse
(c *gin.Context, resp *http.Response, info *relaycommon.RelayInfo)
relay/channel/siliconflow/adaptor.go:123
MethodDoResponse
(c *gin.Context, resp *http.Response, info *relaycommon.RelayInfo)
relay/channel/baidu_v2/adaptor.go:118
MethodDoResponse
(c *gin.Context, resp *http.Response, info *relaycommon.RelayInfo)
relay/channel/volcengine/adaptor.go:349
MethodDoResponse
(c *gin.Context, resp *http.Response, info *relaycommon.RelayInfo)
relay/channel/vertex/adaptor.go:345
MethodDoResponse
(c *gin.Context, resp *http.Response, info *relaycommon.RelayInfo)
relay/channel/codex/adaptor.go:116
MethodDoResponse
(c *gin.Context, resp *http.Response, info *relaycommon.RelayInfo)
relay/channel/cohere/adaptor.go:80
MethodDoResponse
(c *gin.Context, resp *http.Response, info *relaycommon.RelayInfo)
relay/channel/baidu/adaptor.go:149
← previousnext →9,801–9,900 of 15,592, ranked by callers