Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/QuantumNous/new-api
/ functions
Functions
15,409 in github.com/QuantumNous/new-api
⨍
Functions
15,409
◇
Types & classes
2,241
Function
formatTagsString
(tags: string[])
web/src/features/models/lib/model-utils.ts:77
Function
formatTimeStr
(date: Date)
web/src/lib/format.ts:245
Function
formatTimestamp
(timestamp: number)
web/src/lib/format.ts:171
Function
formatTimestamp
(timestamp: number)
web/src/features/models/lib/model-utils.ts:33
Function
formatTimestampForInput
(timestamp: number)
web/src/lib/format.ts:284
Function
formatTokens
(tokens: number)
web/src/lib/format.ts:264
Function
generateDefaultSidebarConfig
根据用户角色生成默认的边栏配置
controller/user.go:557
Function
getAccessTokenCatalog
()
web/src/features/security/api.ts:88
Function
getAccessTokenScopes
()
web/src/features/security/api.ts:97
Method
getAllResponseHeaders
()
web/src/features/auth/secure-verification/__tests__/verification-api.test.ts:189
Function
getAttentionReason
(channel: Channel)
web/src/features/channels/lib/channel-utils.ts:587
Function
getAvailableOAuthProviders
( status: SystemStatus | null )
web/src/features/auth/lib/oauth.ts:35
Function
getAvatarColorClass
(name: string)
web/src/lib/colors.ts:78
Function
getBillingTime
()
web/src/features/pricing/hooks/use-billing-time.ts:53
Function
getBuildRevision
()
web/src/lib/build-metadata.ts:168
Function
getChannelQuery
(group string, model string, retry int)
model/ability.go:93
Function
getChannelStatusBadge
(status: number)
web/src/features/channels/lib/channel-utils.ts:135
Function
getChannelTypeHints
(type: number)
web/src/features/channels/lib/channel-type-config.ts:215
Function
getChartColor
(index: number)
web/src/lib/colors.ts:111
Function
getConfirmFinalFocus
()
web/src/features/channels/components/dialogs/multi-key-manage-dialog.tsx:133
Function
getContentTypeByFormat
(format string)
relay/channel/minimax/tts.go:94
Function
getCredential
( options: PublicKeyCredentialRequestOptions )
web/src/lib/passkey.ts:261
Function
getCustomOAuthProvider
( id: number )
web/src/features/system-settings/auth/custom-oauth/api.ts:44
Function
getDashboardSectionNavItems
( t: TFunction, options?: { isAdmin?: boolean } )
web/src/features/dashboard/section-registry.tsx:68
Function
getDefaultFeatures
(t: TFunction)
web/src/features/home/constants.ts:141
Function
getDefaultStats
(t: TFunction)
web/src/features/home/constants.ts:134
Function
getDeploymentContainerDetails
( deploymentId: string | number, containerId: string )
web/src/features/models/api.ts:406
Function
getDeploymentLocations
()
web/src/features/models/api.ts:464
Function
getEnvOrDefault
getEnvOrDefault 获取环境变量或默认值
common/totp.go:121
Function
getFeatureIcon
( iconName: string, className?: string )
web/src/features/home/lib/icon-mapper.tsx:48
Function
getFirstActiveKey
( keys: ActiveApiKey[] | undefined )
web/src/features/chat/lib/chat-links.ts:215
Function
getFooterHtml
()
web/src/stores/system-config-store.ts:112
Function
getInitialMessages
()
web/src/features/playground/lib/state/playground-state-utils.ts:39
Function
getInitialParameterEnabled
()
web/src/features/playground/lib/state/playground-state-utils.ts:35
Function
getInitialPlaygroundConfig
()
web/src/features/playground/lib/state/playground-state-utils.ts:31
Function
getLogCategoryLabel
(category: LogCategory)
web/src/features/usage-logs/lib/filter.ts:85
Function
getLogo
()
web/src/stores/system-config-store.ts:110
Function
getModelPricingIssues
()
web/src/features/system-settings/models/pricing-issues.ts:56
Function
getModelStatusConfig
( t: TFunction )
web/src/features/models/constants.ts:81
Function
getModelStatusOptions
(t: TFunction)
web/src/features/models/constants.ts:73
Function
getModuleAccess
(module: HeaderNavModule)
web/src/lib/nav-modules.ts:167
Function
getMultiKeyStatusBadge
(status: number)
web/src/features/channels/lib/channel-utils.ts:145
Function
getNameRuleConfigByRule
(rule: NameRule, t: TFunction)
web/src/features/models/lib/model-utils.ts:135
Function
getNameRuleLabelByRule
(rule: NameRule, t: TFunction)
web/src/features/models/lib/model-utils.ts:127
Function
getNoTime
()
web/src/features/pricing/hooks/use-billing-time.ts:59
Function
getNodeSync
()
web/src/features/system-info/api.ts:32
Function
getNormalizedDateRange
( days: number, fromDate: Date = new Date() )
web/src/lib/time.ts:72
Function
getOllamaVersion
( channelId: number )
web/src/features/channels/api.ts:827
Function
getPayloadHash
(c *gin.Context)
relay/channel/jimeng/sign.go:55
Function
getPolicyConfig
()
web/src/features/system-settings/request-policies/api.ts:21
Function
getPriorityDisplay
( priority: number | null | undefined )
web/src/features/channels/lib/channel-utils.ts:506
Function
getPrivacyPolicy
()
web/src/features/legal/api.ts:35
Function
getResolvedColumnClassName
( getColumnClassName?: DataTableColumnClassName, pinnedColumns?: DataTablePinnedColumn[] )
web/src/components/data-table/core/column-pinning.ts:23
Function
getSectionNavItems
* Get navigation items for sidebar, with an optional badge per section
web/src/features/system-settings/utils/section-registry.ts:66
Function
getSelfSubscriptions
()
web/src/features/subscriptions/api.ts:208
Function
getSyncSourceOptions
(t: TFunction)
web/src/features/models/constants.ts:184
Function
getSyncStatusOptions
(t: TFunction)
web/src/features/models/constants.ts:94
Function
getSystemName
()
web/src/stores/system-config-store.ts:107
Function
getSystemSettingsNavGroups
* Sidebar nav groups for the System Settings nested view. * * Kept as a single group because the workspace title in the sidebar * header already pr
web/src/components/layout/config/system-settings.config.ts:49
Function
getTaskPricingUnit
( model: PricingModel )
web/src/features/pricing/lib/dynamic-price.ts:177
Function
getTextContent
(content: string | ContentPart[])
web/src/features/playground/lib/message/message-utils.ts:139
Function
getUserAgreement
()
web/src/features/legal/api.ts:28
Function
getUserGroups
()
web/src/lib/api.ts:60
Function
getUserInitials
(user?: UserProfile)
web/src/features/profile/lib/format.ts:49
Function
getUserModels
()
web/src/lib/api.ts:51
Function
getWeightDisplay
(weight: number | null | undefined)
web/src/features/channels/lib/channel-utils.ts:518
Function
githubOAuthStart
(clientId: string, state: string)
web/src/features/auth/api.ts:167
Function
goToNext
()
web/src/components/ai-elements/branch.tsx:84
Function
goToPrevious
()
web/src/components/ai-elements/branch.tsx:78
Function
groupNode
(row: FlowQuotaDataItem)
web/src/features/dashboard/lib/flow.ts:207
Method
handOffNativeTaskQuery
handOffNativeTaskQuery answers GET /v1/videos/:task_id in the task's own wire format when the task was submitted through one of its plugin's native ro
router/plugin-router.go:476
Function
handleAdd
()
web/src/features/system-settings/request-limits/rate-limit-visual-editor.tsx:118
Function
handleAdd
()
web/src/features/system-settings/content/api-info-section.tsx:166
Function
handleAdd
()
web/src/features/system-settings/content/faq-section.tsx:138
Function
handleAdd
()
web/src/features/system-settings/content/chat-settings-visual-editor.tsx:125
Function
handleAdd
()
web/src/features/system-settings/content/announcements-section.tsx:195
Function
handleAdd
()
web/src/features/system-settings/content/uptime-kuma-section.tsx:147
Function
handleAdd
(group: string)
web/src/features/keys/components/auto-group-order-editor.tsx:67
Function
handleAddRow
()
web/src/components/json-editor.tsx:127
Function
handleAddRow
()
web/src/features/channels/components/model-mapping-editor.tsx:298
Function
handleAppChange
(val: string)
web/src/features/keys/components/dialogs/cc-switch-dialog.tsx:130
Function
handleApplySync
()
web/src/features/system-settings/models/upstream-ratio-sync.tsx:321
Function
handleBack
()
web/src/features/pricing/components/model-details.tsx:1650
Function
handleBatchDelete
()
web/src/features/system-settings/content/api-info-section.tsx:194
Function
handleBatchDelete
()
web/src/features/system-settings/content/faq-section.tsx:162
Function
handleBatchDelete
()
web/src/features/system-settings/content/announcements-section.tsx:223
Function
handleBatchDelete
()
web/src/features/system-settings/content/uptime-kuma-section.tsx:173
Function
handleBatchEdit
()
web/src/features/channels/components/data-table-tag-row-actions.tsx:61
Function
handleBatchModeToggle
(checked: boolean)
web/src/features/channels/components/channels-primary-buttons.tsx:106
Function
handleBeforeUnload
(e: BeforeUnloadEvent)
web/src/features/system-settings/components/form-navigation-guard.tsx:80
Function
handleBeforeUnload
(e: BeforeUnloadEvent)
web/src/features/system-settings/hooks/use-form-dirty-guard.ts:64
Function
handleBeforeUnload
(event: BeforeUnloadEvent)
web/src/features/playground/components/message/playground-message-editor.tsx:60
Function
handleBindResult
(event: MessageEvent<unknown>)
web/src/features/security/components/dialogs/telegram-bind-dialog.tsx:95
Function
handleBindingResult
(event: MessageEvent<unknown>)
web/src/routes/oauth/$provider.tsx:141
Function
handleBlur
()
web/src/components/tag-input.tsx:68
Function
handleBlur
()
web/src/components/json-code-editor.tsx:145
Function
handleBlur
(event: FocusEvent<HTMLInputElement>)
web/src/features/system-settings/models/draft-number-input.tsx:97
Function
handleCancel
()
web/src/features/users/components/user-quota-dialog.tsx:103
Function
handleCancel
()
web/src/features/channels/components/dialogs/status-code-risk-dialog.tsx:71
Function
handleChange
(event: React.ChangeEvent<HTMLInputElement>)
web/src/components/ai-elements/web-preview.tsx:173
← previous
next →
14,701–14,800 of 15,409, ranked by callers