MCPcopy Create free account

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

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

↓ 1 callersFunctionsyncRuntimeHeaderOverrideFromContext
(info *RelayInfo, context map[string]any)
relay/common/override.go:1667
↓ 1 callersFunctionsyncUpstream
( params: MetadataSyncRequest )
web/src/features/models/api.ts:202
↓ 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:975
↓ 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)
controller/video_proxy.go:494
↓ 1 callersFunctiontaskPluginControllerRouteSource
(key, version, routePath string)
controller/task_plugin_test.go:1450
↓ 1 callersFunctiontaskPluginImageResponseFormat
(request pluginruntime.ProtocolRequestContext)
controller/plugin_protocol_image.go:217
↓ 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:504
↓ 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:747
↓ 1 callersFunctiontestChannel
( id: number, params?: { model?: string; endpoint_type?: string; stream?: boolean } )
web/src/features/channels/api.ts:328
↓ 1 callersFunctiontestChannelForHealthCheck
(ctx context.Context, channel *model.Channel, testUserID int, allowDisable bool, disableThreshold int64)
controller/channel-test.go:964
↓ 1 callersFunctiontestDeploymentConnection
()
web/src/features/models/api.ts:307
↓ 1 callersFunctiontestDeploymentConnectionWithKey
( apiKey?: string )
web/src/features/models/api.ts:325
↓ 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:1679
↓ 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.
pkg/jsplugin/provider.go:1105
↓ 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:114
↓ 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
↓ 1 callersMethodtokenEndpoint
(w http.ResponseWriter, r *http.Request)
service/provider_plugin_test.go:172
↓ 1 callersFunctiontokenFor
(ctx)
plugins/tasks/kling/plugin.js:158
↓ 1 callersFunctiontokenItem
(overrides: Partial<AccessTokenItem>)
web/src/features/security/components/__tests__/access-tokens-card.test.tsx:72
↓ 1 callersFunctiontokenTier
( node: ExpressionNode, conditions: TokenTierCondition[] )
web/src/features/pricing/lib/billing-expression/display.ts:102
↓ 1 callersMethodtokens
(w, h int)
tokenkit/image.go:165
↓ 1 callersMethodtoolArgumentsDelta
(event *dto.ResponsesStreamResponse)
relaykit/relayconvert/internal/oai_responses/to_oai_chat_stream_resp.go:319
↓ 1 callersFunctiontoolCounts
(info *relaycommon.RelayInfo)
relay/channel/deepseek/adaptor_test.go:134
↓ 1 callersFunctiontoolbarProps
()
web/src/features/pricing/__tests__/pricing-controls.test.tsx:31
↓ 1 callersFunctiontooltipMetricLines
( valueFormatter: (value: number) => string, labels: FlowSankeyLabels )
web/src/features/dashboard/lib/flow.ts:1086
↓ 1 callersFunctiontrackSize
(bytes, start, end)
plugins/tasks/xai/plugin.js:658
↓ 1 callersFunctiontransferAffiliateQuota
( request: AffiliateTransferRequest )
web/src/features/wallet/api.ts:195
↓ 1 callersFunctiontransformFormDataToModelPayload
( formData: ModelFormValues )
web/src/features/models/lib/model-form.ts:106
↓ 1 callersFunctiontransformFormDataToPayload
( data: UserFormValues, userId?: number, catalog?: PermissionCatalog )
web/src/features/users/lib/user-form.ts:74
↓ 1 callersFunctiontransformFormDataToPayload
( data: RedemptionFormValues )
web/src/features/redemption-codes/lib/redemption-form.ts:76
↓ 1 callersFunctiontransformLegacyAPIInfo
(value string)
model/frontend_option_migration.go:105
↓ 1 callersFunctiontransformLegacyFAQ
(value string)
model/frontend_option_migration.go:137
↓ 1 callersFunctiontransformModelToFormDefaults
(model: Model)
web/src/features/models/lib/model-form.ts:86
↓ 1 callersFunctiontransformRedemptionToFormDefaults
( redemption: Redemption )
web/src/features/redemption-codes/lib/redemption-form.ts:92
↓ 1 callersFunctiontransformStringValue
(doc *ojson.Doc, path string, transform func(string) string)
relay/common/override.go:1891
↓ 1 callersFunctiontranslate
(key, options)
web/src/features/pricing/lib/billing-expression/condition-display.ts:252
↓ 1 callersFunctiontranslations
(count: number)
web/src/features/task-plugins/__tests__/marketplace.test.ts:886
↓ 1 callersFunctiontree
(currentRow: Model, open: boolean)
web/src/features/models/__tests__/metadata-editing.test.tsx:413
← previousnext →8,501–8,600 of 15,409, ranked by callers