MCPcopy Create free account

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

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

↓ 1 callersFunctioninvalidateInstances
()
web/src/features/system-info/components/system-instances-panel.tsx:625
↓ 1 callersFunctioninvalidateUserSubscription
( subId: number )
web/src/features/subscriptions/api.ts:93
↓ 1 callersFunctionioNopCloser
(body string)
relay/channel/minimax/adaptor_test.go:131
↓ 1 callersFunctionis64BitIntegerType
(dbType common.DatabaseType, dataType string)
model/main.go:313
↓ 1 callersFunctionisActiveLogCleanupTask
(task: LogCleanupTask | null)
web/src/features/system-settings/maintenance/history-log-cleanup.tsx:72
↓ 1 callersFunctionisAdminRole
(role?: number | null)
web/src/features/playground/lib/message/message-error-utils.ts:35
↓ 1 callersFunctionisAdvancedCustomConverter
( value: string )
web/src/features/channels/lib/advanced-custom.ts:935
↓ 1 callersFunctionisAdvancedCustomGeminiIncomingPath
(incomingPath string)
relaykit/dto/channel_settings.go:387
↓ 1 callersFunctionisAdvancedSettingsField
( fieldName: string )
web/src/features/channels/lib/channel-form-errors.ts:62
↓ 1 callersMethodisAllowedPort
isAllowedPort 检查端口是否被允许
common/ssrf_protection.go:196
↓ 1 callersFunctionisAllowedSessionOrigin
(request *http.Request, origin string)
middleware/auth_origin.go:61
↓ 1 callersFunctionisAssistantMessageFinal
(message: Message)
web/src/features/playground/lib/message/message-streaming-utils.ts:158
↓ 1 callersFunctionisAuthSessionSyncEvent
(value: unknown)
web/src/lib/auth-session-sync.ts:40
↓ 1 callersFunctionisAuthTokenRotation
(value: unknown)
web/src/lib/auth-session.ts:140
↓ 1 callersFunctionisAuthUser
(value: unknown)
web/src/lib/auth-session.ts:94
↓ 1 callersFunctionisBasePricingUnset
(snapshot?: ModelPricingSnapshot)
web/src/features/system-settings/models/model-pricing-snapshots.ts:67
↓ 1 callersFunctionisBasicTaskRequest
isBasicTaskRequest reports a task_request ValidateBasicTaskRequest stored.
relay/channel/task/jsplugin/adaptor.go:250
↓ 1 callersFunctionisBlockquoteNode
(node: ParsedNode)
web/src/components/ai-elements/response-node-guards.ts:66
↓ 1 callersFunctionisCJK
(r rune)
tokenkit/tokenkit.go:221
↓ 1 callersFunctionisChannelEnabled
(channel: Channel)
web/src/features/channels/lib/channel-utils.ts:155
↓ 1 callersFunctionisChannelEnabledForGroupModelDB
(group string, modelName string, channelID int)
model/channel_satisfy.go:47
↓ 1 callersFunctionisChannelIDInList
(list []int, channelID int)
model/channel_satisfy.go:66
↓ 1 callersFunctionisClaudeHostedResult
(nativeType string)
relaykit/relayconvert/internal/toolconv/response_artifacts.go:767
↓ 1 callersFunctionisClaudeHostedToolStreamBlock
(blockType string)
relaykit/relayconvert/internal/claude_messages/to_oai_chat_resp.go:210
↓ 1 callersFunctionisCodeBlockNode
(node: ParsedNode)
web/src/components/ai-elements/response-node-guards.ts:54
↓ 1 callersFunctionisCodexCredential
(value: string | undefined)
web/src/features/channels/lib/channel-form.ts:164
↓ 1 callersFunctionisConfigURL
The addresses a url field accepts, as the gateway checks them.
web/src/features/task-plugins/lib/request-plugins.ts:417
↓ 1 callersFunctionisConsumptionDistributionChartType
( value: unknown )
web/src/features/dashboard/lib/filters.ts:46
↓ 1 callersFunctionisCreemWebhookConfigured
()
controller/payment_webhook_availability.go:41
↓ 1 callersFunctionisCurrencyDisplayEnabled
()
web/src/lib/currency.ts:579
↓ 1 callersFunctionisCurrencyDisplayType
( value: unknown )
web/src/lib/currency.ts:146
↓ 1 callersFunctionisDefinitionListNode
( node: ParsedNode )
web/src/components/ai-elements/response-node-guards.ts:74
↓ 1 callersFunctionisDestructiveAction
( action: MultiKeyConfirmAction | null )
web/src/features/channels/lib/multi-key-utils.ts:66
↓ 1 callersFunctionisDisabledChannelRow
(channel: Channel)
web/src/features/channels/components/channels-table.tsx:99
↓ 1 callersFunctionisDisabledRedemptionRow
(redemption: Redemption)
web/src/features/redemption-codes/components/redemptions-table.tsx:49
↓ 1 callersFunctionisDisabledUserRow
(user: User)
web/src/features/users/components/users-table.tsx:61
↓ 1 callersFunctionisDisplayableType
(type: number)
web/src/features/usage-logs/components/dialogs/details-dialog.tsx:1440
↓ 1 callersMethodisDomainAllowed
(domain string)
common/ssrf_protection.go:231
↓ 1 callersFunctionisDomainListed
isDomainWhitelisted 检查域名是否在白名单中
common/ssrf_protection.go:205
↓ 1 callersFunctionisEmoji
(r rune)
tokenkit/tokenkit.go:227
↓ 1 callersFunctionisEpayWebhookConfigured
()
controller/payment_webhook_availability.go:102
↓ 1 callersFunctionisEqual
(a: unknown, b: unknown)
web/src/features/system-settings/request-limits/ssrf-section.tsx:153
↓ 1 callersFunctionisFlowNodeKind
(value: unknown)
web/src/features/dashboard/lib/flow.ts:154
↓ 1 callersFunctionisFootnoteNode
(node: ParsedNode)
web/src/components/ai-elements/response-node-guards.ts:92
↓ 1 callersFunctionisFullHttpURLOrAbsolutePath
(value: string)
web/src/features/channels/lib/advanced-custom.ts:921
↓ 1 callersFunctionisGeminiDownstreamStop
(c *gin.Context, info *relaycommon.RelayInfo)
relay/channel/gemini/relay-gemini.go:297
↓ 1 callersFunctionisGeneratedFile
(filePath)
web/scripts/add-copyright.mjs:77
↓ 1 callersFunctionisGuessablePassword
(password: string)
web/src/components/password-strength-utils.ts:106
↓ 1 callersFunctionisHeadingNode
(node: ParsedNode)
web/src/components/ai-elements/response-node-guards.ts:46
↓ 1 callersFunctionisIPListed
isIPWhitelisted 检查IP是否在白名单中
common/ssrf_protection.go:242
↓ 1 callersFunctionisIconComponent
(value: unknown)
web/src/components/react-icon-by-name.tsx:121
↓ 1 callersFunctionisImageNode
(node: ParsedNode)
web/src/components/ai-elements/response-node-guards.ts:62
↓ 1 callersFunctionisJSONContentType
(contentType string)
relay/helper/billing_expr_request.go:118
↓ 1 callersFunctionisJSONRequest
(c *gin.Context)
relay/channel/advancedcustom/adaptor.go:564
↓ 1 callersFunctionisKling4
(model)
plugins/tasks/kling/plugin.js:289
↓ 1 callersFunctionisKling4Reply
(reply)
plugins/tasks/kling/plugin.js:390
↓ 1 callersFunctionisKnownTaskField
(field string)
relay/common/relay_utils.go:269
↓ 1 callersFunctionisLegacyClaudeDerivedOpenAIUsage
(relayInfo *relaycommon.RelayInfo, usage *dto.Usage)
service/text_quota.go:94
↓ 1 callersFunctionisLikelyUntranslated
({ locale, baseValue, value })
web/scripts/sync-i18n.mjs:202
↓ 1 callersFunctionisLinkNode
(node: ParsedNode)
web/src/components/ai-elements/response-node-guards.ts:58
↓ 1 callersFunctionisListNode
(node: ParsedNode)
web/src/components/ai-elements/response-node-guards.ts:50
↓ 1 callersFunctionisLoginChallenge
(value: unknown)
web/src/features/auth/secure-verification/api.ts:93
↓ 1 callersFunctionisMathBlockNode
(node: ParsedNode)
web/src/components/ai-elements/response-node-guards.ts:84
↓ 1 callersFunctionisMathInlineNode
(node: ParsedNode)
web/src/components/ai-elements/response-node-guards.ts:88
↓ 1 callersFunctionisMathSymbol
(r rune)
tokenkit/tokenkit.go:234
↓ 1 callersFunctionisMetadataSyncable
(item: MetadataSyncCandidate)
web/src/features/models/components/dialogs/sync-wizard-dialog.tsx:78
↓ 1 callersFunctionisModelAnalyticsChartTab
( value: unknown )
web/src/features/dashboard/lib/filters.ts:52
↓ 1 callersFunctionisModelEnabled
(model: Model)
web/src/features/models/lib/model-utils.ts:188
↓ 1 callersFunctionisModelsDevAPIEndpoint
(rawURL string)
controller/ratio_sync.go:846
↓ 1 callersFunctionisNativeButtonRender
(render: ButtonPrimitive.Props['render'])
web/src/components/ui/button.tsx:61
↓ 1 callersFunctionisNavItemVisible
* Check if a navigation item should be visible
web/src/hooks/use-sidebar-config.ts:201
↓ 1 callersFunctionisNilRequest
(request any)
relaykit/relayconvert/request_registry.go:412
↓ 1 callersFunctionisNilResponse
(response any)
relaykit/relayconvert/response_registry.go:831
↓ 1 callersFunctionisNull
(data json.RawMessage)
pkg/requestpatch/patch.go:284
↓ 1 callersFunctionisNumber
(s: string)
web/src/lib/http-status-code-rules.ts:114
↓ 1 callersFunctionisOfficialChannel
(channel: UpstreamChannel)
web/src/features/system-settings/models/channel-selector-dialog.tsx:67
↓ 1 callersFunctionisOpenAIImageStreamErrorEvent
isOpenAIImageStreamErrorEvent detects upstream error chunks by JSON content only ("type" of error/upstream_error, or a non-empty "error" field). The S
relay/channel/openai/relay_image.go:214
↓ 1 callersFunctionisOpenAIModelSnapshot
(modelName, baseModel string)
relaykit/dto/openai_request.go:383
↓ 1 callersFunctionisOpenAITextModel
(model string)
tokenkit/tokenkit.go:48
↓ 1 callersFunctionisOutlookServer
(server string)
common/email-outlook-auth.go:35
↓ 1 callersFunctionisPassthroughAllKey
(key: string)
web/src/features/channels/lib/header-passthrough.ts:45
↓ 1 callersFunctionisPathBasedOperation
(mode string)
relay/common/override.go:1704
↓ 1 callersFunctionisPaymentComplianceOptionKey
(key string)
controller/option.go:38
↓ 1 callersFunctionisPendingAssistantMessage
(message?: Message)
web/src/features/playground/lib/message/message-streaming-utils.ts:172
↓ 1 callersFunctionisPositiveOptionValue
(value string)
controller/option.go:42
↓ 1 callersFunctionisPresetUpstreamHost
isPresetUpstreamHost reports whether address points at one of the preset default base URL hosts.
common/gin.go:206
↓ 1 callersFunctionisProperPrefix
(prefix, tokens []string)
pkg/requestpatch/patch.go:735
↓ 1 callersFunctionisRecord
(value: unknown)
web/src/lib/channel-connection-info.ts:26
↓ 1 callersFunctionisRecord
(value: unknown)
web/src/features/auth/lib/telegram-login.ts:30
↓ 1 callersFunctionisRelay
(apiKey)
plugins/tasks/jimeng/plugin.js:96
↓ 1 callersFunctionisRelay
(apiKey)
plugins/tasks/kling/plugin.js:148
↓ 1 callersFunctionisRequestPriceMultiplier
(node ast.Node)
pkg/billingexpr/fixed.go:29
↓ 1 callersFunctionisReservedLogOtherKey
(key string)
model/log_other.go:50
↓ 1 callersFunctionisResponsesHostedHistoryType
(itemType string)
relaykit/relayconvert/internal/toolconv/decode.go:1027
↓ 1 callersFunctionisSafariBrowser
* Check if browser is Safari
web/src/features/wallet/lib/payment.ts:52
↓ 1 callersFunctionisSafeHttpCheckoutUrl
* Reject non-navigable schemes (e.g. javascript:, data:) and relative URLs. * Only http/https are allowed for backend-provided redirect targets.
web/src/features/wallet/hooks/use-waffo-pancake-payment.ts:44
↓ 1 callersFunctionisSameFlowNodeFilter
( a: FlowNodeFilter | undefined, b: FlowNodeFilter )
web/src/features/dashboard/components/flow/flow-charts.tsx:227
↓ 1 callersFunctionisSensitiveURLQueryKey
(key string)
relay/common/relay_utils.go:70
↓ 1 callersFunctionisServerErrorCancelled
(value: unknown)
web/src/lib/server-error-message.ts:135
↓ 1 callersFunctionisSidebarModuleEnabled
( section: string, module: string )
web/src/lib/nav-modules.ts:202
← previousnext →7,201–7,300 of 15,409, ranked by callers