Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/QuantumNous/new-api
/ functions
Functions
15,592 in github.com/QuantumNous/new-api
⨍
Functions
15,592
◇
Types & classes
2,267
Function
RouteModeBadges
(props: { routes: AdvancedCustomRoute[] })
web/src/features/channels/components/dialogs/advanced-custom-editor-dialog.tsx:205
Function
RoutingPolicyEditor
(props: { config: PolicyConfig })
web/src/features/system-settings/request-policies/routing-section.tsx:65
Function
RoutingPolicySection
()
web/src/features/system-settings/request-policies/routing-section.tsx:46
Function
RuleConditionRow
({ condition, onChange, onRemove, }: RuleConditionRowProps)
web/src/features/system-settings/models/tiered-pricing-editor.tsx:364
Function
RuleEditor
(ruleEditorProps: RuleEditorProps)
web/src/features/channels/components/dialogs/param-override-editor-dialog.tsx:2155
Function
RuleEditorDialog
(props: Props)
web/src/features/system-settings/general/channel-affinity/rule-editor-dialog.tsx:114
Function
RuleGroupCard
({ group, index, onChange, onRemove, }: RuleGroupCardProps)
web/src/features/system-settings/models/tiered-pricing-editor.tsx:562
Method
Run
(ctx context.Context, task *model.SystemTask, runnerID string)
controller/system_task_handlers.go:40
Method
Run
(ctx context.Context, task *model.SystemTask, runnerID string)
controller/system_task_handlers.go:81
Method
Run
(ctx context.Context, task *model.SystemTask, runnerID string)
controller/system_task_handlers.go:112
Method
Run
(ctx context.Context, task *model.SystemTask, runnerID string)
controller/system_task_handlers.go:153
Method
Run
(ctx context.Context, task *model.SystemTask, runnerID string)
controller/system_task_handlers.go:179
Method
Run
(ctx context.Context, task *model.SystemTask, runnerID string)
controller/system_task_handlers.go:199
Method
Run
(ctx context.Context, task *model.SystemTask, runnerID string)
service/system_task_test.go:48
Method
Run
(ctx context.Context, task *model.SystemTask, runnerID string)
service/system_task.go:82
Function
RunExprByHash
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
Function
SSRFSection
({ defaultValues }: SSRFSectionProps)
web/src/features/system-settings/request-limits/ssrf-section.tsx:160
Function
SafeSendString
(ch chan string, value string)
common/go-channel.go:22
Function
SafeSendStringTimeout
SafeSendStringTimeout send, return true, else return false
common/go-channel.go:38
Function
SameBillingFields
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
Method
SavePolicy
(m casbinmodel.Model)
service/authz/adapter.go:56
Function
SaveTmpFile
SaveTmpFile saves data to a temporary file. The filename would be apppended with a random string.
common/utils.go:296
Function
SaveWaffoPancake
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
Function
ScaleConfig
()
web/src/components/config-drawer.tsx:474
Function
ScalePreview
* 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
Method
Scan
Scan 实现 sql.Scanner 接口,兼容不同驱动返回的类型
model/prefill_group.go:33
Function
ScopeCards
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
Function
ScopeLine
One labeled line of the scope: icons and names, wrapping.
web/src/features/task-plugins/components/plugin-scope-summary.tsx:30
Function
ScrollArea
({ className, children, ...props }: ScrollAreaPrimitive.Root.Props)
web/src/components/ui/scroll-area.tsx:23
Function
ScrollBar
({ className, orientation = 'vertical', ...props }: ScrollAreaPrimitive.Scrollbar.Props)
web/src/components/ui/scroll-area.tsx:46
Function
ScrollingIcons
({ icons, direction = 'up', className, }: ScrollingIconsProps)
web/src/features/home/components/scrolling-icons.tsx:32
Function
Search
({ className = '', placeholder }: SearchProps)
web/src/components/search.tsx:33
Function
SearchAllLogs
Deprecated: SearchAllLogs 已废弃,前端未使用该接口。
controller/log.go:173
Function
SearchBar
(props: SearchBarProps)
web/src/features/pricing/components/search-bar.tsx:34
Function
SearchChannels
(c *gin.Context)
controller/channel.go:395
Function
SearchDeployments
(c *gin.Context)
controller/deployment.go:243
Function
SearchModelsMeta
SearchModelsMeta 搜索模型列表
controller/model_meta.go:21
Function
SearchModelsWithChannels
SearchModelsWithChannels augments metadata with concrete configured names. Synthetic rows never persist and never affect the public pricing catalog.
model/model_meta.go:192
Function
SearchProvider
({ children }: SearchProviderProps)
web/src/context/search-provider.tsx:32
Function
SearchRedemptions
(c *gin.Context)
controller/redemption.go:29
Function
SearchUserLogs
Deprecated: SearchUserLogs 已废弃,前端未使用该接口。
controller/log.go:178
Function
SearchUsers
(c *gin.Context)
controller/user.go:354
Function
Section
({ className, ...props }: React.ComponentProps<'section'>)
web/src/components/layout/components/section.tsx:23
Function
SectionDivider
({ label }: { label: string })
web/src/features/dashboard/components/models/models-filter-dialog.tsx:88
Function
SectionHeader
(props: { icon: React.ComponentType<{ className?: string }> title: string description?: string accent?
web/src/features/pricing/components/model-details-performance.tsx:295
Function
SectionHeading
(props: { title: string description?: string children?: ReactNode })
web/src/features/channels/components/dialogs/codex-usage-dialog.tsx:544
Function
SectionLabel
(props: { children: ReactNode })
web/src/features/home/components/hero-terminal-demo.tsx:383
Function
SectionPageLayout
(props: SectionPageLayoutProps)
web/src/components/layout/components/section-page-layout.tsx:58
Function
SectionPageLayoutActions
(_props: SlotProps)
web/src/components/layout/components/section-page-layout.tsx:37
Function
SectionPageLayoutBreadcrumb
(_props: SlotProps)
web/src/components/layout/components/section-page-layout.tsx:47
Function
SectionPageLayoutContent
(_props: SlotProps)
web/src/components/layout/components/section-page-layout.tsx:42
Function
SectionPageLayoutTitle
(_props: SlotProps)
web/src/components/layout/components/section-page-layout.tsx:32
Function
SectionTitle
(props: { title: string showReset?: boolean onReset?: () => void className?: string })
web/src/components/config-drawer.tsx:133
Function
SectionTitle
(props: { children: React.ReactNode icon: React.ComponentType<{ className?: string }> })
web/src/features/pricing/components/model-details-api.tsx:779
Function
SectionTitle
(props: { children: React.ReactNode })
web/src/features/pricing/components/model-details.tsx:117
Function
SecureVerificationDialog
(props: SecureVerificationDialogProps)
web/src/features/auth/secure-verification/components/secure-verification-dialog.tsx:54
Function
Security
()
web/src/features/security/index.tsx:43
Function
SecuritySettings
()
web/src/features/system-settings/security/index.tsx:44
Method
Seek
(offset int64, whence int)
common/body_storage.go:95
Function
SelectContent
({ className, children, side = 'bottom', sideOffset = 4, align = 'center', alignOffset = 0, alig
web/src/components/ui/select.tsx:89
Function
SelectGroup
({ className, ...props }: SelectPrimitive.Group.Props)
web/src/components/ui/select.tsx:37
Function
SelectItem
({ className, children, ...props }: SelectPrimitive.Item.Props)
web/src/components/ui/select.tsx:155
Function
SelectLabel
({ className, ...props }: SelectPrimitive.GroupLabel.Props)
web/src/components/ui/select.tsx:142
Function
SelectScrollDownButton
({ className, ...props }: React.ComponentProps<typeof SelectPrimitive.ScrollDownArrow>)
web/src/components/ui/select.tsx:221
Function
SelectScrollUpButton
({ className, ...props }: React.ComponentProps<typeof SelectPrimitive.ScrollUpArrow>)
web/src/components/ui/select.tsx:203
Function
SelectSeparator
({ className, ...props }: SelectPrimitive.Separator.Props)
web/src/components/ui/select.tsx:190
Function
SelectTrigger
({ className, size = 'default', children, ...props }: SelectPrimitive.Trigger.Props & { size?: 'sm'
web/src/components/ui/select.tsx:57
Method
SelectUpdate
()
model/redemption.go:200
Function
SelectValue
({ className, ...props }: SelectPrimitive.Value.Props)
web/src/components/ui/select.tsx:47
Function
SendEmailVerification
(c *gin.Context)
controller/misc.go:220
Function
Separator
({ className, orientation = 'horizontal', ...props }: SeparatorPrimitive.Props)
web/src/components/ui/separator.tsx:23
Method
Serve
(*gin.Context, *model.Task, *StoredArtifactRef)
service/task_artifact_store.go:49
Function
ServerLogFiles
()
web/src/features/system-settings/maintenance/server-log-files.tsx:77
Function
SessionRulesTable
(props: SessionRulesTableProps)
web/src/features/system-settings/general/channel-affinity/session-rules-table.tsx:67
Method
SetBase64Data
(data string)
relaykit/types/file_source.go:199
Method
SetCache
(data *CachedFileData)
relaykit/types/file_source.go:37
Function
SetMediaResolver
(resolver MediaResolver)
relaykit/relayconvert/internal/media/media.go:24
Method
SetMetadata
(k string, v any)
relaykit/dto/openai_video.go:37
Method
SetModelName
(modelName string)
relaykit/dto/claude.go:428
Method
SetModelName
(modelName string)
relaykit/dto/openai_request.go:298
Method
SetModelName
(modelName string)
relaykit/dto/openai_request.go:1204
Method
SetModelName
(modelName string)
relaykit/dto/embedding.go:73
Method
SetModelName
(modelName string)
relaykit/dto/deepseek_tools_request.go:30
Method
SetModelName
(modelName string)
relaykit/dto/gemini.go:179
Method
SetModelName
(modelName string)
relaykit/dto/gemini.go:671
Method
SetModelName
(modelName string)
relaykit/dto/gemini.go:700
Method
SetModelName
(modelName string)
relaykit/dto/rerank.go:41
Method
SetModelName
(modelName string)
relaykit/dto/audio.go:47
Method
SetModelName
(modelName string)
relaykit/dto/openai_image.go:188
Method
SetModelName
(modelName string)
relaykit/dto/openai_responses_compaction_request.go:46
Method
SetModelName
(modelName string)
relaykit/dto/alpha_search_request.go:34
Method
SetModelName
(modelName string)
relaykit/dto/request_common.go:25
Method
SetNullContent
()
relaykit/dto/openai_request.go:722
Function
SetPayloadHash
(c *gin.Context, req any)
relay/channel/jimeng/sign.go:44
Method
SetPrefix
(prefix bool)
relaykit/dto/openai_request.go:679
Method
SetProviderUserID
(*model.User, string)
controller/auth_flow_test.go:650
Method
SetProviderUserID
(user *model.User, providerUserID string)
controller/auth_flow_test.go:848
Method
SetProviderUserID
(user *model.User, id string)
oauth/telegram.go:198
Method
SetProviderUserID
(user *model.User, providerUserID string)
oauth/github.go:215
Method
SetProviderUserID
(user *model.User, providerUserID string)
oauth/oidc.go:169
← previous
next →
11,401–11,500 of 15,592, ranked by callers