MCPcopy Create free account

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

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

FunctionAudioPreviewDialog
(props: AudioPreviewDialogProps)
web/src/features/usage-logs/components/dialogs/audio-preview-dialog.tsx:138
FunctionAuditDetailFields
(props: { fields: AuditDetailField[] })
web/src/features/usage-logs/audit/components/audit-detail-fields.tsx:29
FunctionAuditDetailValue
(props: { label: string value: string mono?: boolean copyable?: boolean })
web/src/features/usage-logs/audit/components/audit-detail-value.tsx:24
FunctionAuditFilterSelect
(props: { label: string value: string options: { value: string; label: string; disabled?: boolean }[]
web/src/features/usage-logs/audit/components/audit-log-filter-bar.tsx:32
FunctionAuditLogDetailsDialog
(props: { entry: AuditLog })
web/src/features/usage-logs/audit/components/audit-log-details-dialog.tsx:38
FunctionAuditLogFilterBar
(props: { table: Table<AuditLog> filters: AuditFilters onChange: (patch: Partial<AuditFilters>) => void
web/src/features/usage-logs/audit/components/audit-log-filter-bar.tsx:53
FunctionAuditLogViewer
(props: { scope: 'all' | 'self' accessOnly?: boolean currentTokenRef?: string // The token scope the v
web/src/features/usage-logs/audit/components/audit-log-viewer.tsx:36
FunctionAuditLogs
()
web/src/features/usage-logs/audit/index.tsx:36
FunctionAuthLayout
({ children }: AuthLayoutProps)
web/src/features/auth/auth-layout.tsx:29
FunctionAuthSection
()
web/src/features/pricing/components/model-details-api.tsx:727
FunctionAuthSettings
()
web/src/features/system-settings/auth/index.tsx:76
FunctionAuthenticatedLayout
(props: AuthenticatedLayoutProps)
web/src/components/layout/components/authenticated-layout.tsx:36
FunctionAutoGroupBadge
(props: { shouldReduceMotion: boolean })
web/src/features/keys/components/auto-group-visuals.tsx:106
FunctionAutoGroupChain
(props: { model: PricingModel; autoGroups: string[] })
web/src/features/pricing/components/model-details.tsx:928
FunctionAutoGroupFlowBorder
(props: AutoGroupFlowBorderProps)
web/src/features/keys/components/auto-group-visuals.tsx:35
FunctionAutoGroupFrame
(props: AutoGroupFrameProps)
web/src/features/keys/components/auto-group-visuals.tsx:57
FunctionAutoGroupOrderEditor
(props: AutoGroupOrderEditorProps)
web/src/features/keys/components/auto-group-order-editor.tsx:52
FunctionAutoGroupOrderItem
(props: AutoGroupOrderItemProps)
web/src/components/auto-group-order-item.tsx:44
FunctionAvatar
({ className, size = 'default', ...props }: AvatarPrimitive.Root.Props & { size?: 'default' | 'sm' | '
web/src/components/ui/avatar.tsx:24
FunctionAvatarBadge
({ className, ...props }: React.ComponentProps<'span'>)
web/src/components/ui/avatar.tsx:73
FunctionAvatarFallback
({ className, ...props }: AvatarPrimitive.Fallback.Props)
web/src/components/ui/avatar.tsx:57
FunctionAvatarGroup
({ className, ...props }: React.ComponentProps<'div'>)
web/src/components/ui/avatar.tsx:89
FunctionAvatarGroupCount
({ className, ...props }: React.ComponentProps<'div'>)
web/src/components/ui/avatar.tsx:102
FunctionAvatarImage
({ className, ...props }: AvatarPrimitive.Image.Props)
web/src/components/ui/avatar.tsx:44
FunctionBadge
({ className, variant = 'default', render, ...props }: useRender.ComponentProps<'span'> & VariantProps
web/src/components/ui/badge.tsx:50
FunctionBadgeCell
({ className, ...props }: BadgeCellProps)
web/src/components/data-table/core/badge-cell.tsx:25
FunctionBadgeListCell
({ items, max = 2, tooltipClassName, expandable = false, expandLabel, }: BadgeListCellProps)
web/src/components/data-table/core/badge-list-cell.tsx:49
FunctionBadgedEntries
Lists the sidebar entries of the current view that carry a badge.
web/src/hooks/__tests__/sidebar-config.test.tsx:216
FunctionBalanceCell
({ channel }: { channel: Channel })
web/src/features/channels/components/channels-columns.tsx:350
FunctionBalanceQueryDialog
(props: BalanceQueryDialogProps)
web/src/features/channels/components/dialogs/balance-query-dialog.tsx:54
FunctionBarSparkline
(props: { values?: number[]; tone: StatCardTone })
web/src/features/dashboard/components/ui/stat-card.tsx:188
FunctionBasicAuthSection
({ defaultValues }: BasicAuthSectionProps)
web/src/features/system-settings/auth/basic-auth-section.tsx:63
FunctionBatchSetChannelTag
(c *gin.Context)
controller/channel.go:1747
FunctionBatchUpdateChannelStatus
(c *gin.Context)
controller/channel.go:1517
MethodBeforeCreate
(tx *gorm.DB)
model/subscription.go:204
MethodBeforeCreate
(tx *gorm.DB)
model/subscription.go:295
MethodBeforeCreate
(tx *gorm.DB)
model/subscription.go:1267
MethodBeforeCreate
(_ *gorm.DB)
model/system_task.go:76
MethodBeforeCreate
(_ *gorm.DB)
model/system_task.go:87
MethodBeforeCreate
(_ *gorm.DB)
model/system_instance.go:35
MethodBeforeProcess
(ctx context.Context, cmd redis.Cmder)
model/user_session_test.go:24
MethodBeforeProcessPipeline
(ctx context.Context, _ []redis.Cmder)
model/user_session_test.go:35
MethodBeforeUpdate
(tx *gorm.DB)
model/subscription.go:211
MethodBeforeUpdate
(tx *gorm.DB)
model/subscription.go:302
MethodBeforeUpdate
(tx *gorm.DB)
model/subscription.go:1274
FunctionBenchmarkExprCompile
(b *testing.B)
pkg/billingexpr/billingexpr_test.go:1140
FunctionBenchmarkExprRunCached
(b *testing.B)
pkg/billingexpr/billingexpr_test.go:1147
FunctionBenchmarkMultipartBodyStorage
(b *testing.B)
common/body_storage_test.go:240
FunctionBenchmarkRatioBilling_Equivalent
(b *testing.B)
service/tiered_settle_test.go:1115
FunctionBenchmarkRatioBilling_Parallel
(b *testing.B)
service/tiered_settle_test.go:1142
FunctionBenchmarkRequestDeepCopy
(b *testing.B)
relay/request_clone_test.go:353
FunctionBenchmarkResponsesReasoningReplay
Long tool sessions are dominated by tool-result payloads, not item count. Keep their bodies opaque while measuring clean and repair paths.
relay/channel/deepseek/adaptor_test.go:374
FunctionBenchmarkTaskPluginAfterGC
Run with -benchtime=50x: GC is excluded so this measures the first hook after reclamation, not the runtime.GC operation or an artificial throughput wo
relay/channel/task/jsplugin/performance_test.go:85
FunctionBenchmarkTaskPluginRuntime
(b *testing.B)
relay/channel/task/jsplugin/performance_test.go:38
FunctionBenchmarkTaskPluginSSE
(b *testing.B)
relay/channel/task/jsplugin/performance_test.go:161
FunctionBenchmarkTaskPluginSubmit
(b *testing.B)
relay/channel/task/jsplugin/performance_test.go:105
FunctionBenchmarkTieredBilling_ComplexExpr
(b *testing.B)
service/tiered_settle_test.go:1099
FunctionBenchmarkTieredBilling_Parallel
(b *testing.B)
service/tiered_settle_test.go:1129
FunctionBenchmarkUnmarshalBodyReusableImageRequest
(b *testing.B)
common/body_storage_test.go:197
FunctionBillingBreakdown
(props: { log: UsageLog other: LogOtherData isAdmin: boolean })
web/src/features/usage-logs/components/dialogs/details-dialog.tsx:173
FunctionBillingConditionValueInput
(props: { value: string onChange: (value: string) => void label?: string invalid?: boolean normalize
web/src/features/system-settings/models/billing-time-fields.tsx:116
FunctionBillingHistoryDialog
({ open, onOpenChange, }: BillingHistoryDialogProps)
web/src/features/wallet/components/dialogs/billing-history-dialog.tsx:63
FunctionBillingSettings
()
web/src/features/system-settings/billing/index.tsx:115
FunctionBillingTimeProbeFields
(props: { probe: VisualComparison['probe'] timezone: string includeTokens?: boolean invalidTimezone?:
web/src/features/system-settings/models/billing-time-fields.tsx:51
FunctionBillingTimeRangeFields
(props: { start: string end: string startOperator?: ReactNode endOperator?: ReactNode invalidStart?:
web/src/features/system-settings/models/billing-time-fields.tsx:185
FunctionBindEmailToUser
BindEmailToUser atomically checks email availability and assigns it to the user, serializing concurrent binds of the same email so two accounts cannot
model/user.go:640
FunctionBotProtectionSection
({ defaultValues, }: BotProtectionSectionProps)
web/src/features/system-settings/auth/bot-protection-section.tsx:58
FunctionBranch
({ defaultBranch = 0, onBranchChange, className, ...props }: BranchProps)
web/src/components/ai-elements/branch.tsx:64
FunctionBranchMessages
({ children, ...props }: BranchMessagesProps)
web/src/components/ai-elements/branch.tsx:111
FunctionBranchNext
({ className, children, ...props }: BranchNextProps)
web/src/components/ai-elements/branch.tsx:200
FunctionBranchPage
({ className, ...props }: BranchPageProps)
web/src/components/ai-elements/branch.tsx:231
FunctionBranchPrevious
({ className, children, ...props }: BranchPreviousProps)
web/src/components/ai-elements/branch.tsx:169
FunctionBranchSelector
({ className, from, ...props }: BranchSelectorProps)
web/src/components/ai-elements/branch.tsx:143
FunctionBrandLogo
({ homeUrl, displayLogo, displaySiteName, loading, logoLoaded, onClick, }: BrandLogoProps)
web/src/components/layout/components/mobile-drawer.tsx:48
FunctionBreadcrumb
({ className, ...props }: React.ComponentProps<'nav'>)
web/src/components/ui/breadcrumb.tsx:30
FunctionBreadcrumbEllipsis
({ className, ...props }: React.ComponentProps<'span'>)
web/src/components/ui/breadcrumb.tsx:115
FunctionBreadcrumbItem
({ className, ...props }: React.ComponentProps<'li'>)
web/src/components/ui/breadcrumb.tsx:54
FunctionBreadcrumbLink
({ className, render, ...props }: useRender.ComponentProps<'a'>)
web/src/components/ui/breadcrumb.tsx:64
FunctionBreadcrumbList
({ className, ...props }: React.ComponentProps<'ol'>)
web/src/components/ui/breadcrumb.tsx:41
FunctionBreadcrumbPage
({ className, ...props }: React.ComponentProps<'span'>)
web/src/components/ui/breadcrumb.tsx:84
FunctionBreadcrumbSeparator
({ children, className, ...props }: React.ComponentProps<'li'>)
web/src/components/ui/breadcrumb.tsx:97
MethodBuildContentRequest
(ctx context.Context, task *model.Task, artifactKey string, clientRequest channel.TaskArtifactClientRequest)
relay/channel/task/jsplugin/adaptor.go:1293
FunctionBuildLoginWebAuthn
BuildLoginWebAuthn gives a known credential's binding precedence over a browser's last-successful-domain hint. All choices remain server controlled.
service/passkey/service.go:97
FunctionBuildMessageDeltaPatchUsage
(claudeResponse *dto.ClaudeResponse, claudeInfo *ClaudeResponseInfo)
relaykit/relayconvert/internal/claude_messages/to_oai_chat_resp.go:356
MethodBuildRequestBody
(c *gin.Context, info *relaycommon.RelayInfo)
relay/channel/task/jsplugin/adaptor.go:367
MethodBuildRequestHeader
(c *gin.Context, req *http.Request, info *relaycommon.RelayInfo)
relay/channel/api_request_getbody_test.go:186
MethodBuildRequestHeader
(c *gin.Context, req *http.Request, _ *relaycommon.RelayInfo)
relay/channel/task/jsplugin/adaptor.go:351
MethodBuildRequestURL
(info *relaycommon.RelayInfo)
relay/channel/api_request_getbody_test.go:182
MethodBuildRequestURL
(info *relaycommon.RelayInfo)
relay/channel/task/jsplugin/adaptor.go:335
FunctionBuildURL
BuildURL concatenates base and endpoint, returns the complete url string
common/utils.go:312
FunctionBuildWebAuthn
BuildWebAuthn constructs a WebAuthn instance using the current passkey settings and request context.
service/passkey/service.go:23
FunctionButton
({ className, variant = 'default', size = 'default', nativeButton, render, ...props }: ButtonPrimi
web/src/components/ui/button.tsx:69
FunctionButtonGroup
({ className, orientation, ...props }: React.ComponentProps<'div'> & VariantProps<typeof buttonGroupVari
web/src/components/ui/button-group.tsx:43
FunctionButtonGroupSeparator
({ className, orientation = 'vertical', ...props }: React.ComponentProps<typeof Separator>)
web/src/components/ui/button-group.tsx:82
FunctionButtonGroupText
({ className, render, ...props }: useRender.ComponentProps<'div'>)
web/src/components/ui/button-group.tsx:59
MethodBytes
()
middleware/distributor_test.go:29
MethodBytes
()
common/body_storage.go:113
MethodBytes
()
common/body_storage.go:251
FunctionBytes2Size
(num int64)
common/utils.go:148
FunctionCCSwitchDialog
(props: Props)
web/src/features/keys/components/dialogs/cc-switch-dialog.tsx:99
← previousnext →9,001–9,100 of 15,409, ranked by callers