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
↓ 1 callers
Function
getResponseTimeConfig
(timeMs: number)
web/src/features/channels/lib/channel-utils.ts:386
↓ 1 callers
Function
getRoleLabelKey
(role?: number)
web/src/lib/roles.ts:39
↓ 1 callers
Function
getRootFlowQuotaData
(startTime int64, endTime int64, username string)
model/usedata_flow.go:74
↓ 1 callers
Function
getRouteConverterLabel
(route: AdvancedCustomRoute)
web/src/features/channels/components/dialogs/advanced-custom-editor-dialog.tsx:177
↓ 1 callers
Function
getRouteConverters
( routes: AdvancedCustomRoute[] )
web/src/features/channels/components/dialogs/advanced-custom-editor-dialog.tsx:186
↓ 1 callers
Function
getSavedSetupGuideExpanded
()
web/src/features/dashboard/components/overview/overview-dashboard.tsx:127
↓ 1 callers
Function
getScannerBufferSize
()
relay/helper/stream_scanner.go:39
↓ 1 callers
Function
getSearchActionNotice
()
web/src/features/playground/lib/input/input-tool-utils.ts:56
↓ 1 callers
Function
getSectionContent
* Get section content by section ID
web/src/features/system-settings/utils/section-registry.ts:83
↓ 1 callers
Function
getSectionOccurrences
(text: string)
web/src/features/playground/lib/storage/storage.ts:141
↓ 1 callers
Function
getSelfFlowQuotaData
(startTime int64, endTime int64, userID int)
model/usedata_flow.go:43
↓ 1 callers
Function
getSelfOAuthBindings
()
web/src/features/profile/api.ts:257
↓ 1 callers
Function
getServerAddress
()
web/src/features/keys/components/data-table-row-actions.tsx:62
↓ 1 callers
Function
getServerAddress
()
web/src/features/keys/components/dialogs/cc-switch-dialog.tsx:58
↓ 1 callers
Function
getSettingsStatus
(phase: LoadingPhase)
web/src/features/models/components/deployment-access-guard.tsx:39
↓ 1 callers
Function
getSnapshotSignature
(snapshot?: ModelPricingSnapshot)
web/src/features/system-settings/models/model-pricing-snapshots.ts:290
↓ 1 callers
Function
getSortLabels
(t: TFunction)
web/src/features/pricing/constants.ts:40
↓ 1 callers
Function
getSortPrice
* Base USD price shown on the model card: input/output per 1M tokens, request * per call (task models use their first usage example). Undefined when
web/src/features/pricing/lib/filters.ts:162
↓ 1 callers
Function
getStartOfDay
(date: Date = new Date())
web/src/lib/time.ts:50
↓ 1 callers
Function
getStaticCellClassName
( column: StaticDataTableColumn<TData>, row: TData, index: number )
web/src/components/data-table/static/static-data-table.tsx:210
↓ 1 callers
Function
getStatusBadge
(status: ExtendedToolState)
web/src/components/ai-elements/tool.tsx:66
↓ 1 callers
Function
getStatusConfig
(status: TopupStatus)
web/src/features/wallet/lib/billing.ts:54
↓ 1 callers
Function
getStoredPageSize
()
web/src/hooks/use-table-url-state.ts:32
↓ 1 callers
Function
getStoredStatusChats
()
web/src/features/chat/hooks/use-chat-presets.ts:30
↓ 1 callers
Function
getStreamReadyStateError
( eventReadyState: number | undefined, source: unknown )
web/src/features/playground/lib/streaming/stream-utils.ts:97
↓ 1 callers
Function
getStripePayMoney
(amount float64, group string)
controller/topup_stripe.go:424
↓ 1 callers
Function
getSubmittableInputText
( message: SubmittableInputMessage, disabled?: boolean )
web/src/features/playground/lib/input/input-control-utils.ts:41
↓ 1 callers
Function
getSuccessRateColor
(rate: number)
web/src/features/performance-metrics/lib/format.ts:96
↓ 1 callers
Function
getSummarySparkline
( key: string, sparklineData: Record<SummarySparklineKey, number[]> )
web/src/features/dashboard/components/overview/summary-cards.tsx:94
↓ 1 callers
Function
getSyncLocaleOptions
(t: TFunction)
web/src/features/models/constants.ts:176
↓ 1 callers
Function
getSystemOptions
()
web/src/features/system-settings/api.ts:37
↓ 1 callers
Function
getSystemReleaseUrl
(release: SystemRelease)
web/src/features/system-update/releases.ts:113
↓ 1 callers
Function
getSystemTask
(taskId: string)
web/src/features/system-settings/api.ts:90
↓ 1 callers
Function
getTableCellAlignClass
( align: TableCellNode['align'] | undefined )
web/src/components/ai-elements/response-renderer-table.tsx:27
↓ 1 callers
Function
getTableSizeStyle
( table: TanstackTable<TData> )
web/src/components/data-table/core/table-sizing.ts:24
↓ 1 callers
Function
getTaskOriginModelName
修复 #4834: GET /v1/video/generations/:task_id && /v1/video/:task_id 此前不解析 model, 当 token 启用「可用模型限制」时,下游 modelLimitEnable 校验会因 modelRequest.Model 为空而误报
middleware/distributor.go:600
↓ 1 callers
Function
getTaskPluginEnabledOption
()
web/src/features/task-plugins/api.ts:191
↓ 1 callers
Function
getTaskPluginVersions
(key: string)
web/src/features/task-plugins/api.ts:88
↓ 1 callers
Function
getTencentSign
(req TencentChatRequest, adaptor *Adaptor, secId, secKey string)
relay/channel/tencent/relay-tencent.go:187
↓ 1 callers
Function
getTestTableColumnClass
(columnId: string)
web/src/features/channels/components/dialogs/channel-test-dialog.tsx:308
↓ 1 callers
Function
getTextContent
(node: React.ReactNode)
web/src/components/data-table/core/truncated-cell.tsx:92
↓ 1 callers
Function
getThroughputColor
( tokensPerSecond: number )
web/src/features/usage-logs/lib/format.ts:217
↓ 1 callers
Function
getTierCacheMode
( tier: Partial<VisualTier> | null | undefined )
web/src/features/pricing/lib/tier-expr.ts:64
↓ 1 callers
Function
getTimeColor
( seconds: number )
web/src/features/usage-logs/lib/format.ts:195
↓ 1 callers
Function
getTimestamp
(paramTime?: unknown, defaultTime?: Date)
web/src/features/usage-logs/lib/utils.ts:110
↓ 1 callers
Function
getTokenAutoGroups
()
web/src/features/keys/api.ts:65
↓ 1 callers
Function
getTokenAutoGroupsColumnType
(t *testing.T, db *gorm.DB, dialect string)
controller/token_test.go:284
↓ 1 callers
Function
getTopUpLock
(userID int)
controller/user.go:1274
↓ 1 callers
Function
getTopupInfo
()
web/src/features/wallet/api.ts:58
↓ 1 callers
Function
getTrigger
()
web/src/features/keys/components/__tests__/api-key-group-combobox.test.tsx:85
↓ 1 callers
Function
getUpstreamBase
()
controller/model_sync.go:43
↓ 1 callers
Function
getUpstreamChannels
()
web/src/features/system-settings/api.ts:114
↓ 1 callers
Function
getUpstreamModelName
(info *relaycommon.RelayInfo, fallback string)
relay/channel/moonshot/adaptor.go:92
↓ 1 callers
Function
getUpstreamModelUpdateMinCheckIntervalSeconds
()
controller/channel_upstream_update.go:257
↓ 1 callers
Function
getUpstreamURLs
(locale string)
controller/model_sync.go:47
↓ 1 callers
Function
getUptimeAxisMin
(values: number[])
web/src/features/pricing/components/model-details-charts.tsx:75
↓ 1 callers
Function
getUsagePercent
(sub: UserSubscriptionRecord)
web/src/features/wallet/components/subscription-plans-card.tsx:232
↓ 1 callers
Function
getUsageTypeLabelKey
( type: BillingUsageSchema[string]['type'] )
web/src/features/task-plugins/components/usage-schema-table.tsx:40
↓ 1 callers
Function
getUserBillingHistory
( page: number, pageSize: number, keyword?: string )
web/src/features/wallet/api.ts:205
↓ 1 callers
Function
getUserGroupCache
Helper functions to get individual fields if needed
model/user_cache.go:184
↓ 1 callers
Function
getUserInfo
( userId: number )
web/src/features/usage-logs/api.ts:145
↓ 1 callers
Function
getUserLogStats
( params: Omit<GetLogStatsParams, 'username' | 'channel'> = {} )
web/src/features/usage-logs/api.ts:87
↓ 1 callers
Function
getUserLogs
( params: Omit<GetLogsParams, 'username' | 'channel'> = {} )
web/src/features/usage-logs/api.ts:80
↓ 1 callers
Function
getUserMidjourneyLogs
(params: GetMidjourneyLogsParams)
web/src/features/usage-logs/api.ts:159
↓ 1 callers
Function
getUserNameCache
(userId int)
model/user_cache.go:200
↓ 1 callers
Function
getUserOAuthBindings
( userId: number )
web/src/features/users/api.ts:232
↓ 1 callers
Function
getUserQuotaCache
(userId int)
model/user_cache.go:192
↓ 1 callers
Function
getUserQuotaDataByUsers
(params: { start_timestamp: number end_timestamp: number })
web/src/features/dashboard/api.ts:58
↓ 1 callers
Function
getUserRoleOptions
(t: (key: string) => string)
web/src/features/users/constants.ts:93
↓ 1 callers
Function
getUserSettingCache
(userId int)
model/user_cache.go:208
↓ 1 callers
Function
getUserStatusOptions
(t: (key: string) => string)
web/src/features/users/constants.ts:59
↓ 1 callers
Function
getUserSubscriptions
( userId: number )
web/src/features/subscriptions/api.ts:73
↓ 1 callers
Function
getUserTaskLogs
(params: GetTaskLogsParams)
web/src/features/usage-logs/api.ts:169
↓ 1 callers
Function
getUsers
( params: GetUsersParams = {} )
web/src/features/users/api.ts:54
↓ 1 callers
Function
getVendor
(id: number)
web/src/features/models/api.ts:160
↓ 1 callers
Function
getWAVDuration
getWAVDuration 解析 WAV 文件头以获取时长。
common/audio.go:75
↓ 1 callers
Function
getWaffoCurrency
()
controller/topup_waffo.go:56
↓ 1 callers
Function
getWaffoPancakeBuyerIdentity
(user *model.User)
controller/topup_waffo_pancake.go:335
↓ 1 callers
Function
getWaffoUserEmail
(user *model.User)
controller/topup_waffo.go:52
↓ 1 callers
Function
getWebMDuration
getWebMDuration 解析 WebM 文件以获取时长。 WebM 使用 Matroska 容器格式
common/audio.go:279
↓ 1 callers
Function
getWordSegmenter
()
web/src/components/ai-elements/response-fade.ts:78
↓ 1 callers
Function
getZhipuToken
(apikey string)
relay/channel/zhipu/relay-zhipu.go:33
↓ 1 callers
Function
gifAnimated
gifAnimated reports a GIF with more than one image. It walks the block structure without decoding any pixels.
relay/requestplugin/media.go:310
↓ 1 callers
Function
gjsonResultToValue
(result gjson.Result)
oauth/generic.go:500
↓ 1 callers
Function
granularityForRangeDays
(days: number)
web/src/features/dashboard/components/models/models-filter-dialog.tsx:67
↓ 1 callers
Method
groundingAnnotations
( metadata *dto.GeminiGroundingMetadata, candidateIndex int64, seen map[string]struct{}, )
relaykit/relayconvert/internal/gemini_chat/grounding.go:192
↓ 1 callers
Method
groundingPartIndex
(support geminiGroundingSupport)
relaykit/relayconvert/internal/gemini_chat/grounding.go:229
↓ 1 callers
Function
groundingRuneRange
(rendered string, part renderedGeminiPart, startByte int, endByte int)
relaykit/relayconvert/internal/gemini_chat/grounding.go:356
↓ 1 callers
Method
groundingRuneRange
(partIndex int, startByte int, endByte int)
relaykit/relayconvert/internal/gemini_chat/grounding.go:248
↓ 1 callers
Function
groupFactor
( group: string, baseSeed: number )
web/src/features/pricing/lib/mock-stats.ts:295
↓ 1 callers
Function
groupPricingSignature
(rows: GroupPricingRow[])
web/src/features/system-settings/models/group-ratio-visual-editor.tsx:208
↓ 1 callers
Function
guessMimeTypeFromURL
guessMimeTypeFromURL 从 URL 猜测 MIME 类型
service/file_service.go:592
↓ 1 callers
Function
h3Content
(req)
plugins/tasks/hailuo/plugin.js:388
↓ 1 callers
Function
h3FrameImages
(req)
plugins/tasks/hailuo/plugin.js:319
↓ 1 callers
Function
h3Ratio
(req, content)
plugins/tasks/hailuo/plugin.js:430
↓ 1 callers
Function
h3Resolution
(req)
plugins/tasks/hailuo/plugin.js:292
↓ 1 callers
Function
h3TextOnly
(content)
plugins/tasks/hailuo/plugin.js:422
↓ 1 callers
Function
handleAdd
()
web/src/features/system-settings/integrations/payment-methods-visual-editor.tsx:205
↓ 1 callers
Function
handleAdd
()
web/src/features/system-settings/integrations/amount-discount-visual-editor.tsx:105
↓ 1 callers
Function
handleAdd
()
web/src/features/system-settings/integrations/creem-products-visual-editor.tsx:142
← previous
next →
6,901–7,000 of 15,409, ranked by callers