MCPcopy Create free account

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

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

FunctionRouteModeBadges
(props: { routes: AdvancedCustomRoute[] })
web/src/features/channels/components/dialogs/advanced-custom-editor-dialog.tsx:205
FunctionRoutingPolicyEditor
(props: { config: PolicyConfig })
web/src/features/system-settings/request-policies/routing-section.tsx:65
FunctionRoutingPolicySection
()
web/src/features/system-settings/request-policies/routing-section.tsx:46
FunctionRuleConditionRow
({ condition, onChange, onRemove, }: RuleConditionRowProps)
web/src/features/system-settings/models/tiered-pricing-editor.tsx:364
FunctionRuleEditor
(ruleEditorProps: RuleEditorProps)
web/src/features/channels/components/dialogs/param-override-editor-dialog.tsx:2155
FunctionRuleEditorDialog
(props: Props)
web/src/features/system-settings/general/channel-affinity/rule-editor-dialog.tsx:114
FunctionRuleGroupCard
({ group, index, onChange, onRemove, }: RuleGroupCardProps)
web/src/features/system-settings/models/tiered-pricing-editor.tsx:562
MethodRun
(ctx context.Context, task *model.SystemTask, runnerID string)
controller/system_task_handlers.go:40
MethodRun
(ctx context.Context, task *model.SystemTask, runnerID string)
controller/system_task_handlers.go:81
MethodRun
(ctx context.Context, task *model.SystemTask, runnerID string)
controller/system_task_handlers.go:112
MethodRun
(ctx context.Context, task *model.SystemTask, runnerID string)
controller/system_task_handlers.go:153
MethodRun
(ctx context.Context, task *model.SystemTask, runnerID string)
controller/system_task_handlers.go:179
MethodRun
(ctx context.Context, task *model.SystemTask, runnerID string)
controller/system_task_handlers.go:199
MethodRun
(ctx context.Context, task *model.SystemTask, runnerID string)
service/system_task_test.go:48
MethodRun
(ctx context.Context, task *model.SystemTask, runnerID string)
service/system_task.go:82
FunctionRunExprByHash
RunExprByHash is like RunExpr but accepts a pre-computed hash for the cache lookup, avoiding a redundant SHA-256 computation when the caller already h
pkg/billingexpr/run.go:41
FunctionSSRFSection
({ defaultValues }: SSRFSectionProps)
web/src/features/system-settings/request-limits/ssrf-section.tsx:160
FunctionSafeSendString
(ch chan string, value string)
common/go-channel.go:22
FunctionSafeSendStringTimeout
SafeSendStringTimeout send, return true, else return false
common/go-channel.go:38
FunctionSameBillingFields
SameBillingFields rejects a change to any member that prices the request. It compares values, not text: applying effects re-encodes the body, which re
relay/common/request_plugin.go:179
MethodSavePolicy
(m casbinmodel.Model)
service/authz/adapter.go:56
FunctionSaveTmpFile
SaveTmpFile saves data to a temporary file. The filename would be apppended with a random string.
common/utils.go:296
FunctionSaveWaffoPancake
SaveWaffoPancake atomically persists all five operator-controlled fields. Catalog / pair endpoints are transient — only this one writes the OptionMap.
controller/topup_waffo_pancake.go:125
FunctionScaleConfig
()
web/src/components/config-drawer.tsx:474
FunctionScalePreview
* Visual preview rows for the density preset. Each row's height represents * the relative line-height density (compact = tight rows, comfortable = wi
web/src/components/config-drawer.tsx:454
MethodScan
Scan 实现 sql.Scanner 接口,兼容不同驱动返回的类型
model/prefill_group.go:33
FunctionScopeCards
The scope cards of the editor: an icon, a title and a hint each.
web/src/features/task-plugins/components/request-plugin-instance-editor.tsx:137
FunctionScopeLine
One labeled line of the scope: icons and names, wrapping.
web/src/features/task-plugins/components/plugin-scope-summary.tsx:30
FunctionScrollArea
({ className, children, ...props }: ScrollAreaPrimitive.Root.Props)
web/src/components/ui/scroll-area.tsx:23
FunctionScrollBar
({ className, orientation = 'vertical', ...props }: ScrollAreaPrimitive.Scrollbar.Props)
web/src/components/ui/scroll-area.tsx:46
FunctionScrollingIcons
({ icons, direction = 'up', className, }: ScrollingIconsProps)
web/src/features/home/components/scrolling-icons.tsx:32
FunctionSearch
({ className = '', placeholder }: SearchProps)
web/src/components/search.tsx:33
FunctionSearchAllLogs
Deprecated: SearchAllLogs 已废弃,前端未使用该接口。
controller/log.go:173
FunctionSearchBar
(props: SearchBarProps)
web/src/features/pricing/components/search-bar.tsx:34
FunctionSearchChannels
(c *gin.Context)
controller/channel.go:395
FunctionSearchDeployments
(c *gin.Context)
controller/deployment.go:243
FunctionSearchModelsMeta
SearchModelsMeta 搜索模型列表
controller/model_meta.go:21
FunctionSearchModelsWithChannels
SearchModelsWithChannels augments metadata with concrete configured names. Synthetic rows never persist and never affect the public pricing catalog.
model/model_meta.go:192
FunctionSearchProvider
({ children }: SearchProviderProps)
web/src/context/search-provider.tsx:32
FunctionSearchRedemptions
(c *gin.Context)
controller/redemption.go:29
FunctionSearchUserLogs
Deprecated: SearchUserLogs 已废弃,前端未使用该接口。
controller/log.go:178
FunctionSearchUsers
(c *gin.Context)
controller/user.go:354
FunctionSection
({ className, ...props }: React.ComponentProps<'section'>)
web/src/components/layout/components/section.tsx:23
FunctionSectionDivider
({ label }: { label: string })
web/src/features/dashboard/components/models/models-filter-dialog.tsx:88
FunctionSectionHeader
(props: { icon: React.ComponentType<{ className?: string }> title: string description?: string accent?
web/src/features/pricing/components/model-details-performance.tsx:295
FunctionSectionHeading
(props: { title: string description?: string children?: ReactNode })
web/src/features/channels/components/dialogs/codex-usage-dialog.tsx:544
FunctionSectionLabel
(props: { children: ReactNode })
web/src/features/home/components/hero-terminal-demo.tsx:383
FunctionSectionPageLayout
(props: SectionPageLayoutProps)
web/src/components/layout/components/section-page-layout.tsx:58
FunctionSectionPageLayoutActions
(_props: SlotProps)
web/src/components/layout/components/section-page-layout.tsx:37
FunctionSectionPageLayoutBreadcrumb
(_props: SlotProps)
web/src/components/layout/components/section-page-layout.tsx:47
FunctionSectionPageLayoutContent
(_props: SlotProps)
web/src/components/layout/components/section-page-layout.tsx:42
FunctionSectionPageLayoutTitle
(_props: SlotProps)
web/src/components/layout/components/section-page-layout.tsx:32
FunctionSectionTitle
(props: { title: string showReset?: boolean onReset?: () => void className?: string })
web/src/components/config-drawer.tsx:133
FunctionSectionTitle
(props: { children: React.ReactNode icon: React.ComponentType<{ className?: string }> })
web/src/features/pricing/components/model-details-api.tsx:779
FunctionSectionTitle
(props: { children: React.ReactNode })
web/src/features/pricing/components/model-details.tsx:117
FunctionSecureVerificationDialog
(props: SecureVerificationDialogProps)
web/src/features/auth/secure-verification/components/secure-verification-dialog.tsx:54
FunctionSecurity
()
web/src/features/security/index.tsx:43
FunctionSecuritySettings
()
web/src/features/system-settings/security/index.tsx:44
MethodSeek
(offset int64, whence int)
common/body_storage.go:95
FunctionSelectContent
({ className, children, side = 'bottom', sideOffset = 4, align = 'center', alignOffset = 0, alig
web/src/components/ui/select.tsx:89
FunctionSelectGroup
({ className, ...props }: SelectPrimitive.Group.Props)
web/src/components/ui/select.tsx:37
FunctionSelectItem
({ className, children, ...props }: SelectPrimitive.Item.Props)
web/src/components/ui/select.tsx:155
FunctionSelectLabel
({ className, ...props }: SelectPrimitive.GroupLabel.Props)
web/src/components/ui/select.tsx:142
FunctionSelectScrollDownButton
({ className, ...props }: React.ComponentProps<typeof SelectPrimitive.ScrollDownArrow>)
web/src/components/ui/select.tsx:221
FunctionSelectScrollUpButton
({ className, ...props }: React.ComponentProps<typeof SelectPrimitive.ScrollUpArrow>)
web/src/components/ui/select.tsx:203
FunctionSelectSeparator
({ className, ...props }: SelectPrimitive.Separator.Props)
web/src/components/ui/select.tsx:190
FunctionSelectTrigger
({ className, size = 'default', children, ...props }: SelectPrimitive.Trigger.Props & { size?: 'sm'
web/src/components/ui/select.tsx:57
MethodSelectUpdate
()
model/redemption.go:200
FunctionSelectValue
({ className, ...props }: SelectPrimitive.Value.Props)
web/src/components/ui/select.tsx:47
FunctionSendEmailVerification
(c *gin.Context)
controller/misc.go:220
FunctionSeparator
({ className, orientation = 'horizontal', ...props }: SeparatorPrimitive.Props)
web/src/components/ui/separator.tsx:23
MethodServe
(*gin.Context, *model.Task, *StoredArtifactRef)
service/task_artifact_store.go:49
FunctionServerLogFiles
()
web/src/features/system-settings/maintenance/server-log-files.tsx:77
FunctionSessionRulesTable
(props: SessionRulesTableProps)
web/src/features/system-settings/general/channel-affinity/session-rules-table.tsx:67
MethodSetBase64Data
(data string)
relaykit/types/file_source.go:199
MethodSetCache
(data *CachedFileData)
relaykit/types/file_source.go:37
FunctionSetMediaResolver
(resolver MediaResolver)
relaykit/relayconvert/internal/media/media.go:24
MethodSetMetadata
(k string, v any)
relaykit/dto/openai_video.go:37
MethodSetModelName
(modelName string)
relaykit/dto/claude.go:428
MethodSetModelName
(modelName string)
relaykit/dto/openai_request.go:298
MethodSetModelName
(modelName string)
relaykit/dto/openai_request.go:1204
MethodSetModelName
(modelName string)
relaykit/dto/embedding.go:73
MethodSetModelName
(modelName string)
relaykit/dto/deepseek_tools_request.go:30
MethodSetModelName
(modelName string)
relaykit/dto/gemini.go:179
MethodSetModelName
(modelName string)
relaykit/dto/gemini.go:671
MethodSetModelName
(modelName string)
relaykit/dto/gemini.go:700
MethodSetModelName
(modelName string)
relaykit/dto/rerank.go:41
MethodSetModelName
(modelName string)
relaykit/dto/audio.go:47
MethodSetModelName
(modelName string)
relaykit/dto/openai_image.go:188
MethodSetModelName
(modelName string)
relaykit/dto/openai_responses_compaction_request.go:46
MethodSetModelName
(modelName string)
relaykit/dto/alpha_search_request.go:34
MethodSetModelName
(modelName string)
relaykit/dto/request_common.go:25
MethodSetNullContent
()
relaykit/dto/openai_request.go:722
FunctionSetPayloadHash
(c *gin.Context, req any)
relay/channel/jimeng/sign.go:44
MethodSetPrefix
(prefix bool)
relaykit/dto/openai_request.go:679
MethodSetProviderUserID
(*model.User, string)
controller/auth_flow_test.go:650
MethodSetProviderUserID
(user *model.User, providerUserID string)
controller/auth_flow_test.go:848
MethodSetProviderUserID
(user *model.User, id string)
oauth/telegram.go:198
MethodSetProviderUserID
(user *model.User, providerUserID string)
oauth/github.go:215
MethodSetProviderUserID
(user *model.User, providerUserID string)
oauth/oidc.go:169
← previousnext →11,401–11,500 of 15,592, ranked by callers