MCPcopy Create free account

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

Functions15,409 in github.com/QuantumNous/new-api

↓ 1 callersFunctiontree
(currentRow: ApiKey, open: boolean)
web/src/features/keys/components/__tests__/api-keys-mutate-drawer.test.tsx:329
↓ 1 callersFunctiontrimMessagesByContentSize
(messages: Message[])
web/src/features/playground/lib/storage/storage.ts:273
↓ 1 callersFunctiontrimStringValue
(doc *ojson.Doc, path string, value any, isPrefix bool)
relay/common/override.go:1843
↓ 1 callersFunctiontruncateBase64
(s string)
service/task_polling.go:761
↓ 1 callersFunctiontruncateFailureSummary
(summary: string)
web/src/features/channels/components/dialogs/channel-test-dialog.tsx:266
↓ 1 callersFunctiontruncateResponse
(demo: ApiDemoConfig)
web/src/features/home/components/hero-terminal-demo.tsx:449
↓ 1 callersFunctiontruncateText
(text string, limit int)
service/provider_plugin.go:780
↓ 1 callersFunctiontruncateText
(text: string, maxLength: number)
web/src/lib/utils.ts:84
↓ 1 callersFunctiontruncateText
(text: string, maxLength: number)
web/src/features/playground/lib/storage/storage.ts:124
↓ 1 callersFunctiontryConnect
()
electron/main.js:182
↓ 1 callersFunctiontryParseRequestCondition
(expr: string)
web/src/features/pricing/lib/billing-expr.ts:454
↓ 1 callersFunctiontryParseRuleGroupFactor
(part: string)
web/src/features/pricing/lib/billing-expr.ts:565
↓ 1 callersFunctiontryParseTimeRangePair
( lower: string, upper: string )
web/src/features/pricing/lib/billing-expr.ts:514
↓ 1 callersMethodtryReserveCurrent
(state *responsesWSCallState)
relay/responses_websocket.go:830
↓ 1 callersFunctiontypeByExtension
(filename string)
relay/requestplugin/attachments.go:349
↓ 1 callersFunctionuintPtr
(v uint)
relay/channel/minimax/adaptor_test.go:135
↓ 1 callersFunctionunavailablePlugin
unavailablePlugin returns the load error of a plugin the node should run but has not loaded; ok is false for a plugin that is loaded, disabled or dele
relay/requestplugin/plan.go:120
↓ 1 callersFunctionunbindCustomOAuth
( providerId: number, proofToken: string, signal: AbortSignal )
web/src/features/profile/api.ts:267
↓ 1 callersFunctionunitsPerSecond
(model, mode, metadata)
plugins/tasks/kling/plugin.js:259
↓ 1 callersMethodunixNow
()
docs/plugin-api/v1.d.ts:13
↓ 1 callersFunctionunorderedUsage
(start: string, interval: number)
web/src/features/dashboard/lib/__tests__/charts.test.ts:79
↓ 1 callersFunctionunpredict
unpredict reverses the PNG predictors of rows of columns bytes, each led by its filter type.
relay/requestplugin/pdf.go:1356
↓ 1 callersFunctionunsupportedProtocolFormMessage
(candidates []pluginruntime.ProtocolBinding, protocol string, stream, background bool)
middleware/task_plugin.go:710
↓ 1 callersFunctionunwrapExpressionParens
(source: string)
web/src/features/pricing/lib/billing-expression/structure.ts:56
↓ 1 callersFunctionunwrapOuterParens
(expr: string)
web/src/features/pricing/lib/billing-expr.ts:608
↓ 1 callersFunctionupdate
(patch: Partial<AuditFilters>)
web/src/features/usage-logs/audit/components/audit-log-viewer.tsx:108
↓ 1 callersFunctionupdate
()
web/src/features/channels/components/drawers/channel-mutate-drawer.tsx:551
↓ 1 callersFunctionupdate
(row: RequestPluginConfigRow, name: string, value: unknown)
web/src/features/task-plugins/components/request-plugin-config-model-values.tsx:89
↓ 1 callersFunctionupdate
(name: string, value: unknown, path = name)
web/src/features/task-plugins/components/request-plugin-config-form.tsx:69
↓ 1 callersFunctionupdateAccessToken
( id: number, input: AccessTokenUpdate, proof?: { token: string; signal: AbortSignal } )
web/src/features/security/api.ts:127
↓ 1 callersFunctionupdateAllChannelsBalance
updateAllChannelsBalance queries the balance of every enabled channel, balanceUpdateConcurrency channels at once, and reports how many of them it has
controller/channel-billing.go:779
↓ 1 callersFunctionupdateAllChannelsBalance
()
web/src/features/channels/api.ts:759
↓ 1 callersFunctionupdateApiKey
( data: ApiKeyFormData & { id: number } )
web/src/features/keys/api.ts:81
↓ 1 callersFunctionupdateApiKeyStatus
( id: number, status: number )
web/src/features/keys/api.ts:103
↓ 1 callersFunctionupdateAssistantMessageWithError
( messages: Message[], errorMessage: string, errorCode?: string, title: string = ERROR_MESSAGES.API_RE
web/src/features/playground/lib/message/message-update-utils.ts:27
↓ 1 callersFunctionupdateBillingPreference
( preference: string )
web/src/features/subscriptions/api.ts:227
↓ 1 callersFunctionupdateChannelAIGC2DBalance
(channel *model.Channel)
controller/channel-billing.go:369
↓ 1 callersFunctionupdateChannelAIProxyBalance
(channel *model.Channel)
controller/channel-billing.go:224
↓ 1 callersFunctionupdateChannelAPI2GPTBalance
(channel *model.Channel)
controller/channel-billing.go:244
↓ 1 callersFunctionupdateChannelDeepSeekBalance
(channel *model.Channel)
controller/channel-billing.go:350
↓ 1 callersFunctionupdateChannelMoonshotBalance
(channel *model.Channel)
controller/channel-billing.go:400
↓ 1 callersFunctionupdateChannelNewAPIBalance
updateChannelNewAPIBalance reads the upstream key's remaining quota. When the upstream also returns its owner's quota, the smaller of the two is what
controller/channel-billing.go:484
↓ 1 callersFunctionupdateChannelOpenRouterBalance
(channel *model.Channel)
controller/channel-billing.go:384
↓ 1 callersFunctionupdateChannelSiliconFlowBalance
(channel *model.Channel)
controller/channel-billing.go:260
↓ 1 callersFunctionupdateClaudeStreamBillingUsage
(claudeUsage *dto.ClaudeUsage, claudeInfo *ClaudeResponseInfo, terminal bool)
relaykit/relayconvert/internal/claude_messages/to_oai_chat_resp.go:423
↓ 1 callersFunctionupdateCursorLocation
()
web/src/components/json-code-editor.tsx:130
↓ 1 callersFunctionupdateCustomOAuthProvider
( id: number, data: Partial<CustomOAuthProvider> )
web/src/features/system-settings/auth/custom-oauth/api.ts:58
↓ 1 callersFunctionupdateDeployment
( id: string | number, data: { env_variables?: Record<string, string> secret_env_variables?: Recor
web/src/features/models/api.ts:564
↓ 1 callersFunctionupdateDeploymentName
( id: string | number, name: string )
web/src/features/models/api.ts:593
↓ 1 callersFunctionupdateGroupIncomingPath
( group: AdvancedCustomRouteGroup, nextIncomingPath: string | null )
web/src/features/channels/components/dialogs/advanced-custom-editor-dialog.tsx:461
↓ 1 callersFunctionupdateModel
( data: Partial<Model> & { id: number } )
web/src/features/models/api.ts:89
↓ 1 callersFunctionupdateParameterConfig
( key: PlaygroundParameterKey, value: number | null )
web/src/features/playground/components/input/playground-parameter-panel.tsx:84
↓ 1 callersFunctionupdatePasskeyDomains
( request: UpdatePasskeyDomainsRequest )
web/src/features/system-settings/api.ts:47
↓ 1 callersFunctionupdatePlan
( id: number, data: PlanPayload )
web/src/features/subscriptions/api.ts:51
↓ 1 callersFunctionupdatePrefillGroup
(data: { id: number type?: 'model' | 'tag' | 'endpoint' name?: string items?: string | string[] desc
web/src/features/models/api.ts:271
↓ 1 callersFunctionupdateRedemption
( data: RedemptionFormData & { id: number } )
web/src/features/redemption-codes/api.ts:74
↓ 1 callersFunctionupdateRedemptionStatus
( id: number, status: number )
web/src/features/redemption-codes/api.ts:82
↓ 1 callersFunctionupdateStandardChannelBalance
(channel *model.Channel)
controller/channel-billing.go:643
↓ 1 callersFunctionupdateSystemOption
(request: UpdateOptionRequest)
web/src/features/system-settings/api.ts:42
↓ 1 callersFunctionupdateTheme
()
web/src/lib/use-chart-theme.ts:41
↓ 1 callersFunctionupdateTheme
()
web/src/features/dashboard/components/users/user-charts.tsx:125
↓ 1 callersFunctionupdateTheme
()
web/src/features/dashboard/components/models/model-charts.tsx:81
↓ 1 callersFunctionupdateTheme
()
web/src/features/dashboard/components/models/consumption-distribution-chart.tsx:83
↓ 1 callersFunctionupdateUser
( data: UserFormData & { id: number }, proofToken?: string )
web/src/features/users/api.ts:126
↓ 1 callersFunctionupdateUserLanguage
( language: string )
web/src/features/profile/api.ts:94
↓ 1 callersFunctionupdateUserProfile
( data: UpdateUserRequest )
web/src/features/profile/api.ts:51
↓ 1 callersFunctionupdateUserQuotaUsedQuotaAndRequestCount
(id int, quota int, usedQuota int, requestCount int)
model/user.go:1472
↓ 1 callersFunctionupdateUserUsedQuotaAndRequestCount
(id int, quota int, count int)
model/user.go:1454
↓ 1 callersFunctionupdateVendor
( data: Partial<Vendor> & { id: number } )
web/src/features/models/api.ts:178
↓ 1 callersFunctionupdateVideoTasks
(ctx context.Context, platform constant.TaskPlatform, channelId int, taskIds []string, taskM map[string]*model
service/task_polling.go:491
↓ 1 callersFunctionuploadDifyFile
(c *gin.Context, info *relaycommon.RelayInfo, user string, media dto.MediaContent)
relay/channel/dify/relay-dify.go:26
↓ 1 callersFunctionuploadFileFromForm
(c *gin.Context, info *relaycommon.RelayInfo, fieldCandidates ...string)
relay/channel/replicate/adaptor.go:412
↓ 1 callersFunctionuploadSource
(user: ReturnType<typeof userEvent.setup>)
web/src/features/task-plugins/__tests__/upload-dialog.test.tsx:105
↓ 1 callersFunctionuploadTaskPlugin
( source: string, remark: string, icon?: string )
web/src/features/task-plugins/api.ts:99
↓ 1 callersFunctionupsertPasskeyCredentialWithTx
(tx *gorm.DB, credential *PasskeyCredential)
model/passkey.go:210
↓ 1 callersFunctionupsertSubscriptionTopUpTx
(tx *gorm.DB, order *SubscriptionOrder)
model/subscription.go:664
↓ 1 callersMethodurlHosts
(value any, hosts []string)
pkg/jsplugin/config_schema.go:122
↓ 1 callersFunctionurlQueryEscape
(value string)
middleware/task_artifact_access_test.go:155
↓ 1 callersFunctionurlToString
* Convert LinkProps['to'] to string * Handles both string URLs and object URLs (e.g., { pathname, search })
web/src/components/layout/lib/url-utils.ts:27
↓ 1 callersFunctionusageCacheSignals
(usage *dto.Usage)
service/channel_affinity.go:932
↓ 1 callersFunctionusageExampleNumber
(value any)
pkg/jsplugin/registry.go:2239
↓ 1 callersFunctionusageSchemaHasTokenUnit
(schema map[string]UsageFieldSchema)
pkg/jsplugin/registry.go:2151
↓ 1 callersFunctionusageSemanticFromUsage
(relayInfo *relaycommon.RelayInfo, usage *dto.Usage)
service/text_quota.go:390
↓ 1 callersFunctionusageSmokeCombinationCount
(dimensions []usageSmokeDimension, stopAfter int)
setting/billing_setting/tiered_billing.go:361
↓ 1 callersFunctionusageTotalTokens
(usage *dto.Usage)
service/channel_affinity.go:970
↓ 1 callersFunctionusdBalance
(result jsplugin.BalanceResult)
controller/channel_balance.go:35
↓ 1 callersFunctionuseAccessTokens
()
web/src/features/security/hooks/use-access-tokens.ts:43
↓ 1 callersFunctionuseAffiliate
()
web/src/features/wallet/hooks/use-affiliate.ts:38
↓ 1 callersFunctionuseAnnouncements
()
web/src/features/dashboard/hooks/use-status-data.ts:47
↓ 1 callersFunctionuseAuditLogColumns
( accessOnly?: boolean )
web/src/features/usage-logs/audit/components/audit-log-columns.tsx:31
↓ 1 callersFunctionuseBillingHistory
(options: UseBillingHistoryOptions = {})
web/src/features/wallet/hooks/use-billing-history.ts:46
↓ 1 callersFunctionuseChainOfThought
()
web/src/components/ai-elements/chain-of-thought.tsx:53
↓ 1 callersFunctionuseChannelModelDiscovery
(props: ChannelModelDiscoveryProps)
web/src/features/channels/hooks/use-channel-model-discovery.ts:40
↓ 1 callersFunctionuseChannelMutateForm
(props: UseChannelMutateFormParams)
web/src/features/channels/hooks/use-channel-mutate-form.ts:60
↓ 1 callersFunctionuseChannelPriorityDrag
(options: DragOptions)
web/src/features/channels/hooks/use-channel-priority-drag.ts:133
↓ 1 callersFunctionuseChannelPriorityOrder
(props: { channels: Channel[] desc: boolean scope: string enabled: boolean })
web/src/features/channels/hooks/use-channel-priority-order.ts:37
↓ 1 callersFunctionuseChatHandler
({ config, parameterEnabled, onMessageUpdate, }: UseChatHandlerOptions)
web/src/features/playground/hooks/use-chat-handler.ts:70
↓ 1 callersFunctionuseColumnsByCategory
( logCategory: LogCategory, isAdmin: boolean, isRoot: boolean, showBillingSource = false // eslint-d
web/src/features/usage-logs/lib/columns.ts:33
↓ 1 callersFunctionuseControllableTableState
( controlledValue: TValue | undefined, defaultValue: TValue, onChange: OnChangeFn<TValue> | undefined )
web/src/components/data-table/hooks/use-data-table.ts:125
↓ 1 callersFunctionuseCreateProvider
()
web/src/features/system-settings/auth/custom-oauth/hooks/use-custom-oauth-mutations.ts:43
← previousnext →8,601–8,700 of 15,409, ranked by callers