MCPcopy Create free account

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

Functions10,602 in github.com/QuantumNous/new-api

↓ 2 callersFunctiongetTaskLogsColumns
({ t, COLUMN_KEYS, copyText, openContentModal, isAdminUser, openVideoModal, openAudioModal, })
web/classic/src/components/table/task-logs/TaskLogsColumnDefs.jsx:236
↓ 2 callersFunctiongetTextUnits
(value: string)
web/default/src/components/ui/markdown.tsx:197
↓ 2 callersFunctiongetTierCacheMode
( tier: Partial<VisualTier> | null | undefined )
web/default/src/features/pricing/lib/tier-expr.ts:51
↓ 2 callersFunctiongetTierCacheMode
(tier)
web/classic/src/pages/Setting/Ratio/components/TieredPricingEditor.jsx:105
↓ 2 callersFunctiongetTieredBillingSummary
( other: LogOtherData | null )
web/default/src/features/usage-logs/lib/format.ts:253
↓ 2 callersFunctiongetTimeInterval
(timeType, isSeconds = false)
web/classic/src/helpers/dashboard.jsx:45
↓ 2 callersFunctiongetTodayStartTimestamp
()
web/classic/src/helpers/utils.jsx:186
↓ 2 callersFunctiongetTokenKeyColumnType
(t *testing.T, db *gorm.DB, dialect string)
controller/token_test.go:236
↓ 2 callersFunctiongetUpstreamURLs
(locale string)
controller/model_sync.go:43
↓ 2 callersFunctiongetUpstreamValue
(model, ratioType, sourceName)
web/classic/src/pages/Setting/Ratio/UpstreamRatioSync.jsx:343
↓ 2 callersFunctiongetUptimeStatus
()
web/default/src/features/dashboard/api.ts:88
↓ 2 callersFunctiongetUptimeStatusColor
(status, uptimeStatusMap)
web/classic/src/helpers/dashboard.jsx:164
↓ 2 callersFunctiongetUptimeStatusText
(status, uptimeStatusMap, t)
web/classic/src/helpers/dashboard.jsx:167
↓ 2 callersFunctiongetUsageBillingPathLabel
( t: TFunction, adminInfo: LogOtherData['admin_info'] )
web/default/src/features/usage-logs/components/dialogs/details-dialog.tsx:154
↓ 2 callersFunctiongetUsageStatusBadge
( rateLimit: CodexRateLimit | undefined, t: (key: string) => string )
web/default/src/features/channels/components/dialogs/codex-usage-dialog.tsx:382
↓ 2 callersFunctiongetUserActionMessage
(action: ManageUserAction)
web/default/src/features/users/lib/user-actions.ts:37
↓ 2 callersFunctiongetUserId
* Get user ID from localStorage
web/default/src/lib/api.ts:131
↓ 2 callersFunctiongetUserModels
(group: string)
web/default/src/features/playground/api.ts:46
↓ 2 callersFunctiongetUserQuota
()
web/classic/src/components/topup/index.jsx:530
↓ 2 callersFunctiongetUserQuotaDates
( params: { start_timestamp: number end_timestamp: number default_time?: string username?: s
web/default/src/features/dashboard/api.ts:37
↓ 2 callersFunctiongetUsername
()
web/classic/src/components/settings/personal/components/UserInfoHeader.jsx:38
↓ 2 callersFunctiongetVendorDisplayName
(vendorName, t)
web/classic/src/components/table/model-pricing/layout/header/PricingVendorIntro.jsx:81
↓ 2 callersFunctiongetVendors
(params?: { p?: number page_size?: number })
web/default/src/features/models/api.ts:121
↓ 2 callersFunctiongetVertexArrayKeys
(keys string)
controller/channel.go:565
↓ 2 callersFunctiongetWaffoPancakeBuyerEmail
(user *model.User)
controller/topup_waffo_pancake.go:95
↓ 2 callersFunctiongetWaffoPayMoney
getWaffoPayMoney converts the user-facing amount to USD for Waffo payment. Waffo only accepts USD, so this function handles the conversion from differ
controller/topup_waffo.go:89
↓ 2 callersFunctiongetWaffoSDK
()
controller/topup_waffo.go:26
↓ 2 callersFunctiongetWeChatIdByCode
(code string)
controller/wechat.go:25
↓ 2 callersFunctiongetXunfeiAuthUrl
(c *gin.Context, apiKey string, apiSecret string, modelName string)
relay/channel/xunfei/relay-xunfei.go:266
↓ 2 callersFunctionhandleAdd
()
web/default/src/features/system-settings/integrations/amount-options-visual-editor.tsx:57
↓ 2 callersFunctionhandleAddCondition
(index: number)
web/default/src/features/system-settings/models/tiered-pricing-editor.tsx:818
↓ 2 callersFunctionhandleApply
()
web/default/src/features/dashboard/components/models/models-filter-dialog.tsx:126
↓ 2 callersFunctionhandleBranchChange
(newBranch: number)
web/default/src/components/ai-elements/branch.tsx:73
↓ 2 callersFunctionhandleCategorySelectAll
(categoryModels, isChecked)
web/classic/src/components/table/channels/modals/ModelSelectModal.jsx:238
↓ 2 callersFunctionhandleChange
(value: boolean)
web/default/src/features/auth/components/legal-consent.tsx:48
↓ 2 callersFunctionhandleChange
(name, value)
web/classic/src/components/auth/RegisterForm.jsx:214
↓ 2 callersFunctionhandleChange
(name, value)
web/classic/src/components/auth/LoginForm.jsx:214
↓ 2 callersFunctionhandleChecklistChange
(index: number, checked: boolean)
web/default/src/components/risk-acknowledgement-dialog.tsx:166
↓ 2 callersFunctionhandleClearSelection
()
web/default/src/features/channels/components/data-table-bulk-actions.tsx:81
↓ 2 callersFunctionhandleConditionChange
( conditionIndex: number, next: TierConditionInput )
web/default/src/features/system-settings/models/tiered-pricing-editor.tsx:561
↓ 2 callersFunctionhandleDropdownMenuItemSelect
( event: DropdownMenuItemSelectEvent, onClick?: React.MouseEventHandler<HTMLElement>, onSelect?: Dropdow
web/default/src/components/ui/dropdown-menu-events.ts:11
↓ 2 callersFunctionhandleEdit
(faq: FAQ)
web/default/src/features/system-settings/content/faq-section.tsx:146
↓ 2 callersFunctionhandleEyeClick
()
web/classic/src/hooks/usage-logs/useUsageLogsData.jsx:313
↓ 2 callersFunctionhandleJsonChange
(newJson: string)
web/default/src/features/channels/components/model-mapping-editor.tsx:190
↓ 2 callersFunctionhandleJsonChange
(nextValue: string)
web/default/src/features/channels/components/dialogs/advanced-custom-editor-dialog.tsx:432
↓ 2 callersFunctionhandleOAuthError
handleOAuthError handles OAuth errors and returns translated message
controller/oauth.go:366
↓ 2 callersFunctionhandleOpenChange
(open: boolean)
web/default/src/features/profile/components/dialogs/two-fa-backup-dialog.tsx:80
↓ 2 callersFunctionhandlePageChange
(newPage: number)
web/default/src/features/channels/components/dialogs/multi-key-manage-dialog.tsx:158
↓ 2 callersFunctionhandlePageSizeChange
(size)
web/classic/src/components/table/channels/modals/MultiKeyManageModal.jsx:283
↓ 2 callersFunctionhandlePriceChange
(field: keyof VisualTier, value: number)
web/default/src/features/system-settings/models/tiered-pricing-editor.tsx:577
↓ 2 callersFunctionhandleRemove
(amount: number)
web/default/src/features/system-settings/integrations/amount-options-visual-editor.tsx:76
↓ 2 callersFunctionhandleSelect
(selectedValue: string)
web/default/src/components/ui/combobox-input.tsx:102
↓ 2 callersFunctionhandleSelectAll
(checked)
web/classic/src/components/table/model-deployments/modals/ColumnSelectorModal.jsx:52
↓ 2 callersFunctionhandleTestChannel
( id: number, options?: { channelName?: string testModel?: string endpointType?: string st
web/default/src/features/channels/lib/channel-actions.ts:271
↓ 2 callersFunctionhandleTextPartChange
(index: number, value: string)
web/default/src/components/risk-acknowledgement-dialog.tsx:174
↓ 2 callersFunctionhandleUpdateChannelField
( id: number, fieldName: string, value: number, queryClient?: QueryClient, onSuccess?: () => void )
web/default/src/features/channels/lib/channel-actions.ts:205
↓ 2 callersFunctionhandleUpdateTagField
( tag: string, fieldName: 'priority' | 'weight', value: number, queryClient?: QueryClient, onSuccess
web/default/src/features/channels/lib/channel-actions.ts:237
↓ 2 callersFunctionhandleWeChatDialogChange
(open: boolean)
web/default/src/features/auth/sign-up/components/sign-up-form.tsx:195
↓ 2 callersFunctionhandleWeChatDialogChange
(open: boolean)
web/default/src/features/auth/sign-in/components/user-auth-form.tsx:187
↓ 2 callersFunctionhasConfiguredOverrideValue
(value: unknown)
web/default/src/features/channels/components/drawers/channel-mutate-drawer.tsx:307
↓ 2 callersFunctionhasPricingValue
(value?: string)
web/default/src/features/system-settings/models/model-pricing-snapshots.ts:61
↓ 2 callersFunctionhasRatioValue
(value)
web/classic/src/helpers/utils.jsx:665
↓ 2 callersFunctionhasSidebarSettingsPermission
()
web/classic/src/hooks/common/useUserPermissions.js:58
↓ 2 callersFunctionincreaseTokenQuota
(id int, quota int)
model/token.go:401
↓ 2 callersFunctioninsertSubscriptionOrderForPaymentGuardTest
(t *testing.T, tradeNo string, userID int, planID int, paymentProvider string)
model/payment_method_guard_test.go:39
↓ 2 callersFunctioninsertSubscriptionPlanForPaymentGuardTest
(t *testing.T, id int)
model/payment_method_guard_test.go:23
↓ 2 callersFunctioninsertTopUpForPaymentGuardTest
(t *testing.T, tradeNo string, userID int, paymentProvider string)
model/payment_method_guard_test.go:54
↓ 2 callersFunctioninvalidateUserCache
invalidateUserCache clears user cache
model/user_cache.go:53
↓ 2 callersFunctioninviteUser
(inviterId int)
model/user.go:434
↓ 2 callersMethodipAccessError
(host string, ip net.IP)
common/ssrf_protection.go:269
↓ 2 callersFunctionis25FlashLiteModel
(modelName string)
service/relayconvert/internal/shared/gemini/request.go:211
↓ 2 callersFunctionisAdvancedCustomIncomingPathAllowed
( incomingPath: string, converter: AdvancedCustomConverter )
web/default/src/features/channels/lib/advanced-custom.ts:439
↓ 2 callersFunctionisCatchAllRoute
(route: AdvancedCustomRoute)
web/default/src/features/channels/components/dialogs/advanced-custom-editor-dialog.tsx:140
↓ 2 callersFunctionisClickHouseDSN
(dsn string)
model/main.go:107
↓ 2 callersFunctionisCreemTopUpEnabled
()
controller/payment_webhook_availability.go:31
↓ 2 callersFunctionisCreemWebhookEnabled
()
controller/payment_webhook_availability.go:45
↓ 2 callersFunctionisDisabledApiKeyRow
(apiKey: ApiKey)
web/default/src/features/keys/components/api-keys-table.tsx:69
↓ 2 callersFunctionisDisplayableLogType
(type: number)
web/default/src/features/usage-logs/lib/utils.ts:50
↓ 2 callersFunctionisEpayTopUpEnabled
()
controller/payment_webhook_availability.go:95
↓ 2 callersFunctionisEpayWebhookEnabled
()
controller/payment_webhook_availability.go:108
↓ 2 callersFunctionisExpired
(record)
web/classic/src/components/table/redemptions/RedemptionsColumnDefs.jsx:33
↓ 2 callersFunctionisHeaderPassthroughRuleKey
(key string)
relay/channel/api_request.go:123
↓ 2 callersFunctionisHtmlBlockNode
(node: ParsedNode)
web/default/src/components/ai-elements/response-node-guards.ts:96
↓ 2 callersFunctionisHttpUrl
(value)
web/classic/src/helpers/render.jsx:531
↓ 2 callersFunctionisJSONRequest
(c *gin.Context)
relay/channel/openai/adaptor.go:570
↓ 2 callersFunctionisKnownPermission
(permission Permission)
service/authz/registry.go:96
↓ 2 callersFunctionisKnownResource
(resource string)
service/authz/registry.go:78
↓ 2 callersFunctionisLogTypeValue
(value: string)
web/default/src/features/usage-logs/components/common-logs-filter-bar.tsx:67
↓ 2 callersFunctionisMultiKeyChannel
(channel: Channel)
web/default/src/features/channels/lib/channel-utils.ts:158
↓ 2 callersFunctionisNew25ProModel
(modelName string)
service/relayconvert/internal/shared/gemini/request.go:205
↓ 2 callersFunctionisNovaModel
判断是否为Nova模型
relay/channel/aws/constants.go:159
↓ 2 callersFunctionisObjectRecord
( data: unknown )
web/default/src/features/system-settings/utils/json-validators.ts:19
↓ 2 callersFunctionisOfficialChannel
(record)
web/classic/src/components/settings/ChannelSelectorModal.jsx:75
↓ 2 callersFunctionisOldWanModel
(modelName string)
relay/channel/ali/image_wan.go:42
↓ 2 callersFunctionisOperationBlank
(operation: ParamOverrideOperation)
web/default/src/features/channels/components/dialogs/param-override-editor-dialog.tsx:541
↓ 2 callersFunctionisOperationBlank
(operation)
web/classic/src/components/table/channels/modals/ParamOverrideEditorModal.jsx:934
↓ 2 callersFunctionisOtherTooltipKey
(key: string)
web/default/src/features/dashboard/lib/charts.ts:85
↓ 2 callersFunctionisPerCallBilling
(modelPrice?: number)
web/default/src/features/usage-logs/lib/utils.ts:71
↓ 2 callersFunctionisPrivateIP
isPrivateIP 检查IP是否为私有/保留/特殊用途地址
common/ssrf_protection.go:97
↓ 2 callersFunctionisRecord
(value: unknown)
web/default/src/features/channels/lib/ollama-utils.ts:38
← previousnext →1,901–2,000 of 10,602, ranked by callers