MCPcopy Create free account

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

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

↓ 2 callersFunctiongeminiRawJSONPresent
(raw []byte)
service/relayconvert/internal/oai_responses/to_gemini_chat_req_preprocess.go:96
↓ 2 callersFunctiongeminiResponseToolCall
(item *dto.GeminiPart)
service/relayconvert/internal/gemini_chat/to_oai_chat_resp.go:285
↓ 2 callersFunctiongenCreemLink
(ctx context.Context, referenceId string, product *CreemProduct, email string, username string)
controller/topup_creem.go:375
↓ 2 callersFunctiongenerateDefaultConfig
()
web/classic/src/pages/Setting/Personal/SettingsSidebarModulesUser.jsx:68
↓ 2 callersFunctiongenerateDefaultSidebarConfigForRole
根据用户角色生成默认的边栏配置
model/user.go:118
↓ 2 callersFunctiongenerateExprFromVisualConfig
( config: VisualConfig | null | undefined )
web/default/src/features/pricing/lib/tier-expr.ts:128
↓ 2 callersFunctiongenerateExprFromVisualConfig
(config)
web/classic/src/pages/Setting/Ratio/components/TieredPricingEditor.jsx:162
↓ 2 callersFunctionget2FAStatus
()
web/default/src/lib/api.ts:234
↓ 2 callersFunctiongetAdminPlans
()
web/default/src/features/subscriptions/api.ts:39
↓ 2 callersFunctiongetAdvancedCustomConverterDefaults
( converter: AdvancedCustomConverter, incomingPath: string )
web/default/src/features/channels/lib/advanced-custom.ts:366
↓ 2 callersFunctiongetAdvancedCustomIncomingPathLabel
(value: string)
web/default/src/features/channels/lib/advanced-custom.ts:457
↓ 2 callersFunctiongetAdvancedCustomModelRuleKind
( modelRule: string )
web/default/src/features/channels/lib/advanced-custom.ts:509
↓ 2 callersFunctiongetAdvancedCustomRegexModelPattern
(modelRule: string)
web/default/src/features/channels/lib/advanced-custom.ts:517
↓ 2 callersFunctiongetAdvancedCustomTemplateConfig
( templateKey: string )
web/default/src/features/channels/lib/advanced-custom.ts:334
↓ 2 callersFunctiongetAlignedRatioTypes
( ratioTypes: Partial<Record<RatioType, RatioDifferenceEntry>>, sourceNames: string[], filter?: string )
web/default/src/features/system-settings/models/upstream-ratio-sync-helpers.ts:133
↓ 2 callersFunctiongetAnnouncementColorClass
(type?: string)
web/default/src/lib/colors.ts:139
↓ 2 callersFunctiongetAnnouncementKey
* Generate a unique key for an announcement * Prefer backend id, fall back to a content hash so edits register
web/default/src/hooks/use-notifications.ts:43
↓ 2 callersFunctiongetAnnouncementKey
(a)
web/classic/src/hooks/common/useNotifications.js:29
↓ 2 callersFunctiongetAwsModelID
(requestModel string)
relay/channel/aws/relay-aws.go:217
↓ 2 callersFunctiongetBillingCategory
( ratioType: string )
web/default/src/features/system-settings/models/upstream-ratio-sync-helpers.ts:151
↓ 2 callersFunctiongetBillingDisplayMeta
(config: CurrencyConfig)
web/default/src/lib/currency.ts:218
↓ 2 callersFunctiongetCachedStatus
()
web/default/src/lib/nav-modules.ts:145
↓ 2 callersFunctiongetCellLabel
(cell: Cell<TData, unknown>)
web/default/src/components/data-table/layout/card-cell-utils.ts:28
↓ 2 callersFunctiongetChannel
(c *gin.Context, info *relaycommon.RelayInfo, retryParam *service.RetryParam)
controller/relay.go:293
↓ 2 callersFunctiongetChannelAffinityContext
(c *gin.Context)
service/channel_affinity.go:358
↓ 2 callersFunctiongetChannelAffinityUsageCacheStatsCache
()
service/channel_affinity.go:966
↓ 2 callersFunctiongetChannelTypeLabel
(type: number)
web/default/src/features/channels/lib/channel-utils.ts:39
↓ 2 callersFunctiongetChannelsColumns
({ t, COLUMN_KEYS, updateChannelBalance, manageChannel, manageTag, submitTagEdit, testChannel,
web/classic/src/components/table/channels/ChannelsColumnDefs.jsx:307
↓ 2 callersFunctiongetClampedColumnSize
( header: Header<TData, unknown>, nextSize: number )
web/default/src/components/data-table/core/data-table-header.tsx:165
↓ 2 callersFunctiongetColSpan
()
web/classic/src/components/common/ui/SelectableButtonGroup.jsx:107
↓ 2 callersFunctiongetCommonHeaders
()
web/default/src/lib/api.ts:145
↓ 2 callersFunctiongetContentTypeByEncoding
(encoding string)
relay/channel/volcengine/tts.go:132
↓ 2 callersFunctiongetDateDaysAgo
(days: number)
web/default/src/features/system-settings/maintenance/log-settings-section.tsx:121
↓ 2 callersFunctiongetDateHoursAgo
(hours: number)
web/default/src/features/system-settings/maintenance/log-settings-section.tsx:115
↓ 2 callersFunctiongetDefaultColumnVisibility
()
web/classic/src/hooks/task-logs/useTaskLogsData.js:129
↓ 2 callersFunctiongetDefaultColumnVisibility
()
web/classic/src/hooks/usage-logs/useUsageLogsData.jsx:112
↓ 2 callersFunctiongetDefaultColumnVisibility
()
web/classic/src/hooks/channels/useChannelsData.jsx:172
↓ 2 callersFunctiongetDefaultColumnVisibility
()
web/classic/src/hooks/mj-logs/useMjLogsData.js:126
↓ 2 callersFunctiongetDefaultIconName
(type: string)
web/default/src/features/system-settings/integrations/payment-methods-visual-editor.tsx:53
↓ 2 callersFunctiongetDefaultTime
()
web/classic/src/helpers/dashboard.jsx:41
↓ 2 callersFunctiongetDisplayMeta
(config: CurrencyConfig)
web/default/src/lib/currency.ts:187
↓ 2 callersFunctiongetDisplayName
(user?: UserProfile)
web/default/src/features/profile/lib/format.ts:41
↓ 2 callersFunctiongetDynamicDisplayGroupRatio
( model: PricingModel, selectedGroup?: string )
web/default/src/features/pricing/lib/dynamic-price.ts:69
↓ 2 callersFunctiongetDynamicPricingTiers
(model: PricingModel)
web/default/src/features/pricing/lib/dynamic-price.ts:110
↓ 2 callersFunctiongetFirstResponseTimeColor
( seconds: number )
web/default/src/features/usage-logs/lib/format.ts:123
↓ 2 callersFunctiongetFlowStages
(role: FlowRole)
web/default/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 callersFunctiongetInitValues
()
web/classic/src/components/table/users/modals/AddUserModal.jsx:47
↓ 2 callersFunctiongetInitValues
()
web/classic/src/components/table/channels/modals/EditChannelModal.jsx:520
↓ 2 callersFunctiongetInitValues
()
web/classic/src/components/table/models/modals/EditVendorModal.jsx:36
↓ 2 callersFunctiongetIoAPIKey
(c *gin.Context)
controller/deployment.go:16
↓ 2 callersFunctiongetIoClient
(c *gin.Context)
controller/deployment.go:42
↓ 2 callersFunctiongetLatestFormValues
()
web/classic/src/components/settings/CustomOAuthSetting.jsx:214
↓ 2 callersFunctiongetLogFiles
getLogFiles 读取日志目录中的日志文件列表
controller/performance.go:197
↓ 2 callersFunctiongetLogsColumns
({ t, COLUMN_KEYS, copyText, showUserInfoFunc, openChannelAffinityUsageCacheModal, isAdminUser,
web/classic/src/components/table/usage-logs/UsageLogsColumnDefs.jsx:477
↓ 2 callersFunctiongetLucideIcon
(key, selected = false)
web/classic/src/helpers/render.jsx:110
↓ 2 callersFunctiongetMatchLabel
(mode: string)
web/default/src/features/system-settings/models/tiered-pricing-editor.tsx:932
↓ 2 callersFunctiongetMinTopup
()
controller/topup.go:179
↓ 2 callersFunctiongetMjLogsColumns
({ t, COLUMN_KEYS, copyText, openContentModal, openImageModal, isAdminUser, })
web/classic/src/components/table/mj-logs/MjLogsColumnDefs.jsx:318
↓ 2 callersFunctiongetModelKey
(model)
web/classic/src/components/table/model-pricing/view/card/PricingCardView.jsx:86
↓ 2 callersFunctiongetModuleAccessFromStatus
( status: Record<string, unknown> | null, module: HeaderNavModule )
web/default/src/lib/nav-modules.ts:165
↓ 2 callersFunctiongetNodeName
(instance: SystemInstance)
web/default/src/features/system-info/components/system-instances-panel.tsx:110
↓ 2 callersFunctiongetOperationSummary
( operation: ParamOverrideOperation, index: number )
web/default/src/features/channels/components/dialogs/param-override-editor-dialog.tsx:561
↓ 2 callersFunctiongetOptionLabel
( options: ReadonlyArray<{ value: string; label: string }>, value: string )
web/default/src/features/channels/components/dialogs/advanced-custom-editor-dialog.tsx:129
↓ 2 callersFunctiongetOrBuildAC
(dict []string)
service/str.go:98
↓ 2 callersFunctiongetParamOverrideAuditRecorder
(context map[string]interface{})
relay/common/override.go:235
↓ 2 callersFunctiongetPasskeyStatus
()
web/default/src/features/auth/passkey/api.ts:23
↓ 2 callersFunctiongetPayMoney
(amount int64, group string)
controller/topup.go:149
↓ 2 callersFunctiongetPayloadConfigFromPayload
( config: ChartConfig, payload: unknown, key: string )
web/default/src/components/ui/chart.tsx:346
↓ 2 callersFunctiongetPaymentIcon
( paymentType: string | undefined, className: string = 'h-4 w-4', icon?: string, altName?: string )
web/default/src/features/wallet/lib/ui.tsx:65
↓ 2 callersFunctiongetPerfMetrics
( modelName: string, hours = 24 )
web/default/src/features/performance-metrics/api.ts:32
↓ 2 callersFunctiongetPinnedColumnMap
(pinnedColumns?: DataTablePinnedColumn[])
web/default/src/components/data-table/core/column-pinning.ts:49
↓ 2 callersFunctiongetQuotaDisplayType
()
web/classic/src/helpers/render.jsx:1194
↓ 2 callersFunctiongetQuotaTypeConfig
( t: TFunction )
web/default/src/features/models/constants.ts:146
↓ 2 callersFunctiongetRequestRuleMatchOptions
(source: string)
web/default/src/features/pricing/lib/billing-expr.ts:610
↓ 2 callersFunctiongetRequestRuleMatchOptions
(source, t)
web/classic/src/pages/Setting/Ratio/components/requestRuleExpr.js:81
↓ 2 callersFunctiongetRequestedCodeLanguage
(language?: string)
web/default/src/components/ai-elements/code-block.tsx:207
↓ 2 callersFunctiongetResolvedColumnClassNameFromMap
( getColumnClassName?: DataTableColumnClassName, pinnedColumnById?: Map<string, DataTablePinnedColumn> )
web/default/src/components/data-table/core/column-pinning.ts:33
↓ 2 callersFunctiongetResponseTimeColor
( seconds: number, completionTokens: number )
web/default/src/features/usage-logs/lib/format.ts:145
↓ 2 callersFunctiongetRoleLabel
(role?: number)
web/default/src/lib/roles.ts:43
↓ 2 callersFunctiongetRunwayDays
( remainQuota: number, recentUsage: number )
web/default/src/features/dashboard/components/overview/summary-cards.tsx:102
↓ 2 callersFunctiongetSMTPAuth
()
common/email.go:29
↓ 2 callersFunctiongetSectionMeta
(sectionId: SectionId)
web/default/src/features/system-settings/utils/section-registry.ts:87
↓ 2 callersFunctiongetSelectedTemplatePreset
()
web/classic/src/components/table/channels/modals/ParamOverrideEditorModal.jsx:1456
↓ 2 callersFunctiongetServerAddress
()
web/classic/src/helpers/token.js:78
↓ 2 callersFunctiongetSetupStatus
()
web/default/src/features/setup/api.ts:23
↓ 2 callersFunctiongetSmtpSecurityMode
(values: { SMTPSSLEnabled: boolean SMTPStartTLSEnabled: boolean })
web/default/src/features/system-settings/integrations/email-settings-section.tsx:77
↓ 2 callersFunctiongetString
(value: unknown)
web/default/src/features/channels/lib/ollama-utils.ts:42
↓ 2 callersFunctiongetStripeAmount
(value)
web/classic/src/components/topup/index.jsx:833
↓ 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 callersFunctiongetSyncFieldLabel
(ratioType)
web/classic/src/pages/Setting/Ratio/UpstreamRatioSync.jsx:282
↓ 2 callersFunctiongetSystemTheme
()
web/default/src/context/theme-provider.tsx:62
↓ 2 callersFunctiongetTableSizing
(props: DataTableViewProps<TData>)
web/default/src/components/data-table/core/data-table-view.tsx:230
↓ 2 callersFunctiongetTagModels
( tag: string )
web/default/src/features/channels/api.ts:514
← previousnext →1,801–1,900 of 10,602, ranked by callers