MCPcopy Create free account

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

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

↓ 1 callersFunctionuseCreemPayment
()
web/src/features/wallet/hooks/use-creem-payment.ts:30
↓ 1 callersFunctionuseCustomOAuthProviders
()
web/src/features/system-settings/auth/custom-oauth/hooks/use-custom-oauth-providers.ts:25
↓ 1 callersFunctionuseDashboardContentVisibility
()
web/src/features/dashboard/hooks/use-status-data.ts:64
↓ 1 callersFunctionuseDeleteProvider
()
web/src/features/system-settings/auth/custom-oauth/hooks/use-custom-oauth-mutations.ts:88
↓ 1 callersFunctionuseDeploymentsColumns
(opts: { onViewLogs: (id: string | number) => void onViewDetails: (id: string | number) => void onUpdate
web/src/features/models/components/deployments-columns.tsx:41
↓ 1 callersFunctionuseDiscoverEndpoints
()
web/src/features/system-settings/auth/custom-oauth/hooks/use-custom-oauth-mutations.ts:107
↓ 1 callersFunctionuseDrawingLogsColumns
( isAdmin: boolean )
web/src/features/usage-logs/components/columns/drawing-logs-columns.tsx:84
↓ 1 callersFunctionuseEmailVerification
(options?: UseEmailVerificationOptions)
web/src/features/auth/hooks/use-email-verification.ts:39
↓ 1 callersFunctionuseFAQ
()
web/src/features/dashboard/hooks/use-status-data.ts:57
↓ 1 callersFunctionuseFilters
(models: PricingModel[])
web/src/features/pricing/hooks/use-filters.ts:56
↓ 1 callersMethoduseFreshCredential
useFreshCredential refreshes a credential that expires within the request margin. A failed refresh keeps a credential that has not expired yet. A cred
relay/channel/providerplugin/adaptor.go:545
↓ 1 callersMethoduseFreshSubmitCredential
useFreshSubmitCredential refreshes the submission's credential line when it is about to expire and keeps the credential for the submit request.
relay/channel/task/jsplugin/credential.go:48
↓ 1 callersFunctionuseGeminiStreamGenerateContentURL
(parsedURL *url.URL)
relay/channel/advancedcustom/adaptor.go:530
↓ 1 callersFunctionuseGroupRatios
()
web/src/features/keys/components/api-keys-columns.tsx:50
↓ 1 callersFunctionuseHiddenClickUnlock
( options: HiddenClickUnlockOptions = {} )
web/src/hooks/use-hidden-click-unlock.ts:34
↓ 1 callersFunctionuseHomePageContent
()
web/src/features/home/hooks/use-home-page-content.ts:34
↓ 1 callersFunctionuseImageSize
(src: string | undefined)
web/src/features/task-plugins/components/request-plugin-try-panel.tsx:205
↓ 1 callersFunctionuseIsAdmin
()
web/src/hooks/use-admin.ts:28
↓ 1 callersFunctionuseLimiterMiniRedis
(t *testing.T)
common/limiter/limiter_test.go:14
↓ 1 callersFunctionuseMessageActionGuard
(isGenerating: boolean)
web/src/features/playground/hooks/use-message-action-guard.ts:29
↓ 1 callersFunctionuseModelDeploymentSettings
()
web/src/features/models/hooks/use-model-deployment-settings.ts:55
↓ 1 callersFunctionuseModelPricingIssueBadge
()
web/src/features/system-settings/models/pricing-issues.ts:75
↓ 1 callersFunctionuseModelStatCardsConfig
()
web/src/features/dashboard/hooks/use-dashboard-config.tsx:46
↓ 1 callersFunctionuseModelsColumns
( vendors: Vendor[] = EMPTY_VENDORS, pricing?: ModelPricingConfig, pricingState?: 'loading' | 'error' )
web/src/features/models/components/models-columns.tsx:53
↓ 1 callersFunctionuseOptionalProviderAttachments
()
web/src/components/ai-elements/prompt-input.tsx:153
↓ 1 callersFunctionusePasskeyManagement
()
web/src/features/auth/passkey/hooks/use-passkey-management.ts:38
↓ 1 callersFunctionusePayment
()
web/src/features/wallet/hooks/use-payment.ts:84
↓ 1 callersFunctionusePlaygroundConversation
({ messages, updateMessages, sendChat, }: UsePlaygroundConversationOptions)
web/src/features/playground/hooks/use-playground-conversation.ts:37
↓ 1 callersFunctionusePlaygroundOptions
({ currentGroup, currentModel, setGroups, setModels, updateConfig, }: UsePlaygroundOptionsParams)
web/src/features/playground/hooks/use-playground-options.ts:64
↓ 1 callersFunctionusePlaygroundState
()
web/src/features/playground/hooks/use-playground-state.ts:45
↓ 1 callersFunctionusePluginLogin
(options: UsePluginLoginOptions)
web/src/features/channels/hooks/use-plugin-login.ts:52
↓ 1 callersFunctionuseRankings
(period: RankingPeriod)
web/src/features/rankings/hooks/use-rankings.ts:26
↓ 1 callersFunctionuseReasoning
()
web/src/components/ai-elements/reasoning.tsx:52
↓ 1 callersFunctionuseRedemption
()
web/src/features/wallet/hooks/use-redemption.ts:33
↓ 1 callersFunctionuseRedemptionsColumns
()
web/src/features/redemption-codes/components/redemptions-columns.tsx:38
↓ 1 callersFunctionuseResolvedColumnClassName
( table: TanstackTable<TData>, getColumnClassName?: DataTableColumnClassName, pinnedColumns?: DataTableP
web/src/components/data-table/core/data-table-view.tsx:168
↓ 1 callersFunctionuseStreamRequest
()
web/src/features/playground/hooks/use-stream-request.ts:186
↓ 1 callersFunctionuseSubscriptionsColumns
()
web/src/features/subscriptions/components/subscriptions-columns.tsx:33
↓ 1 callersFunctionuseSummaryCardsConfig
(totals: { todayUsageDisplay: string usedDisplay: string requestCountDisplay: string currencyLabel: st
web/src/features/dashboard/hooks/use-dashboard-config.tsx:111
↓ 1 callersFunctionuseSuppressSettingsSectionHeader
()
web/src/features/system-settings/components/settings-page-context.tsx:65
↓ 1 callersFunctionuseSystemUpdate
()
web/src/features/system-update/use-system-update.ts:132
↓ 1 callersFunctionuseTaskLogsColumns
( isAdmin: boolean, isRoot: boolean )
web/src/features/usage-logs/components/columns/task-logs-columns.tsx:86
↓ 1 callersFunctionuseTopupInfo
()
web/src/features/wallet/hooks/use-topup-info.ts:168
↓ 1 callersFunctionuseTwoFA
(enabled = true)
web/src/features/security/hooks/use-two-fa.ts:36
↓ 1 callersFunctionuseTwoFASetup
(refreshStatus: () => void | Promise<void>)
web/src/features/security/hooks/use-two-fa-setup.ts:40
↓ 1 callersFunctionuseUpdatePasskeyDomains
()
web/src/features/system-settings/hooks/use-update-option.ts:86
↓ 1 callersFunctionuseUpdateProvider
()
web/src/features/system-settings/auth/custom-oauth/hooks/use-custom-oauth-mutations.ts:63
↓ 1 callersFunctionuseUpstreamRatioSyncColumns
( upstreamNames: string[], isMobile: boolean )
web/src/features/system-settings/models/upstream-ratio-sync-columns.tsx:33
↓ 1 callersFunctionuseWaffoPancakePayment
()
web/src/features/wallet/hooks/use-waffo-pancake-payment.ts:74
↓ 1 callersFunctionuseWaffoPayment
()
web/src/features/wallet/hooks/use-waffo-payment.ts:54
↓ 1 callersFunctionuseWideScreen
()
web/src/features/channels/components/__tests__/channel-configuration.test.tsx:217
↓ 1 callersFunctionuserCheckinWithTransaction
userCheckinWithTransaction 使用事务执行签到(适用于 MySQL 和 PostgreSQL)
model/checkin.go:94
↓ 1 callersFunctionuserCheckinWithoutTransaction
userCheckinWithoutTransaction 不使用事务执行签到(适用于 SQLite)
model/checkin.go:124
↓ 1 callersFunctionuserMessages
(format, body)
plugins/tasks/content-moderation/plugin.js:166
↓ 1 callersFunctionuserRedisRateLimiter
userRedisRateLimiter is like redisRateLimiter but accepts a pre-built key (to support user-ID-based keys).
middleware/rate-limit.go:250
↓ 1 callersFunctionusesCl100k
usesCl100k reports whether an OpenAI model predates o200k_base: GPT-4 (but not GPT-4o, GPT-4.1, or GPT-4.5) and GPT-3.5. Every later model, including
tokenkit/tokenizer.go:98
↓ 1 callersFunctionv1NativeResolution
(model, body)
plugins/tasks/hailuo/plugin.js:245
↓ 1 callersFunctionv1Resolutions
(model, hasImage, hasLastFrame)
plugins/tasks/hailuo/plugin.js:235
↓ 1 callersFunctionvalidUserInfo
(username string, role int)
middleware/auth.go:41
↓ 1 callersFunctionvalidateAccessCondition
(condition *accessCondition, index int)
oauth/generic.go:377
↓ 1 callersFunctionvalidateAccessPolicy
(policy *accessPolicy)
oauth/generic.go:344
↓ 1 callersFunctionvalidateAccessPolicyPayload
(policy *accessPolicyPayload)
model/custom_oauth_provider.go:231
↓ 1 callersFunctionvalidateAccessTokenIdentityWithTx
(tx *gorm.DB, tokenID int, identity AuthSessionIdentity)
model/user_access_token.go:261
↓ 1 callersFunctionvalidateAdvancedCustomConverterPath
(index int, incomingPath string, converter string)
relaykit/dto/channel_settings.go:660
↓ 1 callersFunctionvalidateAdvancedCustomRouteAuth
(index int, auth *AdvancedCustomRouteAuth)
relaykit/dto/channel_settings.go:701
↓ 1 callersFunctionvalidateAdvancedCustomRouteModelRule
(index int, incomingPath string, model string)
relaykit/dto/channel_settings.go:614
↓ 1 callersFunctionvalidateAdvancedCustomRouteModels
(index int, incomingPath string, models []string, paths map[string]*advancedCustomPathModelState)
relaykit/dto/channel_settings.go:574
↓ 1 callersFunctionvalidateAdvancedCustomRouteModels
( routeIndex: number, incomingPath: string, models: string[], routeModelsByPath: Map< string,
web/src/features/channels/lib/advanced-custom.ts:847
↓ 1 callersFunctionvalidateAdvancedCustomUpstreamTarget
(index int, upstreamPath string)
relaykit/dto/channel_settings.go:642
↓ 1 callersFunctionvalidateAndNormalize
(ctx)
plugins/tasks/sunoapi/plugin.js:96
↓ 1 callersFunctionvalidateAnnouncements
(announcementsStr string)
setting/console_setting/validation.go:167
↓ 1 callersFunctionvalidateApiInfo
(apiInfoStr string)
setting/console_setting/validation.go:107
↓ 1 callersFunctionvalidateArgon2AccountPassword
(password, encoded string)
common/account_password.go:66
↓ 1 callersFunctionvalidateChangelogInline
No HTML, images, task checkboxes or nested blocks can become marketplace content.
web/src/features/task-plugins/lib/plugin-changelog.ts:106
↓ 1 callersFunctionvalidateDataExportDefaultTime
* Validate and coerce DataExportDefaultTime to a safe value
web/src/features/system-settings/content/section-registry.tsx:32
↓ 1 callersFunctionvalidateFAQ
(faqStr string)
setting/console_setting/validation.go:213
↓ 1 callersFunctionvalidateFixedPricingTree
validateFixedPricingTree enforces one pricing leaf per execution. Without this invariant, adding two tiers or multiplying a fixed price by tokens woul
pkg/billingexpr/fixed.go:45
↓ 1 callersFunctionvalidateFixedPricingTree
( node: ExpressionNode, rules: CompiledBillingExpression['requestRules'] )
web/src/features/pricing/lib/billing-expression/parser.ts:432
↓ 1 callersFunctionvalidateForm
()
web/src/features/channels/components/dialogs/edit-tag-dialog.tsx:142
↓ 1 callersFunctionvalidateJSON
(value: string)
web/src/features/channels/lib/channel-form.ts:1024
↓ 1 callersFunctionvalidateJSON
(value: string)
web/src/features/models/lib/model-form.ts:139
↓ 1 callersFunctionvalidateModelMappingJson
(modelMapping: string)
web/src/features/channels/lib/model-mapping-validation.ts:166
↓ 1 callersFunctionvalidateMultipartTaskRequest
(c *gin.Context, info *RelayInfo, action string)
relay/common/relay_utils.go:159
↓ 1 callersFunctionvalidateOperations
( operations: ParamOverrideOperation[], t: (key: string, options?: Record<string, unknown>) => string )
web/src/features/channels/components/dialogs/param-override-editor-dialog.tsx:931
↓ 1 callersMethodvalidatePlugin
validatePlugin returns the declared top-level routes the gateway does not register for plugin; their /{key} copies still serve them. A key that names
router/plugin-router.go:265
↓ 1 callersFunctionvalidateProviderHooks
(meta Meta, engine *Engine)
pkg/jsplugin/registry.go:797
↓ 1 callersFunctionvalidateRelayRoutes
validateRelayRoutes applies the Advanced Custom route rules to meta.relay. A plugin-converter route is checked as a native route of its client endpoin
pkg/jsplugin/registry.go:1897
↓ 1 callersFunctionvalidateRoute
(route *Route)
pkg/jsplugin/routing.go:892
↓ 1 callersFunctionvalidateRouteAuth
( auth: AdvancedCustomRouteAuth | undefined )
web/src/features/channels/lib/advanced-custom.ts:974
↓ 1 callersFunctionvalidateSecondsForReqKey
(reqKey, seconds)
plugins/tasks/jimeng/plugin.js:282
↓ 1 callersFunctionvalidateStreamTestResponseBody
(respBody []byte)
controller/channel-test.go:680
↓ 1 callersFunctionvalidateTaskArtifactStoreCredential
(name, value string, maxLength int, required bool)
setting/system_setting/task_artifact_store.go:149
↓ 1 callersFunctionvalidateTaskArtifacts
(value any)
relay/channel/task/jsplugin/adaptor.go:1633
↓ 1 callersFunctionvalidateTaskPluginFields
(fields url.Values)
middleware/task_plugin.go:1280
↓ 1 callersFunctionvalidateTestResponseBody
(respBody []byte, isStream bool)
controller/channel-test.go:702
↓ 1 callersFunctionvalidateTokenKeyUniqueConstraints
(constraints []tokenKeyUniqueConstraint)
model/token_migration.go:54
↓ 1 callersFunctionvalidateUptimeKumaGroups
(groupsStr string)
setting/console_setting/validation.go:263
↓ 1 callersFunctionvalidateUsageExampleValue
(value any, field UsageFieldSchema)
pkg/jsplugin/registry.go:2203
↓ 1 callersFunctionvalidateUsageExamples
(schema map[string]UsageFieldSchema, examples []UsageExample)
pkg/jsplugin/registry.go:2160
↓ 1 callersFunctionvalidateUsageSchema
(schema map[string]UsageFieldSchema)
pkg/jsplugin/registry.go:1942
← previousnext →8,701–8,800 of 15,409, ranked by callers