MCPcopy Create free account

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

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

↓ 2 callersFunctioncreateLoadingAssistantMessage
()
web/classic/src/helpers/utils.jsx:447
↓ 2 callersFunctioncreateMessage
(role, content, options = {})
web/classic/src/helpers/utils.jsx:438
↓ 2 callersFunctioncreateMessageVersion
(content: string)
web/default/src/features/playground/lib/message/message-utils.ts:32
↓ 2 callersFunctioncreateProgressColumn
(config: { accessorKey?: string headerLabel: string })
web/default/src/features/usage-logs/components/columns/column-helpers.tsx:247
↓ 2 callersFunctioncreateRouteKeys
(count: number)
web/default/src/features/channels/components/dialogs/advanced-custom-editor-dialog.tsx:230
↓ 2 callersFunctioncreateRowId
()
web/default/src/features/channels/components/model-mapping-editor.tsx:74
↓ 2 callersFunctioncreateSignedJWT
(email, privateKeyPEM string)
relay/channel/vertex/service_account.go:66
↓ 2 callersFunctioncreateWindow
()
electron/main.js:388
↓ 2 callersFunctiondebounce
( fn: (value: string[]) => void, delay: number )
web/default/src/features/system-settings/hooks/use-accordion-state.ts:22
↓ 2 callersFunctiondecodeBillingExprB64
(exprB64: string | undefined)
web/default/src/features/usage-logs/lib/format.ts:179
↓ 2 callersFunctiondecodeFromBase64
(base64)
web/classic/src/helpers/render.jsx:2258
↓ 2 callersFunctiondecodeJWTClaims
(token string)
service/codex_oauth.go:156
↓ 2 callersFunctiondecodeListModelsPayload
(t *testing.T, recorder *httptest.ResponseRecorder)
controller/model_list_test.go:144
↓ 2 callersFunctiondecodeListModelsResponse
(t *testing.T, recorder *httptest.ResponseRecorder)
controller/model_list_test.go:155
↓ 2 callersFunctiondecodeSystemTaskJSONString
(data string, v any)
model/system_task.go:448
↓ 2 callersFunctiondeleteHeaderOverrideInContext
(context map[string]interface{}, headerName string)
relay/common/override.go:1264
↓ 2 callersFunctiondeleteResolutionField
(newRes, model, ratioType)
web/classic/src/pages/Setting/Ratio/UpstreamRatioSync.jsx:309
↓ 2 callersFunctiondeleteUserOAuthBindingsByUserId
(tx *gorm.DB, userId int)
model/user_oauth_binding.go:137
↓ 2 callersFunctiondetectQuickRangeDays
( filters: DashboardFilters | undefined )
web/default/src/features/dashboard/components/models/models-filter-dialog.tsx:75
↓ 2 callersFunctiondisplayPrice
(usdPrice)
web/classic/src/hooks/model-pricing/useModelPricingData.jsx:181
↓ 2 callersFunctiondoAwsClientRequest
(c *gin.Context, info *relaycommon.RelayInfo, a *Adaptor, requestBody io.Reader)
relay/channel/aws/relay-aws.go:91
↓ 2 callersFunctiondoCheckin
(token)
web/classic/src/components/settings/personal/cards/CheckinCalendar.jsx:129
↓ 2 callersFunctiondoRequest
(req *http.Request, info *relaycommon.RelayInfo)
relay/channel/coze/relay-coze.go:281
↓ 2 callersMethoddoneDeltaEvents
()
service/relayconvert/internal/oai_chat/to_oai_responses_stream_resp.go:244
↓ 2 callersFunctiondowngradeUserGroupForSubscriptionTx
(tx *gorm.DB, sub *UserSubscription, now int64)
model/subscription.go:440
↓ 2 callersFunctionencode
(writer io.Writer, event CustomEvent)
common/custom-event.go:60
↓ 2 callersFunctionencodeToBase64
(value)
web/classic/src/helpers/base64.js:37
↓ 2 callersFunctionensureEmailAvailableWithTx
(tx *gorm.DB, email string, excludeUserID int)
model/user.go:514
↓ 2 callersFunctionensureLogRequestId
(log *Log)
model/log.go:95
↓ 2 callersFunctionensureRequiredColumns
(columns = {})
web/classic/src/hooks/model-deployments/useDeploymentsData.jsx:112
↓ 2 callersFunctionensureSubscriptionPlanTableSQLite
()
model/main.go:492
↓ 2 callersFunctionequalStringPtr
equalStringPtr 比较两个 *string 是否相等(均为 nil 视为相等)。
controller/channel.go:1149
↓ 2 callersFunctionescapeHtml
(str)
web/classic/src/components/playground/CodeViewer.jsx:94
↓ 2 callersFunctionestimatePrice
(params: { location_ids: Array<string | number> hardware_id: string | number gpus_per_container: number
web/default/src/features/models/api.ts:489
↓ 2 callersFunctionexecuteRequestSpec
(c *gin.Context, info *relaycommon.RelayInfo, from types.RelayFormat, target types.RelayFormat, request any, s
service/relayconvert/request_registry.go:230
↓ 2 callersFunctionexecuteRequestSteps
(c *gin.Context, info *relaycommon.RelayInfo, from types.RelayFormat, target types.RelayFormat, request any, c
service/relayconvert/request_registry.go:238
↓ 2 callersFunctionexecuteResponseSpec
(c *gin.Context, info *relaycommon.RelayInfo, from types.RelayFormat, target types.RelayFormat, response any,
service/relayconvert/response_registry.go:411
↓ 2 callersFunctionexecuteResponseStreamSteps
(c *gin.Context, info *relaycommon.RelayInfo, state *ResponseStreamState, values []any, start int)
service/relayconvert/response_registry.go:534
↓ 2 callersFunctionexplicitSubjectEffect
(e *casbin.SyncedEnforcer, subject string, permission Permission)
service/authz/resolver.go:58
↓ 2 callersFunctionextractChannelAffinityValue
(c *gin.Context, src operation_setting.ChannelAffinityKeySource)
service/channel_affinity.go:289
↓ 2 callersFunctionextractErrorPosition
( error: unknown, jsonString: string )
web/default/src/features/system-settings/models/utils.ts:60
↓ 2 callersFunctionextractGeminiVideoURLFromMap
(payload map[string]any)
controller/video_proxy_gemini.go:88
↓ 2 callersFunctionextractItems
(payload)
web/classic/src/hooks/models/useModelsData.jsx:64
↓ 2 callersFunctionextractModelFromOperationName
(name string)
relay/channel/task/vertex/adaptor.go:393
↓ 2 callersFunctionextractRedirectModels
(modelMapping: string)
web/default/src/features/channels/lib/model-mapping-validation.ts:77
↓ 2 callersFunctionextractVertexVideoURLFromPayload
(body []byte)
controller/video_proxy_gemini.go:234
↓ 2 callersFunctionfallbackPromptTokens
(info *relaycommon.RelayInfo)
service/relayconvert/response_registry.go:976
↓ 2 callersFunctionfetchChannelUpstreamModelIDs
(channel *model.Channel)
controller/channel_upstream_update.go:258
↓ 2 callersFunctionfetchCheckinStatus
(month)
web/classic/src/components/settings/personal/cards/CheckinCalendar.jsx:85
↓ 2 callersFunctionfetchContainers
()
web/classic/src/components/table/model-deployments/modals/ViewDetailsModal.jsx:81
↓ 2 callersMethodfetchCount
()
service/task_polling_test.go:81
↓ 2 callersFunctionfetchDetails
()
web/classic/src/components/table/model-deployments/modals/ViewDetailsModal.jsx:61
↓ 2 callersFunctionfetchJSON
(ctx context.Context, url string, out *upstreamEnvelope[T])
controller/model_sync.go:133
↓ 2 callersFunctionfetchLogInfo
()
web/classic/src/pages/Setting/Performance/SettingsPerformance.jsx:177
↓ 2 callersFunctionfetchLogStats
( endpoint: string, params: T, isAdmin: boolean )
web/default/src/features/usage-logs/api.ts:56
↓ 2 callersFunctionfetchLogs
(containerIdOverride = undefined)
web/classic/src/components/table/model-deployments/modals/ViewLogsModal.jsx:102
↓ 2 callersFunctionfetchTokenKey
(tokenId)
web/classic/src/helpers/token.js:27
↓ 2 callersFunctionfetchUpstreamModelList
(name, options = {})
web/classic/src/components/table/channels/modals/EditChannelModal.jsx:1048
↓ 2 callersFunctionfetchUpstreamModels
( id: number )
web/default/src/features/channels/api.ts:240
↓ 2 callersFunctionfillFlowChannelNames
(rows []*FlowQuotaData)
model/usedata_flow.go:132
↓ 2 callersFunctionfillFlowTokenNames
(rows []*FlowQuotaData)
model/usedata_flow.go:94
↓ 2 callersFunctionfilterRowsByNodes
( rows: FlowQuotaDataItem[], selectedNodes: readonly FlowNodeFilter[] | undefined, stages: FlowNodeKind[
web/default/src/features/dashboard/lib/flow.ts:388
↓ 2 callersMethodfinalize
(response *dto.OpenAIResponsesResponse)
service/relayconvert/internal/oai_responses/to_oai_chat_stream_resp.go:417
↓ 2 callersFunctionfinalizeLogin
()
web/default/src/routes/oauth/$provider.tsx:120
↓ 2 callersMethodfindToolForEvent
(event *dto.ResponsesStreamResponse)
service/relayconvert/internal/oai_responses/to_oai_chat_stream_resp.go:305
↓ 2 callersMethodfindToolIndex
(event *dto.ResponsesStreamResponse)
service/relayconvert/internal/oai_responses/to_oai_chat_stream_resp.go:684
↓ 2 callersMethodfinishInsert
(inviterId int)
model/user.go:559
↓ 2 callersFunctionfirstTaskImage
(req relaycommon.TaskSubmitReq)
relay/channel/task/ali/adaptor.go:277
↓ 2 callersFunctionflattenValues
( values: T, parentKey?: string, result: Record<string, unknown> = {} )
web/default/src/features/system-settings/hooks/use-settings-form.ts:38
↓ 2 callersFunctionflowDisplayState
(options: { isLoading: boolean isError: boolean linkCount: number themeReady: boolean })
web/default/src/features/dashboard/lib/flow-selection.ts:42
↓ 2 callersFunctionflowNodeFilterKey
(filter: FlowNodeFilter)
web/default/src/features/dashboard/components/flow/flow-charts.tsx:221
↓ 2 callersFunctionflowSankeyDatumValue
(datum: unknown, key: string)
web/default/src/features/dashboard/lib/flow.ts:1053
↓ 2 callersFunctionformatBytes
(bytes: number, decimals = 2)
web/default/src/features/system-settings/maintenance/log-settings-section.tsx:102
↓ 2 callersFunctionformatBytes
(bytes, decimals = 2)
web/classic/src/pages/Setting/Performance/SettingsPerformance.jsx:49
↓ 2 callersFunctionformatCompactDisplayPrice
(usdAmount, digits = 6)
web/classic/src/helpers/render.jsx:1216
↓ 2 callersFunctionformatCompactNumber
(value: number)
web/default/src/features/pricing/components/model-perf-badge.tsx:36
↓ 2 callersFunctionformatCurrency
(amount: number | string)
web/default/src/features/wallet/lib/format.ts:53
↓ 2 callersFunctionformatDuration
( submitTime?: number, finishTime?: number, unit: 'seconds' | 'milliseconds' = 'milliseconds' )
web/default/src/features/usage-logs/lib/format.ts:288
↓ 2 callersFunctionformatDuration
( plan: Partial<SubscriptionPlan>, t: TFunction )
web/default/src/features/subscriptions/lib/format.ts:25
↓ 2 callersFunctionformatDuration
(plan, t)
web/classic/src/components/table/subscriptions/SubscriptionsColumnDefs.jsx:37
↓ 2 callersFunctionformatDurationSeconds
( seconds: unknown, t: (key: string) => string )
web/default/src/features/channels/components/dialogs/codex-usage-dialog.tsx:170
↓ 2 callersFunctionformatFixedPrice
( model: PricingModel, group: string, showWithRecharge = false, priceRate = 1, usdExchangeRate = 1,
web/default/src/features/pricing/lib/price.ts:213
↓ 2 callersFunctionformatGroupPrice
( model: PricingModel, group: string, type: PriceType, tokenUnit: TokenUnit, showWithRecharge = fals
web/default/src/features/pricing/lib/price.ts:178
↓ 2 callersFunctionformatGroups
(groups: string[])
web/default/src/features/channels/lib/channel-form.ts:799
↓ 2 callersFunctionformatJsonForEditor
(value: string, fallback = '[]')
web/default/src/features/system-settings/content/utils.ts:19
↓ 2 callersFunctionformatNotifyType
(channelId int, status int)
service/channel.go:14
↓ 2 callersFunctionformatNumberWithSuffix
( value: number, digitsLarge: number, digitsSmall: number, abbreviate: boolean )
web/default/src/lib/currency.ts:252
↓ 2 callersFunctionformatPrice
( model: PricingModel, type: PriceType, tokenUnit: TokenUnit, showWithRecharge = false, priceRate =
web/default/src/features/pricing/lib/price.ts:144
↓ 2 callersFunctionformatQuotaValue
(value: number)
web/default/src/features/dashboard/lib/charts.ts:81
↓ 2 callersFunctionformatRatioCompact
(ratio: number | undefined)
web/default/src/features/usage-logs/components/columns/common-logs-columns.tsx:71
↓ 2 callersFunctionformatRequestPrice
( model: PricingModel, showWithRecharge = false, priceRate = 1, usdExchangeRate = 1, selectedGroup?:
web/default/src/features/pricing/lib/price.ts:245
↓ 2 callersFunctionformatResetPeriod
(plan, t)
web/classic/src/components/table/subscriptions/SubscriptionsColumnDefs.jsx:52
↓ 2 callersFunctionformatResponseTime
(timeMs: number, t?: TFunction)
web/default/src/features/channels/lib/channel-utils.ts:367
↓ 2 callersFunctionformatSubscriptionDuration
(plan, t)
web/classic/src/helpers/subscriptionFormat.js:1
↓ 2 callersFunctionformatSubscriptionResetPeriod
(plan, t)
web/classic/src/helpers/subscriptionFormat.js:20
↓ 2 callersFunctionformatTokenHint
(n)
web/classic/src/pages/Setting/Ratio/components/TieredPricingEditor.jsx:82
↓ 2 callersFunctionformatUseTime
(seconds: number)
web/default/src/lib/format.ts:229
↓ 2 callersFunctionformatWaffoPancakeAmount
(payMoney float64)
controller/topup_waffo_pancake.go:91
↓ 2 callersFunctionfulfillOrder
fulfillOrder is the shared logic for crediting quota after payment is confirmed.
controller/topup_stripe.go:259
↓ 2 callersFunctiongeminiBillingMetadataFromOpenAIUsage
(usage *dto.Usage)
service/relayconvert/internal/oai_chat/to_gemini_chat_resp.go:204
← previousnext →1,701–1,800 of 10,602, ranked by callers