MCPcopy Create free account

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

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

↓ 1 callersFunctionbuildAssertionResult
( credential: PublicKeyCredential | null )
web/src/lib/passkey.ts:215
↓ 1 callersFunctionbuildBaseParams
(config: { page: number pageSize: number searchParams: Record<string, unknown> useMilliseconds?: boole
web/src/features/usage-logs/lib/utils.ts:128
↓ 1 callersFunctionbuildBatchQueryRequest
(ctx, tasks)
plugins/tasks/sunoapi/plugin.js:143
↓ 1 callersFunctionbuildCCSwitchURL
( app: string, name: string, models: Record<string, string>, apiKey: string )
web/src/features/keys/components/dialogs/cc-switch-dialog.tsx:71
↓ 1 callersFunctionbuildChatCompletionPayload
( messages: Message[], config: PlaygroundConfig, parameterEnabled: ParameterEnabled )
web/src/features/playground/lib/streaming/payload-builder.ts:30
↓ 1 callersFunctionbuildChatSample
(lang: Lang, ctx: SampleContext)
web/src/features/pricing/components/model-details-api.tsx:85
↓ 1 callersFunctionbuildCodexPassHeaderTemplate
()
setting/operation_setting/channel_affinity_setting.go:103
↓ 1 callersFunctionbuildCodexPassHeadersTemplate
()
web/src/features/system-settings/general/channel-affinity/constants.ts:74
↓ 1 callersFunctionbuildColumnSizingBounds
( columns: ColumnDef<TData, unknown>[] )
web/src/components/data-table/hooks/use-data-table.ts:192
↓ 1 callersFunctionbuildCompletionRatioMetaValue
(optionValues map[string]string)
controller/option.go:66
↓ 1 callersFunctionbuildConditionStr
(conditions: TierConditionInput[])
web/src/features/pricing/lib/tier-expr.ts:119
↓ 1 callersFunctionbuildDetailSegments
( log: UsageLog, other: LogOtherData | null, t: (key: string, opts?: Record<string, unknown>) => string,
web/src/features/usage-logs/components/columns/common-logs-columns.tsx:114
↓ 1 callersFunctionbuildEmbeddingSample
(lang: Lang, ctx: SampleContext)
web/src/features/pricing/components/model-details-api.tsx:292
↓ 1 callersFunctionbuildExprLiteral
(mode: string, value: string)
web/src/features/pricing/lib/billing-expr.ts:776
↓ 1 callersFunctionbuildFlowFilterOptions
( rows: FlowQuotaDataItem[], metric: FlowMetric = 'quota', palette?: readonly string[], role: FlowRole
web/src/features/dashboard/lib/flow.ts:954
↓ 1 callersFunctionbuildFlowGraph
( rows: FlowQuotaDataItem[], metric: FlowMetric, role: FlowRole, palette?: readonly string[], visibl
web/src/features/dashboard/lib/flow.ts:741
↓ 1 callersFunctionbuildFlowHighlightSets
( preparedPaths: PreparedFlowPath[], activeNode: FlowNodeFilter | undefined, activeLink: FlowLinkSelecti
web/src/features/dashboard/lib/flow.ts:649
↓ 1 callersFunctionbuildFormDefaults
( defaults: ChannelHealthSectionProps['defaultValues'] )
web/src/features/system-settings/request-policies/channel-health-section.tsx:152
↓ 1 callersFunctionbuildFormDefaults
( defaults: SSRFSectionProps['defaultValues'] )
web/src/features/system-settings/request-limits/ssrf-section.tsx:108
↓ 1 callersFunctionbuildFormDefaults
( defaults: TokenLimitSectionProps['defaultValues'] )
web/src/features/system-settings/request-limits/token-limit-section.tsx:58
↓ 1 callersFunctionbuildFormDefaults
( defaults: MonitoringSettingsSectionProps['defaultValues'] )
web/src/features/system-settings/integrations/monitoring-settings-section.tsx:80
↓ 1 callersFunctionbuildFormDefaults
( values: ClaudeSettingsFormInput )
web/src/features/system-settings/models/claude-settings-card.tsx:113
↓ 1 callersFunctionbuildFormDefaults
( values: GeminiSettingsFormInput )
web/src/features/system-settings/models/gemini-settings-card.tsx:139
↓ 1 callersFunctionbuildGeminiSample
(lang: Lang, ctx: SampleContext)
web/src/features/pricing/components/model-details-api.tsx:239
↓ 1 callersFunctionbuildGroupPricingRows
( groupRatio: string, userUsableGroups: string, topupGroupRatio: string )
web/src/features/system-settings/models/group-ratio-visual-editor.tsx:159
↓ 1 callersFunctionbuildImageSample
(lang: Lang, ctx: SampleContext)
web/src/features/pricing/components/model-details-api.tsx:354
↓ 1 callersMethodbuildInnerEngine
(generation *jsplugin.RoutingGeneration)
router/plugin-router.go:333
↓ 1 callersFunctionbuildLineSparkline
(values?: number[])
web/src/features/dashboard/components/ui/stat-card.tsx:106
↓ 1 callersFunctionbuildModelHistory
(buckets []model.RankingQuotaBucket, totals []model.RankingQuotaTotal, meta map[string]rankingModelMeta, confi
service/rankings.go:361
↓ 1 callersFunctionbuildModelRatioColumns
({ onDelete, onRestore, onEdit, deleteDisabled, taskModelNames, pricingIssues, t, }: BuildModelR
web/src/features/system-settings/models/model-ratio-table-columns.tsx:62
↓ 1 callersFunctionbuildModelSnapshots
({ modelPrice, modelRatio, cacheRatio, createCacheRatio, completionRatio, imageRatio, audioRatio
web/src/features/system-settings/models/model-pricing-snapshots.ts:150
↓ 1 callersFunctionbuildModelsDevCandidate
(provider string, cost modelsDevCost)
controller/ratio_sync.go:989
↓ 1 callersFunctionbuildOpenAIStyleUsageFromClaudeUsage
(usage *dto.Usage)
relaykit/relayconvert/internal/claude_messages/to_oai_chat_resp.go:332
↓ 1 callersFunctionbuildOperationsJson
( sourceOperations: ParamOverrideOperation[], options: { validate: boolean }, t: (key: string, options?:
web/src/features/channels/components/dialogs/param-override-editor-dialog.tsx:1096
↓ 1 callersFunctionbuildParamOverrideAuditLine
(mode, path, from, to string, value any)
relay/common/override.go:435
↓ 1 callersFunctionbuildPassHeaderTemplate
(headers []string)
setting/operation_setting/channel_affinity_setting.go:89
↓ 1 callersFunctionbuildPassHeadersTemplate
(headers: string[])
web/src/features/channels/components/dialogs/param-override-editor-dialog.tsx:340
↓ 1 callersFunctionbuildPassHeadersTemplate
(headers: string[])
web/src/features/system-settings/general/channel-affinity/constants.ts:62
↓ 1 callersFunctionbuildPriceChangeRows
( saved: PricingOptions, draft: PricingOptions )
web/src/features/model-pricing/pricing.ts:185
↓ 1 callersFunctionbuildPruneObjectsValueText
(draft: PruneObjectsDraft)
web/src/features/channels/components/dialogs/param-override-editor-dialog.tsx:859
↓ 1 callersFunctionbuildQueryResult
(modelName string, merged map[bucketKey]counters)
pkg/perf_metrics/metrics.go:448
↓ 1 callersFunctionbuildRankedModels
(totals []model.RankingQuotaTotal, totalTokens int64, previousRanks map[string]int, previousTokens map[string]
service/rankings.go:264
↓ 1 callersFunctionbuildRankedVendors
(currentTotals []model.RankingQuotaTotal, previousTotals []model.RankingQuotaTotal, totalTokens int64, meta ma
service/rankings.go:292
↓ 1 callersFunctionbuildRankingModelMeta
()
service/rankings.go:237
↓ 1 callersFunctionbuildRankingMovers
(models []RankedModel)
service/rankings.go:475
↓ 1 callersFunctionbuildRankingsSnapshot
(config rankingPeriodConfig, now time.Time)
service/rankings.go:182
↓ 1 callersFunctionbuildRateLimits
(model: PricingModel)
web/src/features/pricing/lib/mock-stats.ts:809
↓ 1 callersFunctionbuildRegistrationResult
( credential: PublicKeyCredential | null )
web/src/lib/passkey.ts:184
↓ 1 callersFunctionbuildRequestHeadersContext
(headers map[string]string)
relay/common/override.go:1649
↓ 1 callersFunctionbuildReturnErrorValueText
( draft: Partial<ReturnErrorDraft> )
web/src/features/channels/components/dialogs/param-override-editor-dialog.tsx:756
↓ 1 callersFunctionbuildRouteGroups
( routeRows: AdvancedCustomRouteRow[] )
web/src/features/channels/components/dialogs/advanced-custom-editor-dialog.tsx:236
↓ 1 callersFunctionbuildRoutingGenerationAdmitting
( factory, override map[string]*LoadedPlugin, number uint64, current *RoutingGeneration, retainCurrent map
pkg/jsplugin/routing.go:1032
↓ 1 callersFunctionbuildSample
( lang: Lang, endpointType: string, ctx: SampleContext )
web/src/features/pricing/components/model-details-api.tsx:426
↓ 1 callersFunctionbuildSearchSourceKey
(values: { startTime?: unknown endTime?: unknown channel?: unknown model?: unknown token?: unknown
web/src/features/usage-logs/components/common-logs-filter-bar.tsx:87
↓ 1 callersFunctionbuildSetupPayload
( values: SetupFormValues, rootInitialized: boolean )
web/src/features/setup/api.ts:40
↓ 1 callersFunctionbuildSummary
(rows: FlowQuotaDataItem[])
web/src/features/dashboard/lib/flow.ts:527
↓ 1 callersFunctionbuildSummarySparklines
( data: QuotaDataItem[], currentBalance: number, start: number, end: number )
web/src/features/dashboard/components/overview/summary-cards.tsx:55
↓ 1 callersFunctionbuildSupportedParameters
( model: PricingModel )
web/src/features/pricing/lib/mock-stats.ts:790
↓ 1 callersFunctionbuildSyncTargetSpec
(type: string, key: string)
web/src/features/channels/components/dialogs/param-override-editor-dialog.tsx:698
↓ 1 callersFunctionbuildTargetHref
(targetPath: string, source: URL)
web/src/lib/legacy-route.ts:57
↓ 1 callersFunctionbuildTierBodyExpr
(tier: VisualTier)
web/src/features/pricing/lib/tier-expr.ts:127
↓ 1 callersFunctionbuildTimeConditionExpr
(cond: TimeCondition)
web/src/features/pricing/lib/billing-expr.ts:784
↓ 1 callersFunctionbuildTokenAuditOperation
( action: string, params: Record<string, unknown>, success: boolean, t: TFunction )
web/src/features/usage-logs/audit/lib/audit-details.ts:233
↓ 1 callersFunctionbuildTopNodeSets
( rows: FlowQuotaDataItem[], metric: FlowMetric, stages: FlowNodeKind[], limit: number | undefined,
web/src/features/dashboard/lib/flow.ts:561
↓ 1 callersFunctionbuildTypeDetailSegments
( log: UsageLog, other: LogOtherData | null, t: (key: string, opts?: Record<string, unknown>) => string,
web/src/features/usage-logs/components/columns/common-logs-columns.tsx:134
↓ 1 callersFunctionbuildVendorColourMap
(names: string[])
web/src/features/rankings/components/market-share-section.tsx:76
↓ 1 callersFunctionbuildVendorShareHistory
(buckets []model.RankingQuotaBucket, vendors []RankedVendor, totalTokens int64, meta map[string]rankingModelMe
service/rankings.go:417
↓ 1 callersFunctionbuildWaffoTopUpGoodsInfo
(amount int64)
controller/topup_waffo.go:63
↓ 1 callersFunctionbuildXunfeiAuthUrl
(hostUrl string, apiKey, apiSecret string)
relay/channel/xunfei/relay-xunfei.go:105
↓ 1 callersFunctioncacheCreationTokensForOpenAIUsage
(usage *dto.Usage)
relaykit/relayconvert/internal/claude_messages/to_oai_chat_resp.go:318
↓ 1 callersMethodcacheMAC
()
model/user_cache.go:31
↓ 1 callersFunctioncacheTryReserveUserQuota
(userID int, amount int64)
model/quota_reserve.go:81
↓ 1 callersFunctioncachedTokenRateModeByRelayFormat
(relayFormat types.RelayFormat)
service/channel_affinity.go:911
↓ 1 callersFunctioncalcPlanEndTime
(start time.Time, plan *SubscriptionPlan)
model/subscription.go:321
↓ 1 callersFunctioncalcSubscriptionBalanceQuota
(priceAmount float64)
model/subscription.go:757
↓ 1 callersFunctioncalculateDashboardStats
(data: QuotaDataItem[])
web/src/features/dashboard/lib/stats.ts:38
↓ 1 callersFunctioncalculatePresetPricing
( presetValue: number, priceRatio: number, discount: number, usdExchangeRate: number = 1 )
web/src/features/wallet/lib/format.ts:80
↓ 1 callersMethodcallTarget
callTarget calls one instance's reply hook and keeps what it did for the steps and the record.
relay/requestplugin/reply.go:372
↓ 1 callersFunctioncallbackMessage
( popup: unknown, overrides: Record<string, unknown> = {}, origin = window.location.origin )
web/src/features/auth/lib/__tests__/oauth-popup.test.ts:44
↓ 1 callersMethodcancelled
(stage string, attempt int)
controller/task_plugin_debug.go:64
↓ 1 callersFunctioncandidatePassesKindFilters
(ch *Channel, exists bool, modelName string, kind dto.ChannelFilterKind, filters []dto.ChannelFilter)
model/channel_constraint.go:77
↓ 1 callersMethodcanonicalClaudeUsage
()
relaykit/dto/billing_usage.go:302
↓ 1 callersMethodcanonicalFinalResponse
(payload any)
relay/plugin_protocol.go:663
↓ 1 callersMethodcanonicalGeminiUsage
()
relaykit/dto/billing_usage.go:333
↓ 1 callersFunctioncanonicalLocaleTag
canonicalLocaleTag applies BCP-47 case conventions so lookups can use exact matching: language lowercase, 2-letter region uppercase, 4-letter script t
pkg/jsplugin/registry.go:2601
↓ 1 callersFunctioncanonicalNamesFromIntent
(base string, intent kitreasoning.Intent)
setting/reasoning/suffix.go:189
↓ 1 callersMethodcanonicalOpenAIUsage
()
relaykit/dto/billing_usage.go:269
↓ 1 callersFunctioncapabilityUsageProfiles
(models, usageSchema, usageExamples)
plugins/tasks/doubao/plugin.js:281
↓ 1 callersFunctioncaptureDownloads
()
web/src/features/redemption-codes/components/__tests__/redemptions-export.test.tsx:42
↓ 1 callersFunctioncascadedForeground
()
web/src/lib/__tests__/theme-color.test.tsx:27
↓ 1 callersFunctioncatalogActions
(resource string)
service/authz/registry.go:84
↓ 1 callersFunctioncategorizeModelsWithRedirect
( currentModels: string[], redirectModels: string[] )
web/src/features/channels/lib/model-mapping-validation.ts:219
↓ 1 callersFunctioncfHandler
(c *gin.Context, info *relaycommon.RelayInfo, resp *http.Response)
relay/channel/cloudflare/relay_cloudflare.go:94
↓ 1 callersFunctioncfSTTHandler
(c *gin.Context, info *relaycommon.RelayInfo, resp *http.Response)
relay/channel/cloudflare/relay_cloudflare.go:123
↓ 1 callersFunctioncfStreamHandler
(c *gin.Context, info *relaycommon.RelayInfo, resp *http.Response)
relay/channel/cloudflare/relay_cloudflare.go:33
↓ 1 callersFunctionchangeAccountPassword
( data: UpdateUserRequest, proofToken: string, signal: AbortSignal )
web/src/features/profile/api.ts:60
↓ 1 callersFunctionchangeInput
(input: HTMLInputElement, value: string)
web/src/features/redemption-codes/components/__tests__/redemptions-mutate-drawer.test.tsx:167
↓ 1 callersFunctionchangeInput
(input: HTMLInputElement, value: string)
web/src/features/keys/components/__tests__/api-keys-mutate-drawer.test.tsx:180
↓ 1 callersFunctionchangeSummaries
changeSummaries lists the op and path of each recorded change.
plugins/request_plugins_test.go:1369
↓ 1 callersFunctionchangedTexts
* Up to three texts the run rewrote, in document order: strings at the same * place in both bodies that differ. Images are left out.
web/src/features/task-plugins/components/request-plugin-try-panel.tsx:171
← previousnext →5,901–6,000 of 15,409, ranked by callers