MCPcopy Create free account

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

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

↓ 1 callersFunctiongetResponseTimeConfig
(timeMs: number)
web/src/features/channels/lib/channel-utils.ts:386
↓ 1 callersFunctiongetRoleLabelKey
(role?: number)
web/src/lib/roles.ts:39
↓ 1 callersFunctiongetRootFlowQuotaData
(startTime int64, endTime int64, username string)
model/usedata_flow.go:74
↓ 1 callersFunctiongetRouteConverterLabel
(route: AdvancedCustomRoute)
web/src/features/channels/components/dialogs/advanced-custom-editor-dialog.tsx:177
↓ 1 callersFunctiongetRouteConverters
( routes: AdvancedCustomRoute[] )
web/src/features/channels/components/dialogs/advanced-custom-editor-dialog.tsx:186
↓ 1 callersFunctiongetSavedSetupGuideExpanded
()
web/src/features/dashboard/components/overview/overview-dashboard.tsx:127
↓ 1 callersFunctiongetScannerBufferSize
()
relay/helper/stream_scanner.go:39
↓ 1 callersFunctiongetSearchActionNotice
()
web/src/features/playground/lib/input/input-tool-utils.ts:56
↓ 1 callersFunctiongetSectionContent
* Get section content by section ID
web/src/features/system-settings/utils/section-registry.ts:83
↓ 1 callersFunctiongetSectionOccurrences
(text: string)
web/src/features/playground/lib/storage/storage.ts:141
↓ 1 callersFunctiongetSelfFlowQuotaData
(startTime int64, endTime int64, userID int)
model/usedata_flow.go:43
↓ 1 callersFunctiongetSelfOAuthBindings
()
web/src/features/profile/api.ts:257
↓ 1 callersFunctiongetServerAddress
()
web/src/features/keys/components/data-table-row-actions.tsx:62
↓ 1 callersFunctiongetServerAddress
()
web/src/features/keys/components/dialogs/cc-switch-dialog.tsx:58
↓ 1 callersFunctiongetSettingsStatus
(phase: LoadingPhase)
web/src/features/models/components/deployment-access-guard.tsx:39
↓ 1 callersFunctiongetSnapshotSignature
(snapshot?: ModelPricingSnapshot)
web/src/features/system-settings/models/model-pricing-snapshots.ts:290
↓ 1 callersFunctiongetSortLabels
(t: TFunction)
web/src/features/pricing/constants.ts:40
↓ 1 callersFunctiongetSortPrice
* 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 callersFunctiongetStartOfDay
(date: Date = new Date())
web/src/lib/time.ts:50
↓ 1 callersFunctiongetStaticCellClassName
( column: StaticDataTableColumn<TData>, row: TData, index: number )
web/src/components/data-table/static/static-data-table.tsx:210
↓ 1 callersFunctiongetStatusBadge
(status: ExtendedToolState)
web/src/components/ai-elements/tool.tsx:66
↓ 1 callersFunctiongetStatusConfig
(status: TopupStatus)
web/src/features/wallet/lib/billing.ts:54
↓ 1 callersFunctiongetStoredPageSize
()
web/src/hooks/use-table-url-state.ts:32
↓ 1 callersFunctiongetStoredStatusChats
()
web/src/features/chat/hooks/use-chat-presets.ts:30
↓ 1 callersFunctiongetStreamReadyStateError
( eventReadyState: number | undefined, source: unknown )
web/src/features/playground/lib/streaming/stream-utils.ts:97
↓ 1 callersFunctiongetStripePayMoney
(amount float64, group string)
controller/topup_stripe.go:424
↓ 1 callersFunctiongetSubmittableInputText
( message: SubmittableInputMessage, disabled?: boolean )
web/src/features/playground/lib/input/input-control-utils.ts:41
↓ 1 callersFunctiongetSuccessRateColor
(rate: number)
web/src/features/performance-metrics/lib/format.ts:96
↓ 1 callersFunctiongetSummarySparkline
( key: string, sparklineData: Record<SummarySparklineKey, number[]> )
web/src/features/dashboard/components/overview/summary-cards.tsx:94
↓ 1 callersFunctiongetSyncLocaleOptions
(t: TFunction)
web/src/features/models/constants.ts:176
↓ 1 callersFunctiongetSystemOptions
()
web/src/features/system-settings/api.ts:37
↓ 1 callersFunctiongetSystemReleaseUrl
(release: SystemRelease)
web/src/features/system-update/releases.ts:113
↓ 1 callersFunctiongetSystemTask
(taskId: string)
web/src/features/system-settings/api.ts:90
↓ 1 callersFunctiongetTableCellAlignClass
( align: TableCellNode['align'] | undefined )
web/src/components/ai-elements/response-renderer-table.tsx:27
↓ 1 callersFunctiongetTableSizeStyle
( table: TanstackTable<TData> )
web/src/components/data-table/core/table-sizing.ts:24
↓ 1 callersFunctiongetTaskOriginModelName
修复 #4834: GET /v1/video/generations/:task_id && /v1/video/:task_id 此前不解析 model, 当 token 启用「可用模型限制」时,下游 modelLimitEnable 校验会因 modelRequest.Model 为空而误报
middleware/distributor.go:600
↓ 1 callersFunctiongetTaskPluginEnabledOption
()
web/src/features/task-plugins/api.ts:191
↓ 1 callersFunctiongetTaskPluginVersions
(key: string)
web/src/features/task-plugins/api.ts:88
↓ 1 callersFunctiongetTencentSign
(req TencentChatRequest, adaptor *Adaptor, secId, secKey string)
relay/channel/tencent/relay-tencent.go:187
↓ 1 callersFunctiongetTestTableColumnClass
(columnId: string)
web/src/features/channels/components/dialogs/channel-test-dialog.tsx:308
↓ 1 callersFunctiongetTextContent
(node: React.ReactNode)
web/src/components/data-table/core/truncated-cell.tsx:92
↓ 1 callersFunctiongetThroughputColor
( tokensPerSecond: number )
web/src/features/usage-logs/lib/format.ts:217
↓ 1 callersFunctiongetTierCacheMode
( tier: Partial<VisualTier> | null | undefined )
web/src/features/pricing/lib/tier-expr.ts:64
↓ 1 callersFunctiongetTimeColor
( seconds: number )
web/src/features/usage-logs/lib/format.ts:195
↓ 1 callersFunctiongetTimestamp
(paramTime?: unknown, defaultTime?: Date)
web/src/features/usage-logs/lib/utils.ts:110
↓ 1 callersFunctiongetTokenAutoGroups
()
web/src/features/keys/api.ts:65
↓ 1 callersFunctiongetTokenAutoGroupsColumnType
(t *testing.T, db *gorm.DB, dialect string)
controller/token_test.go:284
↓ 1 callersFunctiongetTopUpLock
(userID int)
controller/user.go:1274
↓ 1 callersFunctiongetTopupInfo
()
web/src/features/wallet/api.ts:58
↓ 1 callersFunctiongetTrigger
()
web/src/features/keys/components/__tests__/api-key-group-combobox.test.tsx:85
↓ 1 callersFunctiongetUpstreamBase
()
controller/model_sync.go:43
↓ 1 callersFunctiongetUpstreamChannels
()
web/src/features/system-settings/api.ts:114
↓ 1 callersFunctiongetUpstreamModelName
(info *relaycommon.RelayInfo, fallback string)
relay/channel/moonshot/adaptor.go:92
↓ 1 callersFunctiongetUpstreamModelUpdateMinCheckIntervalSeconds
()
controller/channel_upstream_update.go:257
↓ 1 callersFunctiongetUpstreamURLs
(locale string)
controller/model_sync.go:47
↓ 1 callersFunctiongetUptimeAxisMin
(values: number[])
web/src/features/pricing/components/model-details-charts.tsx:75
↓ 1 callersFunctiongetUsagePercent
(sub: UserSubscriptionRecord)
web/src/features/wallet/components/subscription-plans-card.tsx:232
↓ 1 callersFunctiongetUsageTypeLabelKey
( type: BillingUsageSchema[string]['type'] )
web/src/features/task-plugins/components/usage-schema-table.tsx:40
↓ 1 callersFunctiongetUserBillingHistory
( page: number, pageSize: number, keyword?: string )
web/src/features/wallet/api.ts:205
↓ 1 callersFunctiongetUserGroupCache
Helper functions to get individual fields if needed
model/user_cache.go:184
↓ 1 callersFunctiongetUserInfo
( userId: number )
web/src/features/usage-logs/api.ts:145
↓ 1 callersFunctiongetUserLogStats
( params: Omit<GetLogStatsParams, 'username' | 'channel'> = {} )
web/src/features/usage-logs/api.ts:87
↓ 1 callersFunctiongetUserLogs
( params: Omit<GetLogsParams, 'username' | 'channel'> = {} )
web/src/features/usage-logs/api.ts:80
↓ 1 callersFunctiongetUserMidjourneyLogs
(params: GetMidjourneyLogsParams)
web/src/features/usage-logs/api.ts:159
↓ 1 callersFunctiongetUserNameCache
(userId int)
model/user_cache.go:200
↓ 1 callersFunctiongetUserOAuthBindings
( userId: number )
web/src/features/users/api.ts:232
↓ 1 callersFunctiongetUserQuotaCache
(userId int)
model/user_cache.go:192
↓ 1 callersFunctiongetUserQuotaDataByUsers
(params: { start_timestamp: number end_timestamp: number })
web/src/features/dashboard/api.ts:58
↓ 1 callersFunctiongetUserRoleOptions
(t: (key: string) => string)
web/src/features/users/constants.ts:93
↓ 1 callersFunctiongetUserSettingCache
(userId int)
model/user_cache.go:208
↓ 1 callersFunctiongetUserStatusOptions
(t: (key: string) => string)
web/src/features/users/constants.ts:59
↓ 1 callersFunctiongetUserSubscriptions
( userId: number )
web/src/features/subscriptions/api.ts:73
↓ 1 callersFunctiongetUserTaskLogs
(params: GetTaskLogsParams)
web/src/features/usage-logs/api.ts:169
↓ 1 callersFunctiongetUsers
( params: GetUsersParams = {} )
web/src/features/users/api.ts:54
↓ 1 callersFunctiongetVendor
(id: number)
web/src/features/models/api.ts:160
↓ 1 callersFunctiongetWAVDuration
getWAVDuration 解析 WAV 文件头以获取时长。
common/audio.go:75
↓ 1 callersFunctiongetWaffoCurrency
()
controller/topup_waffo.go:56
↓ 1 callersFunctiongetWaffoPancakeBuyerIdentity
(user *model.User)
controller/topup_waffo_pancake.go:335
↓ 1 callersFunctiongetWaffoUserEmail
(user *model.User)
controller/topup_waffo.go:52
↓ 1 callersFunctiongetWebMDuration
getWebMDuration 解析 WebM 文件以获取时长。 WebM 使用 Matroska 容器格式
common/audio.go:279
↓ 1 callersFunctiongetWordSegmenter
()
web/src/components/ai-elements/response-fade.ts:78
↓ 1 callersFunctiongetZhipuToken
(apikey string)
relay/channel/zhipu/relay-zhipu.go:33
↓ 1 callersFunctiongifAnimated
gifAnimated reports a GIF with more than one image. It walks the block structure without decoding any pixels.
relay/requestplugin/media.go:310
↓ 1 callersFunctiongjsonResultToValue
(result gjson.Result)
oauth/generic.go:500
↓ 1 callersFunctiongranularityForRangeDays
(days: number)
web/src/features/dashboard/components/models/models-filter-dialog.tsx:67
↓ 1 callersMethodgroundingAnnotations
( metadata *dto.GeminiGroundingMetadata, candidateIndex int64, seen map[string]struct{}, )
relaykit/relayconvert/internal/gemini_chat/grounding.go:192
↓ 1 callersMethodgroundingPartIndex
(support geminiGroundingSupport)
relaykit/relayconvert/internal/gemini_chat/grounding.go:229
↓ 1 callersFunctiongroundingRuneRange
(rendered string, part renderedGeminiPart, startByte int, endByte int)
relaykit/relayconvert/internal/gemini_chat/grounding.go:356
↓ 1 callersMethodgroundingRuneRange
(partIndex int, startByte int, endByte int)
relaykit/relayconvert/internal/gemini_chat/grounding.go:248
↓ 1 callersFunctiongroupFactor
( group: string, baseSeed: number )
web/src/features/pricing/lib/mock-stats.ts:295
↓ 1 callersFunctiongroupPricingSignature
(rows: GroupPricingRow[])
web/src/features/system-settings/models/group-ratio-visual-editor.tsx:208
↓ 1 callersFunctionguessMimeTypeFromURL
guessMimeTypeFromURL 从 URL 猜测 MIME 类型
service/file_service.go:592
↓ 1 callersFunctionh3Content
(req)
plugins/tasks/hailuo/plugin.js:388
↓ 1 callersFunctionh3FrameImages
(req)
plugins/tasks/hailuo/plugin.js:319
↓ 1 callersFunctionh3Ratio
(req, content)
plugins/tasks/hailuo/plugin.js:430
↓ 1 callersFunctionh3Resolution
(req)
plugins/tasks/hailuo/plugin.js:292
↓ 1 callersFunctionh3TextOnly
(content)
plugins/tasks/hailuo/plugin.js:422
↓ 1 callersFunctionhandleAdd
()
web/src/features/system-settings/integrations/payment-methods-visual-editor.tsx:205
↓ 1 callersFunctionhandleAdd
()
web/src/features/system-settings/integrations/amount-discount-visual-editor.tsx:105
↓ 1 callersFunctionhandleAdd
()
web/src/features/system-settings/integrations/creem-products-visual-editor.tsx:142
← previousnext →6,901–7,000 of 15,409, ranked by callers