MCPcopy Create free account

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

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

FunctionApplyResponseSchema
ApplyResponseSchema sets the structured output schema from the json_schema object of an OpenAI response format. A schema that fits Gemini's typed Sche
relaykit/relayconvert/internal/shared/gemini/schema.go:275
FunctionApplyThinkingConfig
ApplyThinkingConfig resolves every reasoning control that can reach a Gemini request (provider-native thinkingConfig, generic OpenAI fields, and host
relaykit/relayconvert/internal/shared/gemini/request.go:103
FunctionApplyVendorOperation
(c *gin.Context)
controller/vendor_meta.go:125
FunctionArrowStep
()
web/src/features/task-plugins/components/request-plugin-try-panel.tsx:265
FunctionArtifact
({ className, ...props }: ArtifactProps)
web/src/components/ai-elements/artifact.tsx:36
FunctionArtifactAction
({ tooltip, label, icon: Icon, children, className, size = 'sm', variant = 'ghost', ...props }
web/src/components/ai-elements/artifact.tsx:121
FunctionArtifactActions
({ className, ...props }: ArtifactActionsProps)
web/src/components/ai-elements/artifact.tsx:108
FunctionArtifactClose
({ className, children, size = 'sm', variant = 'ghost', ...props }: ArtifactCloseProps)
web/src/components/ai-elements/artifact.tsx:63
FunctionArtifactContent
({ className, ...props }: ArtifactContentProps)
web/src/components/ai-elements/artifact.tsx:165
FunctionArtifactDescription
({ className, ...props }: ArtifactDescriptionProps)
web/src/components/ai-elements/artifact.tsx:99
FunctionArtifactHeader
({ className, ...props }: ArtifactHeaderProps)
web/src/components/ai-elements/artifact.tsx:48
FunctionArtifactMedia
(props: { artifact: TaskArtifact mediaUrl: string onError: () => void })
web/src/features/usage-logs/components/task-artifacts.tsx:142
FunctionArtifactTitle
({ className, ...props }: ArtifactTitleProps)
web/src/components/ai-elements/artifact.tsx:90
FunctionAspectRatio
({ ratio, className, ...props }: React.ComponentProps<'div'> & { ratio: number })
web/src/components/ui/aspect-ratio.tsx:21
FunctionAttachFirstTextThoughtSignature
(opts *convmeta.Options, parts []dto.GeminiPart)
relaykit/relayconvert/internal/shared/gemini/request.go:85
FunctionAttachFunctionCallThoughtSignature
(opts *convmeta.Options, part *dto.GeminiPart)
relaykit/relayconvert/internal/shared/gemini/request.go:78
FunctionAttachmentLine
One attachment: what kind of file it was, and how much of it was checked.
web/src/features/usage-logs/components/request-plugin-record.tsx:304
MethodAttachments
Attachments lists the inline media and the files the body names by id or URL in body order, then the multipart files.
relay/requestplugin/attachments.go:380
FunctionAudioClipCard
({ clip }: { clip: AudioClip })
web/src/features/usage-logs/components/dialogs/audio-preview-dialog.tsx:49
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:929
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:1751
FunctionBatchUpdateChannelStatus
(c *gin.Context)
controller/channel.go:1521
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:178
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
← previousnext →9,101–9,200 of 15,592, ranked by callers