MCPcopy Create free account

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

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

↓ 1 callersFunctionsubmitSettings
(ctx, action)
plugins/tasks/vidu/plugin.js:376
↓ 1 callersFunctionsubscribeAuthSessionEvents
( listener: (event: AuthSessionSyncEvent) => void )
web/src/lib/auth-session-sync.ts:80
↓ 1 callersFunctionsubscriptionPlanCacheCapacity
()
model/subscription.go:70
↓ 1 callersFunctionsubscriptionPlanInfoCacheCapacity
()
model/subscription.go:78
↓ 1 callersFunctionsumPluginKeyBalances
sumPluginKeyBalances is a multi-key channel's own result from its keys': the sum of their amounts when they share one currency, unlimited when every k
service/provider_plugin_balance.go:101
↓ 1 callersFunctionsumRankingTokens
(totals []model.RankingQuotaTotal)
service/rankings.go:548
↓ 1 callersFunctionsuperseded
()
web/src/lib/auth-session.ts:214
↓ 1 callersFunctionsupportsNewAPIUpstream
( plugin: Pick<TaskPluginOption, 'upstreams'> )
web/src/features/channels/lib/channel-plugin-extensions.ts:73
↓ 1 callersFunctionsvgValueReferencesExternal
(value string)
pluginkit/icon.go:119
↓ 1 callersFunctionswapOptionTables
(db *gorm.DB, tmp, backup string)
model/option_primary_key_migration.go:191
↓ 1 callersFunctionswapRoutes
(fromIndex: number, toIndex: number)
web/src/features/channels/components/dialogs/advanced-custom-editor-dialog.tsx:501
↓ 1 callersFunctionswitchTab
(nextTab: AdvancedCustomEditorTab)
web/src/features/channels/components/dialogs/advanced-custom-editor-dialog.tsx:602
↓ 1 callersFunctionswitchToJsonMode
()
web/src/features/system-settings/general/channel-affinity/index.tsx:155
↓ 1 callersFunctionswitchToVisualMode
()
web/src/features/system-settings/general/channel-affinity/index.tsx:166
↓ 1 callersFunctionsyncCells
()
web/src/features/system-info/__tests__/system-instances-panel.test.tsx:139
↓ 1 callersFunctionsyncClickHouseLogTTL
(ttlDays int)
model/main.go:474
↓ 1 callersFunctionsyncDarkClass
(wrapper: HTMLElement)
web/src/components/html-content.tsx:134
↓ 1 callersFunctionsyncData
(nodes: NodeSyncNode[])
web/src/features/system-info/__tests__/node-sync-indicator.test.tsx:48
↓ 1 callersFunctionsyncFieldsBetweenTargets
(doc *ojson.Doc, context map[string]any, fromSpec string, toSpec string)
relay/common/override.go:1607
↓ 1 callersFunctionsyncLaneRatios
( nextPromptPrice = promptPrice, nextLanePrices = lanePrices, nextLaneEnabled = laneEnabled )
web/src/features/system-settings/models/model-pricing-sheet.tsx:468
↓ 1 callersFunctionsyncLogCleanupStateFromRemaining
(state *LogCleanupState, remaining int64)
service/system_task.go:429
↓ 1 callersFunctionsyncReasoningEffortAfterParamOverride
(info *RelayInfo, before, after []byte)
relay/common/override.go:247
↓ 1 callersFunctionsyncRuntimeHeaderOverrideFromContext
(info *RelayInfo, context map[string]any)
relay/common/override.go:1691
↓ 1 callersFunctionsyncUpstream
( params: MetadataSyncRequest )
web/src/features/models/api.ts:203
↓ 1 callersMethodtable
table writes a cross-reference table of rows ("offset generation n" or "... f" by object number) and its trailer, and returns its offset.
relay/requestplugin/pdf_test.go:68
↓ 1 callersFunctiontakeEntries
(channelIDs []int)
pkg/wsmanager/wsmanager.go:178
↓ 1 callersMethodtargetPlugin
(instance string)
relay/requestplugin/reply.go:979
↓ 1 callersFunctiontaskAliasViewFresh
(view *taskAliasView, generation uint64)
model/task_model_alias.go:87
↓ 1 callersFunctiontaskConditions
`unreachable` marks a branch that can never match a request, so callers skip * it instead of rejecting the chain: an enum value the schema no longer
web/src/features/pricing/lib/billing-expression/display.ts:329
↓ 1 callersFunctiontaskDeliveredInline
taskDeliveredInline reports whether the submitting HTTP request itself returns the task deliverable: the upstream completed immediately, or the reques
service/task_billing.go:207
↓ 1 callersFunctiontaskDisplayCondition
Resolve only declared categorical facts. Time predicates remain explicit.
web/src/features/pricing/lib/billing-expression/task-display.ts:40
↓ 1 callersFunctiontaskExpressionCompatible
( expression: string, schema: BillingUsageSchema, relaysModel = false )
web/src/features/pricing/lib/plugin-pricing.ts:43
↓ 1 callersFunctiontaskFixture
(overrides: Partial<TaskLog> = {})
web/src/features/usage-logs/__tests__/artifacts.test.ts:42
↓ 1 callersFunctiontaskIsSubscription
taskIsSubscription 判断任务是否通过订阅计费。
service/task_billing.go:115
↓ 1 callersFunctiontaskLog
(overrides: Partial<TaskLog> = {})
web/src/features/usage-logs/components/__tests__/task-artifacts-cell.test.tsx:26
↓ 1 callersFunctiontaskMediaRedirectClient
(base *http.Client, proxy string, c *gin.Context, clientHeaders map[string]string, credentialless bool, truste
controller/video_proxy.go:509
↓ 1 callersFunctiontaskPluginControllerRouteSource
(key, version, routePath string)
controller/task_plugin_test.go:1452
↓ 1 callersFunctiontaskPluginImageResponseFormat
(request pluginruntime.ProtocolRequestContext)
controller/plugin_protocol_image.go:224
↓ 1 callersFunctiontaskPluginOwnsTasks
taskPluginOwnsTasks reports whether every task id names a retrievable task of the caller on one of the plugin's platforms.
middleware/task_plugin.go:501
↓ 1 callersFunctiontaskPluginProtocolEventsTerminal
(events []dto.PluginResponsesStreamEvent)
controller/plugin_protocol.go:1209
↓ 1 callersFunctiontaskPluginProtocolHandlers
(protocol, operation string)
router/task-plugin-protocol-router.go:27
↓ 1 callersFunctiontaskPriceBranches
Symbolic linear prices, never sample-and-fit or partial coefficient extraction.
web/src/features/pricing/lib/billing-expression/task-display.ts:112
↓ 1 callersFunctiontaskTier
( node: ExpressionNode, conditions: TaskTier['conditions'], schema: BillingUsageSchema )
web/src/features/pricing/lib/billing-expression/display.ts:368
↓ 1 callersFunctiontaskUsageSmokeVectors
(schema map[string]jsplugin.UsageFieldSchema)
setting/billing_setting/tiered_billing.go:285
↓ 1 callersFunctiontellLoginDialog
Tells the login dialog in the other tab how the callback went.
web/src/features/channels/components/plugin-login-callback.tsx:58
↓ 1 callersFunctiontencentHandler
(c *gin.Context, info *relaycommon.RelayInfo, resp *http.Response)
relay/channel/tencent/relay-tencent.go:136
↓ 1 callersFunctiontencentStreamHandler
(c *gin.Context, info *relaycommon.RelayInfo, resp *http.Response)
relay/channel/tencent/relay-tencent.go:93
↓ 1 callersMethodterminalOutputChunks
(response *dto.OpenAIResponsesResponse)
relaykit/relayconvert/internal/oai_responses/to_oai_chat_stream_resp.go:182
↓ 1 callersFunctionterminalTestAssertClaudeTail
(t *testing.T, results []ResponseResult, wantStopReason string)
relaykit/relayconvert/terminal_stream_test.go:413
↓ 1 callersFunctionterminalTestFinishedChatChunks
(t *testing.T, results []ResponseResult)
relaykit/relayconvert/terminal_stream_test.go:400
↓ 1 callersFunctionterminalTestGeminiToolChunkWithoutUsage
()
relaykit/relayconvert/terminal_stream_test.go:369
↓ 1 callersFunctionterminalTestGeminiUsageOnlyChunk
()
relaykit/relayconvert/terminal_stream_test.go:389
↓ 1 callersFunctiontestAllChannels
()
web/src/features/channels/api.ts:763
↓ 1 callersFunctiontestChannel
( id: number, params?: { model?: string; endpoint_type?: string; stream?: boolean } )
web/src/features/channels/api.ts:344
↓ 1 callersFunctiontestChannelForHealthCheck
(ctx context.Context, channel *model.Channel, testUserID int, allowDisable bool, disableThreshold int64)
controller/channel-test.go:965
↓ 1 callersFunctiontestDeploymentConnection
()
web/src/features/models/api.ts:319
↓ 1 callersFunctiontestDeploymentConnectionWithKey
( apiKey?: string )
web/src/features/models/api.ts:337
↓ 1 callersFunctiontestForm
testForm is a multipart body with text fields, a repeated one, and a file whose bytes are not text.
relay/requestplugin/requestplugin_test.go:1844
↓ 1 callersFunctiontestUrlLatency
(url: string)
web/src/features/dashboard/lib/api-info.ts:37
↓ 1 callersFunctiontextMime
(mime string)
relay/requestplugin/attachments.go:119
↓ 1 callersFunctiontextOf
(content)
plugins/tasks/content-moderation/plugin.js:145
↓ 1 callersFunctiontextRequestSideConfigured
(side TextRequestSide)
relaykit/relayconvert/text_converter_registry.go:345
↓ 1 callersFunctiontextResponseSideConfigured
(side TextResponseSide)
relaykit/relayconvert/text_converter_registry.go:349
↓ 1 callersFunctiontextualBody
textualBody reports whether convertResponse gets a body as text: a JSON, XML, NDJSON, form-encoded or text/* content type, or none and valid UTF-8.
pluginkit/provider.go:1103
↓ 1 callersFunctionthinkingBlacklistSourceKey
(entries []string)
setting/model_setting/global.go:92
↓ 1 callersFunctiontierMatchesNormalizedLabel
( tier: BreakdownMatchTier, normalizedMatchedTierLabel: string )
web/src/features/pricing/lib/breakdown-tier-match.ts:27
↓ 1 callersFunctiontimeComparison
(node: ExpressionNode)
web/src/features/pricing/lib/billing-expression/condition-display.ts:48
↓ 1 callersFunctiontimeInZone
(tz string)
pkg/billingexpr/run.go:161
↓ 1 callersFunctiontimeRangeGroup
(start: string, end: string)
web/src/features/pricing/lib/__tests__/time-rule-expr.test.ts:46
↓ 1 callersFunctiontimeTierBranches
( compiled: CompiledBillingExpression, node: ExpressionNode, path: TimeTokenTier['timeConditions'] )
web/src/features/pricing/lib/billing-expression/display.ts:259
↓ 1 callersFunctiontimestampToSeconds
* Convert milliseconds timestamp to seconds for API
web/src/features/usage-logs/lib/utils.ts:92
↓ 1 callersFunctiontimingTextColorClass
( variant: 'success' | 'warning' | 'danger' )
web/src/features/usage-logs/components/dialogs/details-dialog.tsx:119
↓ 1 callersFunctiontitle
(effort: string)
web/src/features/task-plugins/components/request-plugin-try-panel.tsx:335
↓ 1 callersFunctiontoAttachmentSelectValue
( value: AttachmentPreference )
web/src/features/system-settings/auth/passkey-section.tsx:110
↓ 1 callersFunctiontoBase64
(value: string)
web/src/features/chat/lib/chat-links.ts:50
↓ 1 callersFunctiontoFloat
(v any)
oauth/generic.go:560
↓ 1 callersFunctiontoGroupUptimeSeries
(group: PerformanceGroup)
web/src/features/pricing/components/model-details-performance.tsx:112
↓ 1 callersFunctiontoLatencySeries
(series: PerformanceSeriesPoint[])
web/src/features/pricing/components/model-details-performance.tsx:93
↓ 1 callersFunctiontoNumber
Coerce a status field to a number, keeping `fallback` for unusable values.
web/src/lib/status-query.ts:51
↓ 1 callersFunctiontoNumber
(value: unknown, fallback: number)
web/src/features/models/components/dialogs/create-deployment-drawer.tsx:101
↓ 1 callersFunctiontoNumberOrNull
(value: unknown)
web/src/features/system-settings/models/pricing-format.ts:23
↓ 1 callersFunctiontoNumberOrNull
(value?: string)
web/src/features/system-settings/models/model-pricing-snapshots.ts:73
↓ 1 callersFunctiontoRawKey
(visible: boolean, groupName: string)
web/src/features/system-settings/models/group-special-usable-editor.tsx:84
↓ 1 callersFunctiontoStartOfDay
(tsSec: number)
web/src/lib/time.ts:40
↓ 1 callersFunctiontoTitleCase
(value: string)
web/src/features/system-settings/maintenance/sidebar-modules-section.tsx:55
↓ 1 callersFunctiontoUptimeChartValue
(value: number)
web/src/features/pricing/components/model-details-charts.tsx:70
↓ 1 callersFunctiontoUptimeSeries
(series: PerformanceSeriesPoint[])
web/src/features/pricing/components/model-details-performance.tsx:103
↓ 1 callersFunctiontoggleCheck
(idx: number)
web/src/features/channels/components/dialogs/status-code-risk-dialog.tsx:77
↓ 1 callersFunctiontoggleModule
( sectionKey: string, moduleKey: string, val: boolean )
web/src/features/profile/components/sidebar-modules-card.tsx:183
↓ 1 callersFunctiontoggleSection
(sectionKey: string, val: boolean)
web/src/features/profile/components/sidebar-modules-card.tsx:176
↓ 1 callersFunctiontoggleSelectOne
(id: number, checked: boolean)
web/src/features/system-settings/content/api-info-section.tsx:258
↓ 1 callersFunctiontoggleSelectOne
(id: number, checked: boolean)
web/src/features/system-settings/content/faq-section.tsx:226
↓ 1 callersFunctiontoggleSelectOne
(id: number, checked: boolean)
web/src/features/system-settings/content/announcements-section.tsx:289
↓ 1 callersFunctiontoggleSelectOne
(id: number, checked: boolean)
web/src/features/system-settings/content/uptime-kuma-section.tsx:235
↓ 1 callersFunctiontoggleSelected
(modelId: string, checked: boolean)
web/src/features/channels/components/dialogs/ollama-models-dialog.tsx:181
↓ 1 callersFunctiontoggleSelectedNodeFilter
( filters: FlowNodeFilter[], filter: FlowNodeFilter )
web/src/features/dashboard/components/flow/flow-charts.tsx:240
↓ 1 callersFunctiontoggleSelectedValue
(values: string[], value: string)
web/src/features/dashboard/components/flow/flow-charts.tsx:234
↓ 1 callersFunctiontoggleStage
(stage: FlowNodeKind)
web/src/features/dashboard/components/flow/flow-charts.tsx:303
↓ 1 callersFunctiontokenCacheTTLSeconds
()
model/token_cache.go:38
↓ 1 callersFunctiontokenConditions
(node: ExpressionNode)
web/src/features/pricing/lib/billing-expression/display.ts:60
← previousnext →8,601–8,700 of 15,592, ranked by callers