Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/QuantumNous/new-api
/ functions
Functions
10,602 in github.com/QuantumNous/new-api
⨍
Functions
10,602
◇
Types & classes
1,425
↓ 2 callers
Function
getTaskLogsColumns
({ t, COLUMN_KEYS, copyText, openContentModal, isAdminUser, openVideoModal, openAudioModal, })
web/classic/src/components/table/task-logs/TaskLogsColumnDefs.jsx:236
↓ 2 callers
Function
getTextUnits
(value: string)
web/default/src/components/ui/markdown.tsx:197
↓ 2 callers
Function
getTierCacheMode
( tier: Partial<VisualTier> | null | undefined )
web/default/src/features/pricing/lib/tier-expr.ts:51
↓ 2 callers
Function
getTierCacheMode
(tier)
web/classic/src/pages/Setting/Ratio/components/TieredPricingEditor.jsx:105
↓ 2 callers
Function
getTieredBillingSummary
( other: LogOtherData | null )
web/default/src/features/usage-logs/lib/format.ts:253
↓ 2 callers
Function
getTimeInterval
(timeType, isSeconds = false)
web/classic/src/helpers/dashboard.jsx:45
↓ 2 callers
Function
getTodayStartTimestamp
()
web/classic/src/helpers/utils.jsx:186
↓ 2 callers
Function
getTokenKeyColumnType
(t *testing.T, db *gorm.DB, dialect string)
controller/token_test.go:236
↓ 2 callers
Function
getUpstreamURLs
(locale string)
controller/model_sync.go:43
↓ 2 callers
Function
getUpstreamValue
(model, ratioType, sourceName)
web/classic/src/pages/Setting/Ratio/UpstreamRatioSync.jsx:343
↓ 2 callers
Function
getUptimeStatus
()
web/default/src/features/dashboard/api.ts:88
↓ 2 callers
Function
getUptimeStatusColor
(status, uptimeStatusMap)
web/classic/src/helpers/dashboard.jsx:164
↓ 2 callers
Function
getUptimeStatusText
(status, uptimeStatusMap, t)
web/classic/src/helpers/dashboard.jsx:167
↓ 2 callers
Function
getUsageBillingPathLabel
( t: TFunction, adminInfo: LogOtherData['admin_info'] )
web/default/src/features/usage-logs/components/dialogs/details-dialog.tsx:154
↓ 2 callers
Function
getUsageStatusBadge
( rateLimit: CodexRateLimit | undefined, t: (key: string) => string )
web/default/src/features/channels/components/dialogs/codex-usage-dialog.tsx:382
↓ 2 callers
Function
getUserActionMessage
(action: ManageUserAction)
web/default/src/features/users/lib/user-actions.ts:37
↓ 2 callers
Function
getUserId
* Get user ID from localStorage
web/default/src/lib/api.ts:131
↓ 2 callers
Function
getUserModels
(group: string)
web/default/src/features/playground/api.ts:46
↓ 2 callers
Function
getUserQuota
()
web/classic/src/components/topup/index.jsx:530
↓ 2 callers
Function
getUserQuotaDates
( params: { start_timestamp: number end_timestamp: number default_time?: string username?: s
web/default/src/features/dashboard/api.ts:37
↓ 2 callers
Function
getUsername
()
web/classic/src/components/settings/personal/components/UserInfoHeader.jsx:38
↓ 2 callers
Function
getVendorDisplayName
(vendorName, t)
web/classic/src/components/table/model-pricing/layout/header/PricingVendorIntro.jsx:81
↓ 2 callers
Function
getVendors
(params?: { p?: number page_size?: number })
web/default/src/features/models/api.ts:121
↓ 2 callers
Function
getVertexArrayKeys
(keys string)
controller/channel.go:565
↓ 2 callers
Function
getWaffoPancakeBuyerEmail
(user *model.User)
controller/topup_waffo_pancake.go:95
↓ 2 callers
Function
getWaffoPayMoney
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 callers
Function
getWaffoSDK
()
controller/topup_waffo.go:26
↓ 2 callers
Function
getWeChatIdByCode
(code string)
controller/wechat.go:25
↓ 2 callers
Function
getXunfeiAuthUrl
(c *gin.Context, apiKey string, apiSecret string, modelName string)
relay/channel/xunfei/relay-xunfei.go:266
↓ 2 callers
Function
handleAdd
()
web/default/src/features/system-settings/integrations/amount-options-visual-editor.tsx:57
↓ 2 callers
Function
handleAddCondition
(index: number)
web/default/src/features/system-settings/models/tiered-pricing-editor.tsx:818
↓ 2 callers
Function
handleApply
()
web/default/src/features/dashboard/components/models/models-filter-dialog.tsx:126
↓ 2 callers
Function
handleBranchChange
(newBranch: number)
web/default/src/components/ai-elements/branch.tsx:73
↓ 2 callers
Function
handleCategorySelectAll
(categoryModels, isChecked)
web/classic/src/components/table/channels/modals/ModelSelectModal.jsx:238
↓ 2 callers
Function
handleChange
(value: boolean)
web/default/src/features/auth/components/legal-consent.tsx:48
↓ 2 callers
Function
handleChange
(name, value)
web/classic/src/components/auth/RegisterForm.jsx:214
↓ 2 callers
Function
handleChange
(name, value)
web/classic/src/components/auth/LoginForm.jsx:214
↓ 2 callers
Function
handleChecklistChange
(index: number, checked: boolean)
web/default/src/components/risk-acknowledgement-dialog.tsx:166
↓ 2 callers
Function
handleClearSelection
()
web/default/src/features/channels/components/data-table-bulk-actions.tsx:81
↓ 2 callers
Function
handleConditionChange
( conditionIndex: number, next: TierConditionInput )
web/default/src/features/system-settings/models/tiered-pricing-editor.tsx:561
↓ 2 callers
Function
handleDropdownMenuItemSelect
( event: DropdownMenuItemSelectEvent, onClick?: React.MouseEventHandler<HTMLElement>, onSelect?: Dropdow
web/default/src/components/ui/dropdown-menu-events.ts:11
↓ 2 callers
Function
handleEdit
(faq: FAQ)
web/default/src/features/system-settings/content/faq-section.tsx:146
↓ 2 callers
Function
handleEyeClick
()
web/classic/src/hooks/usage-logs/useUsageLogsData.jsx:313
↓ 2 callers
Function
handleJsonChange
(newJson: string)
web/default/src/features/channels/components/model-mapping-editor.tsx:190
↓ 2 callers
Function
handleJsonChange
(nextValue: string)
web/default/src/features/channels/components/dialogs/advanced-custom-editor-dialog.tsx:432
↓ 2 callers
Function
handleOAuthError
handleOAuthError handles OAuth errors and returns translated message
controller/oauth.go:366
↓ 2 callers
Function
handleOpenChange
(open: boolean)
web/default/src/features/profile/components/dialogs/two-fa-backup-dialog.tsx:80
↓ 2 callers
Function
handlePageChange
(newPage: number)
web/default/src/features/channels/components/dialogs/multi-key-manage-dialog.tsx:158
↓ 2 callers
Function
handlePageSizeChange
(size)
web/classic/src/components/table/channels/modals/MultiKeyManageModal.jsx:283
↓ 2 callers
Function
handlePriceChange
(field: keyof VisualTier, value: number)
web/default/src/features/system-settings/models/tiered-pricing-editor.tsx:577
↓ 2 callers
Function
handleRemove
(amount: number)
web/default/src/features/system-settings/integrations/amount-options-visual-editor.tsx:76
↓ 2 callers
Function
handleSelect
(selectedValue: string)
web/default/src/components/ui/combobox-input.tsx:102
↓ 2 callers
Function
handleSelectAll
(checked)
web/classic/src/components/table/model-deployments/modals/ColumnSelectorModal.jsx:52
↓ 2 callers
Function
handleTestChannel
( id: number, options?: { channelName?: string testModel?: string endpointType?: string st
web/default/src/features/channels/lib/channel-actions.ts:271
↓ 2 callers
Function
handleTextPartChange
(index: number, value: string)
web/default/src/components/risk-acknowledgement-dialog.tsx:174
↓ 2 callers
Function
handleUpdateChannelField
( id: number, fieldName: string, value: number, queryClient?: QueryClient, onSuccess?: () => void )
web/default/src/features/channels/lib/channel-actions.ts:205
↓ 2 callers
Function
handleUpdateTagField
( tag: string, fieldName: 'priority' | 'weight', value: number, queryClient?: QueryClient, onSuccess
web/default/src/features/channels/lib/channel-actions.ts:237
↓ 2 callers
Function
handleWeChatDialogChange
(open: boolean)
web/default/src/features/auth/sign-up/components/sign-up-form.tsx:195
↓ 2 callers
Function
handleWeChatDialogChange
(open: boolean)
web/default/src/features/auth/sign-in/components/user-auth-form.tsx:187
↓ 2 callers
Function
hasConfiguredOverrideValue
(value: unknown)
web/default/src/features/channels/components/drawers/channel-mutate-drawer.tsx:307
↓ 2 callers
Function
hasPricingValue
(value?: string)
web/default/src/features/system-settings/models/model-pricing-snapshots.ts:61
↓ 2 callers
Function
hasRatioValue
(value)
web/classic/src/helpers/utils.jsx:665
↓ 2 callers
Function
hasSidebarSettingsPermission
()
web/classic/src/hooks/common/useUserPermissions.js:58
↓ 2 callers
Function
increaseTokenQuota
(id int, quota int)
model/token.go:401
↓ 2 callers
Function
insertSubscriptionOrderForPaymentGuardTest
(t *testing.T, tradeNo string, userID int, planID int, paymentProvider string)
model/payment_method_guard_test.go:39
↓ 2 callers
Function
insertSubscriptionPlanForPaymentGuardTest
(t *testing.T, id int)
model/payment_method_guard_test.go:23
↓ 2 callers
Function
insertTopUpForPaymentGuardTest
(t *testing.T, tradeNo string, userID int, paymentProvider string)
model/payment_method_guard_test.go:54
↓ 2 callers
Function
invalidateUserCache
invalidateUserCache clears user cache
model/user_cache.go:53
↓ 2 callers
Function
inviteUser
(inviterId int)
model/user.go:434
↓ 2 callers
Method
ipAccessError
(host string, ip net.IP)
common/ssrf_protection.go:269
↓ 2 callers
Function
is25FlashLiteModel
(modelName string)
service/relayconvert/internal/shared/gemini/request.go:211
↓ 2 callers
Function
isAdvancedCustomIncomingPathAllowed
( incomingPath: string, converter: AdvancedCustomConverter )
web/default/src/features/channels/lib/advanced-custom.ts:439
↓ 2 callers
Function
isCatchAllRoute
(route: AdvancedCustomRoute)
web/default/src/features/channels/components/dialogs/advanced-custom-editor-dialog.tsx:140
↓ 2 callers
Function
isClickHouseDSN
(dsn string)
model/main.go:107
↓ 2 callers
Function
isCreemTopUpEnabled
()
controller/payment_webhook_availability.go:31
↓ 2 callers
Function
isCreemWebhookEnabled
()
controller/payment_webhook_availability.go:45
↓ 2 callers
Function
isDisabledApiKeyRow
(apiKey: ApiKey)
web/default/src/features/keys/components/api-keys-table.tsx:69
↓ 2 callers
Function
isDisplayableLogType
(type: number)
web/default/src/features/usage-logs/lib/utils.ts:50
↓ 2 callers
Function
isEpayTopUpEnabled
()
controller/payment_webhook_availability.go:95
↓ 2 callers
Function
isEpayWebhookEnabled
()
controller/payment_webhook_availability.go:108
↓ 2 callers
Function
isExpired
(record)
web/classic/src/components/table/redemptions/RedemptionsColumnDefs.jsx:33
↓ 2 callers
Function
isHeaderPassthroughRuleKey
(key string)
relay/channel/api_request.go:123
↓ 2 callers
Function
isHtmlBlockNode
(node: ParsedNode)
web/default/src/components/ai-elements/response-node-guards.ts:96
↓ 2 callers
Function
isHttpUrl
(value)
web/classic/src/helpers/render.jsx:531
↓ 2 callers
Function
isJSONRequest
(c *gin.Context)
relay/channel/openai/adaptor.go:570
↓ 2 callers
Function
isKnownPermission
(permission Permission)
service/authz/registry.go:96
↓ 2 callers
Function
isKnownResource
(resource string)
service/authz/registry.go:78
↓ 2 callers
Function
isLogTypeValue
(value: string)
web/default/src/features/usage-logs/components/common-logs-filter-bar.tsx:67
↓ 2 callers
Function
isMultiKeyChannel
(channel: Channel)
web/default/src/features/channels/lib/channel-utils.ts:158
↓ 2 callers
Function
isNew25ProModel
(modelName string)
service/relayconvert/internal/shared/gemini/request.go:205
↓ 2 callers
Function
isNovaModel
判断是否为Nova模型
relay/channel/aws/constants.go:159
↓ 2 callers
Function
isObjectRecord
( data: unknown )
web/default/src/features/system-settings/utils/json-validators.ts:19
↓ 2 callers
Function
isOfficialChannel
(record)
web/classic/src/components/settings/ChannelSelectorModal.jsx:75
↓ 2 callers
Function
isOldWanModel
(modelName string)
relay/channel/ali/image_wan.go:42
↓ 2 callers
Function
isOperationBlank
(operation: ParamOverrideOperation)
web/default/src/features/channels/components/dialogs/param-override-editor-dialog.tsx:541
↓ 2 callers
Function
isOperationBlank
(operation)
web/classic/src/components/table/channels/modals/ParamOverrideEditorModal.jsx:934
↓ 2 callers
Function
isOtherTooltipKey
(key: string)
web/default/src/features/dashboard/lib/charts.ts:85
↓ 2 callers
Function
isPerCallBilling
(modelPrice?: number)
web/default/src/features/usage-logs/lib/utils.ts:71
↓ 2 callers
Function
isPrivateIP
isPrivateIP 检查IP是否为私有/保留/特殊用途地址
common/ssrf_protection.go:97
↓ 2 callers
Function
isRecord
(value: unknown)
web/default/src/features/channels/lib/ollama-utils.ts:38
← previous
next →
1,901–2,000 of 10,602, ranked by callers