MCPcopy Create free account

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

Functions9,195 in github.com/QuantumNous/new-api

↓ 2 callersFunctiongetDateDaysAgo
(days: number)
web/src/features/system-settings/maintenance/log-settings-section.tsx:121
↓ 2 callersFunctiongetDateHoursAgo
(hours: number)
web/src/features/system-settings/maintenance/log-settings-section.tsx:115
↓ 2 callersFunctiongetDefaultIconName
(type: string)
web/src/features/system-settings/integrations/payment-methods-visual-editor.tsx:53
↓ 2 callersFunctiongetDisplayMeta
(config: CurrencyConfig)
web/src/lib/currency.ts:187
↓ 2 callersFunctiongetDisplayName
(user?: UserProfile)
web/src/features/profile/lib/format.ts:41
↓ 2 callersFunctiongetDynamicDisplayGroupRatio
( model: PricingModel, selectedGroup?: string )
web/src/features/pricing/lib/dynamic-price.ts:69
↓ 2 callersFunctiongetDynamicPricingTiers
(model: PricingModel)
web/src/features/pricing/lib/dynamic-price.ts:110
↓ 2 callersFunctiongetFetchModelsResponseBody
(method string, requestURL string, channel *model.Channel, headers http.Header)
controller/channel_upstream_update.go:307
↓ 2 callersFunctiongetFirstResponseTimeColor
( seconds: number )
web/src/features/usage-logs/lib/format.ts:184
↓ 2 callersFunctiongetFlowStages
(role: FlowRole)
web/src/features/dashboard/lib/flow.ts:256
↓ 2 callersFunctiongetHardcodedCompletionModelRatio
(name string)
setting/ratio_setting/model_ratio.go:492
↓ 2 callersFunctiongetHeaderNavAccess
(module string)
middleware/header_nav.go:17
↓ 2 callersFunctiongetImageBase64sFromForm
(c *gin.Context, fieldName string)
relay/channel/ali/image.go:93
↓ 2 callersFunctiongetImageConfig
(reader io.Reader)
service/image.go:161
↓ 2 callersFunctiongetIoAPIKey
(c *gin.Context)
controller/deployment.go:16
↓ 2 callersFunctiongetIoClient
(c *gin.Context)
controller/deployment.go:42
↓ 2 callersFunctiongetJsonValidationState
(value: string)
web/src/components/json-code-editor/json-code-editor-utils.ts:56
↓ 2 callersFunctiongetLogFiles
getLogFiles 读取日志目录中的日志文件列表
controller/performance.go:197
↓ 2 callersFunctiongetMatchLabel
(mode: string)
web/src/features/system-settings/models/tiered-pricing-editor.tsx:932
↓ 2 callersFunctiongetMinTopup
()
controller/topup.go:179
↓ 2 callersFunctiongetModuleAccessFromStatus
( status: Record<string, unknown> | null, module: HeaderNavModule )
web/src/lib/nav-modules.ts:165
↓ 2 callersFunctiongetNodeName
(instance: SystemInstance)
web/src/features/system-info/components/system-instances-panel.tsx:110
↓ 2 callersFunctiongetOperationSummary
( operation: ParamOverrideOperation, index: number )
web/src/features/channels/components/dialogs/param-override-editor-dialog.tsx:562
↓ 2 callersFunctiongetOptionLabel
( options: ReadonlyArray<{ value: string; label: string }>, value: string )
web/src/features/channels/components/dialogs/advanced-custom-editor-dialog.tsx:131
↓ 2 callersFunctiongetOrBuildAC
(dict []string)
service/str.go:98
↓ 2 callersFunctiongetParamOverrideAuditRecorder
(context map[string]interface{})
relay/common/override.go:235
↓ 2 callersFunctiongetPasskeyStatus
()
web/src/features/auth/passkey/api.ts:31
↓ 2 callersFunctiongetPayMoney
(amount int64, group string)
controller/topup.go:149
↓ 2 callersFunctiongetPayloadConfigFromPayload
( config: ChartConfig, payload: unknown, key: string )
web/src/components/ui/chart.tsx:346
↓ 2 callersFunctiongetPaymentIcon
( paymentType: string | undefined, className: string = 'h-4 w-4', icon?: string, altName?: string )
web/src/features/wallet/lib/ui.tsx:65
↓ 2 callersFunctiongetPerfMetrics
( modelName: string, hours = 24 )
web/src/features/performance-metrics/api.ts:32
↓ 2 callersFunctiongetPinnedColumnMap
(pinnedColumns?: DataTablePinnedColumn[])
web/src/components/data-table/core/column-pinning.ts:49
↓ 2 callersFunctiongetQuotaTypeConfig
( t: TFunction )
web/src/features/models/constants.ts:146
↓ 2 callersFunctiongetRequestRuleMatchOptions
(source: string)
web/src/features/pricing/lib/billing-expr.ts:610
↓ 2 callersFunctiongetRequestedCodeLanguage
(language?: string)
web/src/components/ai-elements/code-block.tsx:207
↓ 2 callersFunctiongetResolvedColumnClassNameFromMap
( getColumnClassName?: DataTableColumnClassName, pinnedColumnById?: Map<string, DataTablePinnedColumn> )
web/src/components/data-table/core/column-pinning.ts:33
↓ 2 callersFunctiongetResponseTimeColor
( seconds: number, completionTokens: number )
web/src/features/usage-logs/lib/format.ts:206
↓ 2 callersFunctiongetRoleLabel
(role?: number)
web/src/lib/roles.ts:43
↓ 2 callersFunctiongetRunwayDays
( remainQuota: number, recentUsage: number )
web/src/features/dashboard/components/overview/summary-cards.tsx:102
↓ 2 callersFunctiongetSMTPAuth
()
common/email.go:29
↓ 2 callersFunctiongetSavedLanguage
(user: AuthUser)
web/src/features/auth/lib/auth-redirect.ts:23
↓ 2 callersFunctiongetSectionMeta
(sectionId: SectionId)
web/src/features/system-settings/utils/section-registry.ts:87
↓ 2 callersFunctiongetSetupStatus
()
web/src/features/setup/api.ts:23
↓ 2 callersFunctiongetSmtpSecurityMode
(values: { SMTPSSLEnabled: boolean SMTPStartTLSEnabled: boolean })
web/src/features/system-settings/integrations/email-settings-section.tsx:77
↓ 2 callersFunctiongetString
(value: unknown)
web/src/features/channels/lib/ollama-utils.ts:42
↓ 2 callersFunctiongetStripeMinTopup
()
controller/topup_stripe.go:418
↓ 2 callersFunctiongetSubscriptionPlanCache
()
model/subscription.go:86
↓ 2 callersFunctiongetSubscriptionPlanInfoCache
()
model/subscription.go:107
↓ 2 callersFunctiongetSubscriptionUsed
(t *testing.T, id int)
service/task_billing_test.go:266
↓ 2 callersFunctiongetSystemTheme
()
web/src/context/theme-provider.tsx:62
↓ 2 callersFunctiongetTableSizing
(props: DataTableViewProps<TData>)
web/src/components/data-table/core/data-table-view.tsx:230
↓ 2 callersFunctiongetTagModels
( tag: string )
web/src/features/channels/api.ts:515
↓ 2 callersFunctiongetTextUnits
(value: string)
web/src/components/ui/markdown.tsx:197
↓ 2 callersFunctiongetTierCacheMode
( tier: Partial<VisualTier> | null | undefined )
web/src/features/pricing/lib/tier-expr.ts:51
↓ 2 callersFunctiongetTieredBillingSummary
( other: LogOtherData | null )
web/src/features/usage-logs/lib/format.ts:314
↓ 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 callersFunctiongetUptimeStatus
()
web/src/features/dashboard/api.ts:88
↓ 2 callersFunctiongetUsageBillingPathLabel
( t: TFunction, adminInfo: LogOtherData['admin_info'] )
web/src/features/usage-logs/components/dialogs/details-dialog.tsx:172
↓ 2 callersFunctiongetUsageStatusBadge
( rateLimit: CodexRateLimit | undefined, t: (key: string) => string )
web/src/features/channels/components/dialogs/codex-usage-dialog.tsx:400
↓ 2 callersFunctiongetUserActionMessage
(action: ManageUserAction)
web/src/features/users/lib/user-actions.ts:37
↓ 2 callersFunctiongetUserModels
(group: string)
web/src/features/playground/api.ts:46
↓ 2 callersFunctiongetUserQuotaDates
( params: { start_timestamp: number end_timestamp: number default_time?: string username?: s
web/src/features/dashboard/api.ts:37
↓ 2 callersFunctiongetVendors
(params?: { p?: number page_size?: number })
web/src/features/models/api.ts:121
↓ 2 callersFunctiongetVertexArrayKeys
(keys string)
controller/channel.go:576
↓ 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:23
↓ 2 callersFunctiongetXunfeiAuthUrl
(c *gin.Context, apiKey string, apiSecret string, modelName string)
relay/channel/xunfei/relay-xunfei.go:266
↓ 2 callersFunctionhandleAdd
()
web/src/features/system-settings/integrations/amount-options-visual-editor.tsx:57
↓ 2 callersFunctionhandleAddCondition
(index: number)
web/src/features/system-settings/models/tiered-pricing-editor.tsx:818
↓ 2 callersFunctionhandleApply
()
web/src/features/dashboard/components/models/models-filter-dialog.tsx:126
↓ 2 callersFunctionhandleBranchChange
(newBranch: number)
web/src/components/ai-elements/branch.tsx:73
↓ 2 callersFunctionhandleChange
(value: boolean)
web/src/features/auth/components/legal-consent.tsx:48
↓ 2 callersFunctionhandleClearSelection
()
web/src/features/channels/components/data-table-bulk-actions.tsx:81
↓ 2 callersFunctionhandleConditionChange
( conditionIndex: number, next: TierConditionInput )
web/src/features/system-settings/models/tiered-pricing-editor.tsx:561
↓ 2 callersFunctionhandleDropdownMenuItemSelect
( event: DropdownMenuItemSelectEvent, onClick?: React.MouseEventHandler<HTMLElement>, onSelect?: Dropdow
web/src/components/ui/dropdown-menu-events.ts:29
↓ 2 callersFunctionhandleEdit
(faq: FAQ)
web/src/features/system-settings/content/faq-section.tsx:146
↓ 2 callersFunctionhandleOAuthError
handleOAuthError handles OAuth errors and returns translated message
controller/oauth.go:456
↓ 2 callersFunctionhandleOpenChange
(open: boolean)
web/src/features/profile/components/dialogs/two-fa-backup-dialog.tsx:80
↓ 2 callersFunctionhandlePageChange
(newPage: number)
web/src/features/channels/components/dialogs/multi-key-manage-dialog.tsx:158
↓ 2 callersFunctionhandlePriceChange
(field: keyof VisualTier, value: number)
web/src/features/system-settings/models/tiered-pricing-editor.tsx:577
↓ 2 callersFunctionhandleRemove
(amount: number)
web/src/features/system-settings/integrations/amount-options-visual-editor.tsx:76
↓ 2 callersFunctionhandleSelect
(selectedValue: string)
web/src/components/ui/combobox-input.tsx:102
↓ 2 callersFunctionhandleTestChannel
( id: number, options?: { channelName?: string testModel?: string endpointType?: string st
web/src/features/channels/lib/channel-actions.ts:271
↓ 2 callersFunctionhandleUpdateTagField
( tag: string, fieldName: 'priority' | 'weight', value: number, queryClient?: QueryClient, onSuccess
web/src/features/channels/lib/channel-actions.ts:237
↓ 2 callersFunctionhandleWeChatDialogChange
(open: boolean)
web/src/features/auth/sign-up/components/sign-up-form.tsx:201
↓ 2 callersFunctionhandleWeChatDialogChange
(open: boolean)
web/src/features/auth/sign-in/components/user-auth-form.tsx:202
↓ 2 callersMethodhasBillableUsage
hasBillableUsage reports whether this request should incur any charge. A request can carry zero tokens yet still be billable via a tool-call surcharge
service/text_quota.go:75
↓ 2 callersFunctionhasConfiguredOverrideValue
(value: unknown)
web/src/features/channels/components/drawers/channel-mutate-drawer.tsx:308
↓ 2 callersFunctionhasPricingValue
(value?: string)
web/src/features/system-settings/models/model-pricing-snapshots.ts:61
↓ 2 callersFunctionhasToolSurcharge
(other: LogOtherData | null)
web/src/features/usage-logs/lib/format.ts:116
↓ 2 callersFunctionhasValidTokenFields
(value: Record<string, unknown>)
web/src/lib/auth-session.ts:117
↓ 2 callersFunctionincreaseTokenQuota
(id int, quota int)
model/token.go:401
↓ 2 callersFunctioninitUserSessionSettings
()
common/init.go:139
↓ 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 callersFunctioninsertUsersForPaginationTest
(t *testing.T, total int)
model/user_pagination_test.go:12
← previousnext →1,801–1,900 of 9,195, ranked by callers