MCPcopy Create free account

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

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

↓ 1 callersMethodtokenEndpoint
(w http.ResponseWriter, r *http.Request)
service/provider_plugin_test.go:172
↓ 1 callersFunctiontokenFor
(ctx)
plugins/tasks/kling/plugin.js:158
↓ 1 callersFunctiontokenItem
(overrides: Partial<AccessTokenItem>)
web/src/features/security/components/__tests__/access-tokens-card.test.tsx:72
↓ 1 callersFunctiontokenTier
( node: ExpressionNode, conditions: TokenTierCondition[] )
web/src/features/pricing/lib/billing-expression/display.ts:102
↓ 1 callersMethodtokens
(w, h int)
tokenkit/image.go:165
↓ 1 callersMethodtoolArgumentsDelta
(event *dto.ResponsesStreamResponse)
relaykit/relayconvert/internal/oai_responses/to_oai_chat_stream_resp.go:319
↓ 1 callersFunctiontoolCounts
(info *relaycommon.RelayInfo)
relay/channel/deepseek/adaptor_test.go:134
↓ 1 callersFunctiontoolbarProps
()
web/src/features/pricing/__tests__/pricing-controls.test.tsx:31
↓ 1 callersFunctiontooltipMetricLines
( valueFormatter: (value: number) => string, labels: FlowSankeyLabels )
web/src/features/dashboard/lib/flow.ts:1086
↓ 1 callersFunctiontrackSize
(bytes, start, end)
plugins/tasks/xai/plugin.js:658
↓ 1 callersFunctiontransferAffiliateQuota
( request: AffiliateTransferRequest )
web/src/features/wallet/api.ts:195
↓ 1 callersFunctiontransformFormDataToModelPayload
( formData: ModelFormValues )
web/src/features/models/lib/model-form.ts:106
↓ 1 callersFunctiontransformFormDataToPayload
( data: UserFormValues, userId?: number, catalog?: PermissionCatalog )
web/src/features/users/lib/user-form.ts:74
↓ 1 callersFunctiontransformFormDataToPayload
( data: RedemptionFormValues )
web/src/features/redemption-codes/lib/redemption-form.ts:76
↓ 1 callersFunctiontransformLegacyAPIInfo
(value string)
model/frontend_option_migration.go:105
↓ 1 callersFunctiontransformLegacyFAQ
(value string)
model/frontend_option_migration.go:137
↓ 1 callersFunctiontransformModelToFormDefaults
(model: Model)
web/src/features/models/lib/model-form.ts:86
↓ 1 callersFunctiontransformRedemptionToFormDefaults
( redemption: Redemption )
web/src/features/redemption-codes/lib/redemption-form.ts:92
↓ 1 callersFunctiontransformStringValue
(doc *ojson.Doc, path string, transform func(string) string)
relay/common/override.go:1915
↓ 1 callersFunctiontranslate
(key, options)
web/src/features/pricing/lib/billing-expression/condition-display.ts:252
↓ 1 callersFunctiontranslations
(count: number)
web/src/features/task-plugins/__tests__/marketplace.test.ts:960
↓ 1 callersFunctiontree
(currentRow: Model, open: boolean)
web/src/features/models/__tests__/metadata-editing.test.tsx:413
↓ 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:1867
↓ 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:124
↓ 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
()
pluginkit/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:707
↓ 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:553
↓ 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:775
↓ 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:424
↓ 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:576
↓ 1 callersFunctionupdateDeploymentName
( id: string | number, name: string )
web/src/features/models/api.ts:605
↓ 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:90
↓ 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:283
↓ 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 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:1488
↓ 1 callersFunctionupdateUserUsedQuotaAndRequestCount
(id int, quota int, count int)
model/user.go:1470
↓ 1 callersFunctionupdateVendor
( data: Partial<Vendor> & { id: number } )
web/src/features/models/api.ts:179
↓ 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)
pluginkit/config_schema.go:121
↓ 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
← previousnext →8,701–8,800 of 15,592, ranked by callers