MCPcopy Create free account

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

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

↓ 1 callersFunctionparseStatusCodeMappingValue
(value any)
service/error.go:165
↓ 1 callersFunctionparseStopSequences
parseStopSequences 解析停止序列,支持字符串或字符串数组
relay/channel/aws/dto.go:126
↓ 1 callersFunctionparseStreamErrorDetails
(data?: string)
web/src/features/playground/lib/streaming/stream-utils.ts:44
↓ 1 callersFunctionparseSyncTarget
(spec string)
relay/common/override.go:1532
↓ 1 callersFunctionparseSyncTargetSpec
(spec: string)
web/src/features/channels/components/dialogs/param-override-editor-dialog.tsx:688
↓ 1 callersFunctionparseTaskResultFunctionBody
(source string)
pkg/jsplugin/cli.go:69
↓ 1 callersFunctionparseTencentConfig
(config string)
relay/channel/tencent/relay-tencent.go:164
↓ 1 callersFunctionparseTierEditorDocument
(source: string)
web/src/features/system-settings/models/tiered-pricing-editor.tsx:1128
↓ 1 callersFunctionparseTimeValue
(value: unknown)
web/src/features/channels/components/dialogs/codex-usage-dialog.tsx:246
↓ 1 callersFunctionparseToken
(token: string)
web/src/lib/http-status-code-rules.ts:89
↓ 1 callersFunctionparseType
(raw: unknown)
web/src/features/usage-logs/lib/utils.ts:168
↓ 1 callersFunctionparseURLField
(m map[string]any, key string)
relay/channel/ali/embedding.go:117
↓ 1 callersFunctionparseUpstreamUpdateMeta
(settings: unknown)
web/src/features/channels/lib/upstream-update-utils.ts:27
↓ 1 callersFunctionparseValue
(raw json.RawMessage)
pkg/requestpatch/patch.go:416
↓ 1 callersFunctionparseValue
* Parse a property value from string to appropriate type * @param raw - Raw string value * @returns Parsed value (boolean, number, or string)
web/src/lib/lobe-icon.tsx:91
↓ 1 callersFunctionparseVersion
(fields: Record<string, unknown>)
web/src/features/task-plugins/__tests__/marketplace.test.ts:909
↓ 1 callersFunctionparseWaffoPayMethods
(data: unknown)
web/src/features/wallet/hooks/use-topup-info.ts:86
↓ 1 callersMethodpassThrough
passThrough hands the rest of a stream to the client as the handler writes it, once every instance let the answer pass with nothing masked: the events
relay/requestplugin/reply.go:1127
↓ 1 callersMethodpassed
passed reports an answer every instance let pass: no hook is called for the rest of it.
relay/requestplugin/reply.go:347
↓ 1 callersFunctionpasswordProof
(scope: string)
web/src/features/security/components/__tests__/access-token-create-dialog.test.tsx:78
↓ 1 callersFunctionpasswordProof
(scope: string)
web/src/features/security/components/__tests__/access-tokens-card.test.tsx:92
↓ 1 callersFunctionpasted
(text: string, image: string)
web/src/features/task-plugins/__tests__/request-plugin-try-panel.test.tsx:274
↓ 1 callersFunctionpastedCallbackParams
pastedCallbackParams reads the query of the address an administrator pasted after the vendor redirected the browser.
service/provider_plugin_login.go:375
↓ 1 callersFunctionpatchPlanStatus
( id: number, enabled: boolean )
web/src/features/subscriptions/api.ts:59
↓ 1 callersFunctionpathContainsFlowLink
( path: FlowPathNode[], link: FlowLinkSelection )
web/src/features/dashboard/lib/flow.ts:637
↓ 1 callersFunctionpathContainsFlowNode
( path: FlowPathNode[], filter: FlowNodeFilter )
web/src/features/dashboard/lib/flow.ts:630
↓ 1 callersFunctionpathFor
(action)
plugins/tasks/vidu/plugin.js:323
↓ 1 callersFunctionpathFor
(action)
plugins/tasks/kling/plugin.js:169
↓ 1 callersFunctionpathHasParameter
(routePath, name string)
pluginkit/routing.go:536
↓ 1 callersFunctionpathLinkKey
(source: FlowPathNode, target: FlowPathNode)
web/src/features/dashboard/lib/flow.ts:511
↓ 1 callersFunctionpathMatchesNodeFilters
( path: FlowPathNode[], filters: Map<FlowNodeKind, Set<string>> )
web/src/features/dashboard/lib/flow.ts:362
↓ 1 callersMethodpause
pause stops the clock while a host function waits. It reports false when the watchdog already fired: its interrupt is then ending the call, and the ho
pluginkit/engine.go:850
↓ 1 callersFunctionpaySubscriptionBalance
( data: SubscriptionPayRequest )
web/src/features/subscriptions/api.ts:158
↓ 1 callersFunctionpaySubscriptionCreem
( data: SubscriptionPayRequest )
web/src/features/subscriptions/api.ts:144
↓ 1 callersFunctionpaySubscriptionEpay
( data: SubscriptionPayRequest & { payment_method: string } )
web/src/features/subscriptions/api.ts:194
↓ 1 callersFunctionpaySubscriptionStripe
( data: SubscriptionPayRequest )
web/src/features/subscriptions/api.ts:137
↓ 1 callersFunctionpaySubscriptionWaffoPancake
( data: SubscriptionPayRequest )
web/src/features/subscriptions/api.ts:151
↓ 1 callersFunctionpdfColumnsBounded
pdfColumnsBounded reports whether the decode parameters of one filter, read through the library, keep the buffers its PNG predictor sizes by Columns w
relay/requestplugin/pdf.go:219
↓ 1 callersFunctionpemToDER
(pem: string)
web/src/features/auth/lib/password-encryption.ts:176
↓ 1 callersFunctionpendingLoginResponse
()
web/src/features/auth/otp/__tests__/login-verification.test.tsx:117
↓ 1 callersFunctionpendingResponse
()
web/src/features/auth/secure-verification/__tests__/verification-flow.test.tsx:92
↓ 1 callersFunctionperformChannelTests
performChannelTests runs channel health checks with the configured bounded concurrency and honors cancellation when a system-task runner loses its lea
controller/channel-test.go:1112
↓ 1 callersFunctionperformCheckin
( turnstileToken?: string )
web/src/features/profile/api.ts:299
↓ 1 callersFunctionperformFrontendRequest
(router http.Handler, method, target, acceptEncoding string)
middleware/frontend_static_test.go:33
↓ 1 callersFunctionperformRefreshWithBrowserLock
( refreshEpoch: number )
web/src/lib/auth-session.ts:317
↓ 1 callersFunctionpermission
(container: HTMLElement, resource: string, action: string)
web/src/features/security/components/__tests__/access-token-create-dialog.test.tsx:101
↓ 1 callersFunctionpermission
(container: HTMLElement, action: string)
web/src/features/security/components/__tests__/access-tokens-card.test.tsx:198
↓ 1 callersFunctionpersistTokenQuotaDelta
(id int, delta int)
model/quota_reserve.go:122
↓ 1 callersFunctionpersistUserQuotaDelta
persistUserQuotaDelta 把已在缓存侧预扣成功的增量落库;批量模式下入队, 直写模式下要求行存在(用户已删除时报错,交由调用方补偿缓存)。
model/quota_reserve.go:107
↓ 1 callersFunctionpickTelegramAuthorization
( value: unknown )
web/src/features/auth/lib/telegram-login.ts:40
↓ 1 callersMethodping
()
relay/helper/common.go:81
↓ 1 callersFunctionpinnedChannelUnavailable
Origin-task pins report a fixed code so task polling can tell a retired channel from a malformed request.
service/channel_select.go:414
↓ 1 callersFunctionplainObject
(value)
plugins/tasks/google/plugin.js:53
↓ 1 callersFunctionplainObject
(value)
plugins/tasks/vidu/plugin.js:162
↓ 1 callersFunctionplan
(enabled: boolean)
web/src/features/usage-logs/lib/__tests__/billing-source.test.ts:29
↓ 1 callersFunctionplanToFormValues
(plan: SubscriptionPlan)
web/src/features/subscriptions/lib/plan-form.ts:80
↓ 1 callersFunctionplugin
(overrides?: Partial<MarketplacePlugin>)
web/src/features/task-plugins/__tests__/marketplace-plugin-logo.test.tsx:33
↓ 1 callersFunctionplugin
(hooks: string[], optional = false)
web/src/features/task-plugins/__tests__/request-plugin-run-line.test.tsx:28
↓ 1 callersFunctionpluginAccountLoggedIn
pluginAccountLoggedIn reports whether a credential of the plugin on any channel holds accountID. A failed read counts as logged in, so a doubt never r
service/provider_plugin_login.go:600
↓ 1 callersFunctionpluginChannel
( pluginKey: string, balanceDetail?: ChannelBalanceDetail | null )
web/src/features/channels/components/__tests__/channel-balance-cell.test.tsx:41
↓ 1 callersFunctionpluginForm
(values: Record<string, unknown> = {})
web/src/features/channels/lib/__tests__/task-plugin-channel-settings.test.ts:31
↓ 1 callersFunctionpluginIcon
(pluginKey: string)
web/src/features/channels/components/drawers/channel-request-plugins-field.tsx:63
↓ 1 callersFunctionpluginKeyIndex
pluginKeyIndex is the index of the key line key among the channel's keys, 0 when it is not one of them.
controller/channel_upstream_update.go:563
↓ 1 callersFunctionpluginLoginReducer
( state: PluginLoginState, event: PluginLoginEvent )
web/src/features/channels/lib/plugin-login.ts:138
↓ 1 callersFunctionpluginOutputText
(raw json.RawMessage)
relay/plugin_protocol.go:1034
↓ 1 callersFunctionpluginRouteConverterLabel
(converter?: string)
web/src/features/channels/lib/plugin-routes.ts:23
↓ 1 callersFunctionpluginRouteRecovery
()
router/plugin-router.go:402
↓ 1 callersFunctionpluginScopeNeedsReview
( instance: RequestPluginInstance, plugin: TaskPluginOption | undefined )
web/src/features/task-plugins/lib/plugin-scope.ts:54
↓ 1 callersFunctionpluginValue
pluginValue returns a hook argument in the shapes moejs converts: nil, booleans, numbers, strings, JSON-shaped maps and slices and engine values. A Ra
pluginkit/engine.go:662
↓ 1 callersFunctionpointer
(path, key)
plugins/tasks/param-override/plugin.js:83
↓ 1 callersFunctionpointerGeometry
(cardColumns = 3)
web/src/features/channels/components/__tests__/priority-order.test.tsx:371
↓ 1 callersFunctionpollInterval
(value: number | undefined, fallback: number)
web/src/features/channels/lib/plugin-login.ts:104
↓ 1 callersFunctionpollTaskBatch
pollTaskBatch sends one batch query for tasks and applies the results it returns for them.
service/task_polling.go:350
↓ 1 callersFunctionpopulateResponsesCloneFixture
Populate all mutable fields so newly added request fields also exercise the retry-isolation contract, rather than silently escaping a hand-written lis
relay/request_clone_test.go:93
↓ 1 callersFunctionpopupWindow
()
web/src/features/auth/lib/__tests__/oauth-popup.test.ts:26
↓ 1 callersFunctionpositiveTaskArtifactLimit
(env string, defaultValue int)
setting/system_setting/task_artifact.go:26
↓ 1 callersFunctionpostCalls
(url: string)
web/src/features/security/components/__tests__/access-token-create-dialog.test.tsx:107
↓ 1 callersFunctionpostCommunityPluginInstall
(installsURL string, body []byte)
controller/task_plugin.go:91
↓ 1 callersMethodpreConsume
--------------------------------------------------------------------------- PreConsume — 统一预扣费入口(含信任额度旁路) --------------------------------------------
service/billing_session.go:208
↓ 1 callersFunctionpreConsumeUsage
(ctx *gin.Context, info *relaycommon.RelayInfo, usage *dto.RealtimeUsage, totalUsage *dto.RealtimeUsage)
relay/channel/openai/relay_realtime.go:281
↓ 1 callersFunctionpreloadImage
Preload an image, returning a cleanup that detaches the pending handlers.
web/src/hooks/use-system-config.ts:33
↓ 1 callersMethodprepare
prepare runs prepareRequest and applies its effects to the body and, when the request is sent, the headers: all of them or none. It returns the path o
relay/channel/providerplugin/adaptor.go:688
↓ 1 callersFunctionprepareCredentialCreationOptions
( payload: any )
web/src/lib/passkey.ts:107
↓ 1 callersFunctionprepareCredentialRequestOptions
( payload: any )
web/src/lib/passkey.ts:153
↓ 1 callersMethodpreparePartialFunctionCalls
(response *dto.GeminiChatResponse)
relaykit/relayconvert/internal/gemini_chat/to_oai_chat_resp.go:492
↓ 1 callersFunctionprepareResponseStreamInfo
(info convmeta.Meta, spec ResponseConverterSpec)
relaykit/relayconvert/response_registry.go:633
↓ 1 callersMethodpresent
(task *model.Task, presenter string)
controller/task_plugin_debug.go:229
↓ 1 callersMethodpresentError
(taskErr *dto.TaskError)
controller/task_plugin_debug.go:243
↓ 1 callersFunctionpreviewUpstreamDiff
(params?: { locale?: SyncLocale source?: SyncSource })
web/src/features/models/api.ts:213
↓ 1 callersFunctionpreviewVendorOperation
( operation: VendorOperation )
web/src/features/models/vendor-api.ts:105
↓ 1 callersFunctionpreviousRankingTimeRange
(config rankingPeriodConfig, currentStart int64)
service/rankings.go:231
↓ 1 callersFunctionpricingIssue
( modelName: string, reason: ModelPricingIssue['reason'] = 'unconfigured' )
web/src/features/task-plugins/__tests__/plugins-table.test.tsx:299
↓ 1 callersFunctionpricingModel
(overrides: Partial<PricingModel> = {})
web/src/features/pricing/__tests__/model-cards.test.tsx:43
↓ 1 callersFunctionpricingModel
(overrides: Partial<PricingModel>)
web/src/features/pricing/__tests__/dynamic-price.test.ts:39
↓ 1 callersFunctionpricingModel
( modelName: string, overrides: Partial<PricingModel> )
web/src/features/pricing/__tests__/sorting.test.ts:37
↓ 1 callersMethodprimary
()
web/src/features/pricing/lib/billing-expression/parser.ts:273
↓ 1 callersMethodprime
prime converts upstream events until the plugin returns its first output, returns an error or the stream ends. The output stays pending for Read. Like
relay/channel/providerplugin/stream.go:138
↓ 1 callersFunctionprintHelp
()
common/init.go:25
↓ 1 callersFunctionprocessCompletionsStreamResponse
(streamResponse dto.CompletionsStreamResponse, responseTextBuilder *strings.Builder)
relay/channel/openai/helper.go:159
↓ 1 callersFunctionprocessStreamingContent
( message: Message, contentChunk?: string )
web/src/features/playground/lib/message/message-streaming-utils.ts:40
← previousnext →7,801–7,900 of 15,592, ranked by callers