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
↓ 2 callers
Function
getDefaultIconName
(type: string)
web/src/features/system-settings/integrations/payment-methods-visual-editor.tsx:53
↓ 2 callers
Function
getDisplayMeta
(config: CurrencyConfig)
web/src/lib/currency.ts:187
↓ 2 callers
Function
getDisplayName
(user?: UserProfile)
web/src/features/profile/lib/format.ts:41
↓ 2 callers
Function
getEnabledModels
()
web/src/features/channels/api.ts:827
↓ 2 callers
Function
getFetchModelsResponseBody
(method string, requestURL string, channel *model.Channel, headers http.Header)
controller/channel_upstream_update.go:338
↓ 2 callers
Function
getFirstResponseTimeColor
( seconds: number )
web/src/features/usage-logs/lib/format.ts:210
↓ 2 callers
Function
getFlowStages
(role: FlowRole)
web/src/features/dashboard/lib/flow.ts:260
↓ 2 callers
Function
getHeaderNavAccess
(module string)
middleware/header_nav.go:17
↓ 2 callers
Function
getHeaderPassthroughState
( headerOverride: string | undefined )
web/src/features/channels/lib/header-passthrough.ts:53
↓ 2 callers
Function
getImageConfig
(reader io.Reader)
service/image.go:161
↓ 2 callers
Function
getInferenceChannelStatus
(c *gin.Context, channelType int)
controller/channel_inference.go:57
↓ 2 callers
Function
getIoAPIKey
(c *gin.Context)
controller/deployment.go:16
↓ 2 callers
Function
getIoClient
(c *gin.Context)
controller/deployment.go:42
↓ 2 callers
Function
getJsonValidationState
(value: string)
web/src/components/json-code-editor/json-code-editor-utils.ts:56
↓ 2 callers
Function
getKeyPromptForType
(type: number)
web/src/features/channels/lib/channel-utils.ts:779
↓ 2 callers
Function
getLogCsvHeader
(isAdmin: boolean, t: Translate)
web/src/features/usage-logs/lib/export.ts:35
↓ 2 callers
Function
getLogCsvRow
( log: UsageLog, isAdmin: boolean, t: Translate )
web/src/features/usage-logs/lib/export.ts:58
↓ 2 callers
Function
getLogFiles
getLogFiles 读取日志目录中的日志文件列表
controller/performance.go:187
↓ 2 callers
Function
getMatchLabel
(mode: string)
web/src/features/system-settings/models/tiered-pricing-editor.tsx:371
↓ 2 callers
Function
getMinTopup
()
controller/topup.go:204
↓ 2 callers
Function
getModelCategory
(modelName: string)
web/src/features/channels/lib/model-categories.ts:22
↓ 2 callers
Function
getModelFromJSONBody
(c *gin.Context)
middleware/distributor.go:288
↓ 2 callers
Function
getModelQuotaType
( listedModel: PricingModel )
web/src/features/pricing/lib/filters.ts:88
↓ 2 callers
Function
getModelRequest
(c *gin.Context)
middleware/distributor.go:424
↓ 2 callers
Function
getModuleAccessFromStatus
( status: Record<string, unknown> | null, module: HeaderNavModule )
web/src/lib/nav-modules.ts:153
↓ 2 callers
Function
getNodeName
(instance: SystemInstance)
web/src/features/system-info/components/system-instances-panel.tsx:120
↓ 2 callers
Function
getNotice
()
web/src/lib/api.ts:78
↓ 2 callers
Function
getOperationSummary
( operation: ParamOverrideOperation, index: number )
web/src/features/channels/components/dialogs/param-override-editor-dialog.tsx:578
↓ 2 callers
Function
getOptionLabel
( options: ReadonlyArray<{ value: string; label: string }>, value: string )
web/src/features/channels/components/dialogs/advanced-custom-editor-dialog.tsx:162
↓ 2 callers
Method
getOrCreate
( rawProxyURL string, config *proxyURLConfig, policy HTTPTransportPolicy, factory func() (*http.Client, er
service/http_client.go:238
↓ 2 callers
Function
getOriginID
()
pkg/wsmanager/wsmanager.go:241
↓ 2 callers
Function
getParamOverrideAuditRecorder
(context map[string]any)
relay/common/override.go:394
↓ 2 callers
Function
getParamOverrideRegex
map[string]*regexp.Regexp
relay/common/override.go:28
↓ 2 callers
Function
getPasswordConfirmationState
( password: string, confirmation: string )
web/src/components/password-strength-utils.ts:195
↓ 2 callers
Function
getPayMoney
(amount int64, group string)
controller/topup.go:174
↓ 2 callers
Function
getPayloadConfigFromPayload
( config: ChartConfig, payload: unknown, key: string )
web/src/components/ui/chart.tsx:346
↓ 2 callers
Function
getPerfMetrics
( modelName: string, hours = 24 )
web/src/features/performance-metrics/api.ts:46
↓ 2 callers
Function
getPerfMetricsSummary
(c *gin.Context, groups []string)
controller/perf_metrics.go:38
↓ 2 callers
Function
getPinnedColumnMap
(pinnedColumns?: DataTablePinnedColumn[])
web/src/components/data-table/core/column-pinning.ts:49
↓ 2 callers
Function
getPriceChangeKind
(row: ModelRow)
web/src/features/system-settings/models/model-pricing-snapshots.ts:326
↓ 2 callers
Function
getPriceLineValues
( snapshot: ModelPricingSnapshot | undefined, t: Translate )
web/src/features/system-settings/models/price-change-diff.tsx:149
↓ 2 callers
Function
getPricingEndpointTypesForAbility
(ability AbilityWithChannel, advancedCustomConfigs map[int]*dto.AdvancedCustomConfig)
model/pricing.go:128
↓ 2 callers
Function
getRedemptions
( params: GetRedemptionsParams = {} )
web/src/features/redemption-codes/api.ts:35
↓ 2 callers
Function
getRequestRuleMatchOptions
(source: string)
web/src/features/pricing/lib/billing-expr.ts:696
↓ 2 callers
Function
getRequestedCodeLanguage
(language?: string)
web/src/components/ai-elements/code-block.tsx:216
↓ 2 callers
Function
getResolvedColumnClassNameFromMap
( getColumnClassName?: DataTableColumnClassName, pinnedColumnById?: Map<string, DataTablePinnedColumn> )
web/src/components/data-table/core/column-pinning.ts:33
↓ 2 callers
Function
getResponseTimeColor
( seconds: number, completionTokens: number )
web/src/features/usage-logs/lib/format.ts:232
↓ 2 callers
Function
getRoleLabel
(role?: number)
web/src/lib/roles.ts:43
↓ 2 callers
Function
getRunwayDays
( remainQuota: number, recentUsage: number )
web/src/features/dashboard/components/overview/summary-cards.tsx:103
↓ 2 callers
Function
getSMTPAuth
()
common/email.go:29
↓ 2 callers
Function
getSafePluginAuthorUrl
( author?: TaskPluginAuthor )
web/src/features/usage-logs/lib/task-artifacts.ts:230
↓ 2 callers
Function
getSaveButton
()
web/src/features/redemption-codes/components/__tests__/redemptions-mutate-drawer.test.tsx:142
↓ 2 callers
Function
getSavedLanguage
(user: AuthUser)
web/src/features/auth/lib/auth-redirect.ts:23
↓ 2 callers
Function
getSectionMeta
(sectionId: SectionId)
web/src/features/system-settings/utils/section-registry.ts:91
↓ 2 callers
Function
getSelfSubscriptionFull
()
web/src/features/subscriptions/api.ts:215
↓ 2 callers
Function
getServerErrorStatus
(value: unknown)
web/src/lib/server-error-message.ts:125
↓ 2 callers
Function
getSmtpSecurityMode
(values: { SMTPSSLEnabled: boolean SMTPStartTLSEnabled: boolean })
web/src/features/system-settings/integrations/email-settings-section.tsx:65
↓ 2 callers
Function
getStatus
()
web/src/lib/api.ts:73
↓ 2 callers
Function
getString
(value: unknown)
web/src/features/channels/lib/ollama-utils.ts:42
↓ 2 callers
Function
getStripeCreditedQuota
(amount int64, group string)
controller/topup_stripe.go:414
↓ 2 callers
Function
getStripeMinTopup
()
controller/topup_stripe.go:445
↓ 2 callers
Function
getSubscriptionUsed
(t *testing.T, id int)
service/task_billing_test.go:555
↓ 2 callers
Function
getSystemTheme
()
web/src/context/theme-provider.tsx:64
↓ 2 callers
Function
getTableSizing
(props: DataTableViewProps<TData>)
web/src/components/data-table/core/data-table-view.tsx:227
↓ 2 callers
Function
getTagModels
( tag: string )
web/src/features/channels/api.ts:714
↓ 2 callers
Method
getTarget
()
relay/responses_websocket.go:840
↓ 2 callers
Function
getTaskArtifacts
(taskId: string)
web/src/features/usage-logs/api.ts:177
↓ 2 callers
Function
getTaskMatrixDisplayTiers
( expression: string | null | undefined, schema: BillingUsageSchema | null | undefined )
web/src/features/pricing/lib/task-matrix-display.ts:39
↓ 2 callers
Function
getTaskPlugin
(key: string, version?: string)
web/src/features/task-plugins/api.ts:80
↓ 2 callers
Function
getTaskUsageQuantityUnitLabelKey
( unit: BillingUsageUnit | undefined )
web/src/features/pricing/lib/dynamic-price.ts:111
↓ 2 callers
Function
getTextUnits
(value: string)
web/src/components/ui/markdown.tsx:199
↓ 2 callers
Function
getTokenFromDB
(t *testing.T, id int)
model/quota_reserve_test.go:51
↓ 2 callers
Function
getTokenKeyColumnType
(t *testing.T, db *gorm.DB, dialect string)
controller/token_test.go:244
↓ 2 callers
Function
getTokenRequestUserGroup
(c *gin.Context)
controller/token.go:82
↓ 2 callers
Function
getTopUpQuota
(amount int64)
controller/topup.go:218
↓ 2 callers
Function
getUpdateErrorMessage
( code: UpdateCheckErrorCode, t: TFunction )
web/src/features/system-update/use-system-update.ts:52
↓ 2 callers
Function
getUptimeStatus
()
web/src/features/dashboard/api.ts:88
↓ 2 callers
Function
getUsageBillingPathLabel
( t: TFunction, adminInfo: LogOtherData['admin_info'] )
web/src/features/usage-logs/components/dialogs/details-dialog.tsx:132
↓ 2 callers
Function
getUsageStatusBadge
( rateLimit: CodexRateLimit | undefined, t: (key: string) => string )
web/src/features/channels/components/dialogs/codex-usage-dialog.tsx:401
↓ 2 callers
Function
getUserActionMessage
(action: ManageUserAction)
web/src/features/users/lib/user-actions.ts:37
↓ 2 callers
Function
getUserQuotaDates
( params: { start_timestamp: number end_timestamp: number default_time?: string username?: s
web/src/features/dashboard/api.ts:37
↓ 2 callers
Function
getUserVerificationState
(tx *gorm.DB, userID int, forUpdate bool)
model/login_verification.go:27
↓ 2 callers
Function
getVertexArrayKeys
(keys string)
controller/channel.go:787
↓ 2 callers
Function
getWaffoPancakeBuyerEmail
(user *model.User)
controller/topup_waffo_pancake.go:98
↓ 2 callers
Function
getWaffoPayMoney
getWaffoPayMoney converts the user-facing amount to USD for Waffo payment. Waffo only accepts USD, so this function handles the conversion from differ
controller/topup_waffo.go:89
↓ 2 callers
Function
getWaffoSDK
()
controller/topup_waffo.go:26
↓ 2 callers
Function
getWeChatIdByCode
(code string)
controller/wechat.go:28
↓ 2 callers
Function
getXunfeiAuthUrl
(c *gin.Context, apiKey string, apiSecret string, modelName string)
relay/channel/xunfei/relay-xunfei.go:266
↓ 2 callers
Function
groundingAnnotationsToChat
(metadata *dto.GeminiGroundingMetadata, parts []renderedGeminiPart, rendered string)
relaykit/relayconvert/internal/gemini_chat/grounding.go:88
↓ 2 callers
Function
h3ArtifactURL
(ctx)
plugins/tasks/hailuo/plugin.js:807
↓ 2 callers
Function
h3Duration
(raw, model)
plugins/tasks/hailuo/plugin.js:308
↓ 2 callers
Function
h3HasVisualContent
(content)
plugins/tasks/hailuo/plugin.js:441
↓ 2 callers
Function
h3MediaItem
(type, url, role)
plugins/tasks/hailuo/plugin.js:330
↓ 2 callers
Function
h3MediaList
(source, key)
plugins/tasks/hailuo/plugin.js:338
↓ 2 callers
Function
h3Request
(req, model)
plugins/tasks/hailuo/plugin.js:469
↓ 2 callers
Method
handle
(w http.ResponseWriter, r *http.Request)
service/provider_plugin_test.go:143
↓ 2 callers
Function
handleAdd
()
web/src/features/system-settings/integrations/amount-options-visual-editor.tsx:57
↓ 2 callers
Function
handleApply
()
web/src/features/dashboard/components/models/models-filter-dialog.tsx:126
↓ 2 callers
Function
handleBranchChange
(newBranch: number)
web/src/components/ai-elements/branch.tsx:73
↓ 2 callers
Function
handleChange
(value: boolean)
web/src/features/auth/components/legal-consent.tsx:48
← previous
next →
4,101–4,200 of 15,592, ranked by callers