MCPcopy Create free account

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

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

↓ 1 callersFunctionsetStoredPageSize
(size: number)
web/src/hooks/use-table-url-state.ts:41
↓ 1 callersFunctionsetTaskPluginEnabledOption
(enabled: boolean)
web/src/features/task-plugins/api.ts:203
↓ 1 callersFunctionsetTaskPluginStatus
( key: string, enabled: boolean, options?: { cascade?: boolean; force?: boolean } )
web/src/features/task-plugins/api.ts:166
↓ 1 callersFunctionsettingsOf
(payload: { settings?: string | null })
web/src/features/channels/lib/__tests__/task-plugin-channel-settings.test.ts:44
↓ 1 callersMethodsettleStart
(task *model.Task, quota int)
controller/task_plugin_debug.go:201
↓ 1 callersFunctionsetup
()
web/src/features/redemption-codes/components/__tests__/bulk-delete.test.tsx:81
↓ 1 callersFunctionsetup2FA
( proofToken: string, signal: AbortSignal )
web/src/features/security/api.ts:189
↓ 1 callersFunctionsetupChannelSelectAutoGroupsTest
(t *testing.T)
service/channel_select_auto_groups_test.go:21
↓ 1 callersFunctionsetupPasskeyNetwork
()
web/src/features/auth/passkey/__tests__/domain-verification.test.tsx:59
↓ 1 callersFunctionsha256Hex
( bytes: Uint8Array<ArrayBuffer> )
web/src/features/task-plugins/lib/plugin-icon-file.ts:71
↓ 1 callersFunctionsha256hex
(s string)
relay/channel/tencent/relay-tencent.go:176
↓ 1 callersFunctionshiftMarks
shiftMarks moves the part marks of text past the masks applied to it, which releaseReply merged and sorted. A mask across a mark stays with the part w
relay/requestplugin/reply.go:541
↓ 1 callersFunctionshouldAppendClaudeBetaQuery
(info *relaycommon.RelayInfo)
relay/channel/claude/adaptor.go:92
↓ 1 callersFunctionshouldApplyClaudeHeaders
(converter string, info *relaycommon.RelayInfo)
relay/channel/advancedcustom/adaptor.go:552
↓ 1 callersFunctionshouldAuditOperation
(mode, path, from, to string)
relay/common/override.go:432
↓ 1 callersFunctionshouldAuthenticateSMTP
()
common/email.go:33
↓ 1 callersFunctionshouldChargeViolationFee
(err *types.NewAPIError)
service/violation_fee.go:73
↓ 1 callersFunctionshouldClearModelForGroup
( models: ModelOption[], currentModel: string )
web/src/features/playground/lib/options/playground-option-utils.ts:34
↓ 1 callersFunctionshouldCloseActiveWebSocketsAfterDisable
(channelId int)
service/channel.go:20
↓ 1 callersFunctionshouldEnableParamOverrideAudit
(paramOverride map[string]any)
relay/common/override.go:364
↓ 1 callersFunctionshouldRenderColumnResizer
( table: TanstackTable<TData>, header: Header<TData, unknown> )
web/src/components/data-table/core/data-table-header.tsx:240
↓ 1 callersFunctionshouldReplaceModelsDevCandidate
(current, next modelsDevCandidate)
controller/ratio_sync.go:1025
↓ 1 callersFunctionshouldShowMessageContent
( message: Message, versionContent: string )
web/src/features/playground/lib/message/message-content-utils.ts:57
↓ 1 callersFunctionshouldShowMessageLoader
( message: Message, isAssistant: boolean, versionContent: string )
web/src/features/playground/lib/message/message-content-utils.ts:44
↓ 1 callersFunctionshouldSkipPassthroughHeader
(name string)
relay/channel/api_request.go:142
↓ 1 callersMethodshouldTrust
shouldTrust 统一信任额度检查,适用于钱包和订阅。
service/billing_session.go:329
↓ 1 callersFunctionshouldUseGeminiStreamURL
(converter string, info *relaycommon.RelayInfo)
relay/channel/advancedcustom/adaptor.go:534
↓ 1 callersFunctionshouldUseSMTPLoginAuth
()
common/email.go:22
↓ 1 callersFunctionshouldUseStreamForAutomaticChannelTest
(channel *model.Channel)
controller/channel-test.go:713
↓ 1 callersFunctionshow
()
web/src/features/system-settings/request-policies/__tests__/routing.test.tsx:108
↓ 1 callersFunctionshow
()
web/src/features/system-settings/request-policies/__tests__/channel-health-layout.test.tsx:39
↓ 1 callersFunctionshrinkShortSide
shrinkShortSide scales an image down so its shortest side is at most limit, rounding the other side down.
tokenkit/image.go:278
↓ 1 callersFunctionside
(kind: 'removed' | 'added')
web/src/features/task-plugins/components/request-plugin-try-panel.tsx:284
↓ 1 callersFunctionsideDrawerSectionClassName
(className?: string)
web/src/components/drawer-layout.ts:48
↓ 1 callersFunctionsidebarFor
(admin?: object, user?: object, canConfigure = true)
web/src/hooks/__tests__/sidebar-config.test.tsx:69
↓ 1 callersFunctionsignVolcV4
(request volcSignRequest, now func() time.Time)
pluginkit/utils.go:435
↓ 1 callersFunctionsigningInput
signingInput reads a signing utility's byte parameter: an ArrayBuffer, SharedArrayBuffer, typed array or DataView as a copy of the bytes it holds or v
pluginkit/utils.go:384
↓ 1 callersFunctionsiliconflowRerankHandler
(c *gin.Context, info *relaycommon.RelayInfo, resp *http.Response)
relay/channel/siliconflow/relay-siliconflow.go:16
↓ 1 callersFunctionsizeOptions
(size)
plugins/tasks/xai/plugin.js:278
↓ 1 callersMethodskipDict
()
relay/requestplugin/pdf.go:757
↓ 1 callersMethodskipInlineImage
skipInlineImage moves past an inline image: its parameters, ID, the image data and EI.
relay/requestplugin/pdf.go:772
↓ 1 callersFunctionsleep
(ms: number)
web/src/features/channels/components/dialogs/channel-test-dialog.tsx:251
↓ 1 callersFunctionsmartDetectMimeType
smartDetectMimeType 智能检测 MIME 类型
service/file_service.go:249
↓ 1 callersFunctionsmokeTestExpr
(exprStr string)
setting/billing_setting/tiered_billing.go:208
↓ 1 callersFunctionsmtpServerSupportsAuth
(server *smtp.ServerInfo, mechanism string)
common/email_ntlm_auth.go:73
↓ 1 callersFunctionsmtpTLSConfig
()
common/email.go:37
↓ 1 callersFunctionsnapFloatDrift
(value: number)
web/src/features/system-settings/models/pricing-format.ts:42
↓ 1 callersFunctionsnapshot
(at: number, metrics: InferenceMetric[])
web/src/features/channels/lib/__tests__/inference-status.test.ts:30
↓ 1 callersFunctionsnapshotFiles
(files)
web/scripts/format-with-protected-headers.mjs:76
↓ 1 callersFunctionsniffPluginIconMediaType
Tells a PNG or SVG logo apart by its bytes; null for anything else.
web/src/features/task-plugins/lib/plugin-icon-file.ts:84
↓ 1 callersFunctionsortResetCredits
(credits: CodexResetCredit[])
web/src/features/channels/components/dialogs/codex-usage-dialog.tsx:260
↓ 1 callersFunctionsortedModelCategories
(models: string[])
web/src/features/channels/components/upstream-model-selection.tsx:46
↓ 1 callersFunctionsortedPluginKeys
(plugins map[string]*jsplugin.LoadedPlugin)
router/plugin-router.go:602
↓ 1 callersFunctionsortedPlugins
(plugins map[string]*jsplugin.LoadedPlugin)
router/plugin-router.go:611
↓ 1 callersMethodsortedTools
()
relaykit/relayconvert/internal/oai_chat/to_oai_responses_stream_resp.go:832
↓ 1 callersFunctionsourceEditor
()
web/src/features/task-plugins/__tests__/upload-dialog.test.tsx:63
↓ 1 callersFunctionsourceGroupPricingSignature
( groupRatio: string, userUsableGroups: string, topupGroupRatio: string )
web/src/features/system-settings/models/group-ratio-visual-editor.tsx:217
↓ 1 callersFunctionsourceWithoutCommentsAndStrings
(source string)
pluginkit/engine.go:903
↓ 1 callersMethodspend
(bytes, nodes int)
pluginkit/json_state.go:87
↓ 1 callersFunctionsplitDraft
(value: string)
web/src/components/multi-select.tsx:95
↓ 1 callersFunctionsplitFlowLabel
(label: string, maxUnits: number)
web/src/components/ui/markdown.tsx:213
↓ 1 callersFunctionsplitLines
(value: string)
web/src/features/system-settings/request-limits/ssrf-section.tsx:96
↓ 1 callersFunctionsplitModelNamespace
(modelName string)
setting/reasoning/suffix.go:98
↓ 1 callersFunctionsplitTopLevelAnd
(expr: string)
web/src/features/pricing/lib/billing-expr.ts:368
↓ 1 callersFunctionstableStringify
(obj)
web/scripts/sync-i18n.mjs:123
↓ 1 callersMethodstart
start begins the check and the capture of a response.
relay/requestplugin/socket.go:507
↓ 1 callersFunctionstartEmailBinding
( email: string, proofToken: string, signal: AbortSignal )
web/src/features/profile/api.ts:141
↓ 1 callersFunctionstartLogCleanupTask
(targetTimestamp: number)
web/src/features/system-settings/api.ts:69
↓ 1 callersFunctionstartPluginLogin
( channelId: number, keyIndex: number | null, add = false )
web/src/features/channels/api.ts:497
↓ 1 callersFunctionstartServer
()
electron/main.js:222
↓ 1 callersMethodstartTargetReader
(target *websocket.Conn)
relay/responses_websocket.go:784
↓ 1 callersFunctionstartTelegramBind
()
web/src/features/profile/api.ts:224
↓ 1 callersMethodstream
()
web/src/features/playground/hooks/use-stream-request.test.ts:54
↓ 1 callersFunctionstreamMetaResponseZhipu2OpenAI
(zhipuResponse *ZhipuStreamMetaResponse)
relay/channel/zhipu/relay-zhipu.go:144
↓ 1 callersFunctionstreamResponseBaidu2OpenAI
(baiduResponse *BaiduChatStreamResponse)
relay/channel/baidu/relay-baidu.go:78
↓ 1 callersFunctionstreamResponseDify2OpenAI
(difyResponse DifyChunkChatCompletionResponse)
relay/channel/dify/relay-dify.go:190
↓ 1 callersFunctionstreamResponsePaLM2OpenAI
(palmResponse *PaLMChatResponse)
relay/channel/palm/relay-palm.go:40
↓ 1 callersFunctionstreamResponseTencent2OpenAI
(TencentResponse *TencentChatResponse)
relay/channel/tencent/relay-tencent.go:76
↓ 1 callersFunctionstreamResponseXAI2OpenAI
(xAIResp *dto.ChatCompletionsStreamResponse, usage *dto.Usage)
relay/channel/xai/text.go:19
↓ 1 callersFunctionstreamResponseXunfei2OpenAI
(xunfeiResponse *XunfeiChatResponse)
relay/channel/xunfei/relay-xunfei.go:83
↓ 1 callersFunctionstreamResponseZhipu2OpenAI
(zhipuResponse string)
relay/channel/zhipu/relay-zhipu.go:132
↓ 1 callersMethodstreamSource
streamSource is the event source of an upstream HTTP stream: an AWS event stream by its content type, else server-sent events or, without that content
relay/channel/providerplugin/stream.go:86
↓ 1 callersFunctionstreamTaskPluginProtocol
( c *gin.Context, pinned pluginruntime.PinnedEndpoint, protocolRequest pluginruntime.ProtocolRequestContext
controller/plugin_protocol.go:400
↓ 1 callersFunctionstreamedResponse
streamedResponse reports whether a success response is read as a stream: the request's own stream choice, else the client's for the first request, els
relay/channel/providerplugin/chain.go:263
↓ 1 callersFunctionstringArray
(value ojson.Result)
relaykit/relayconvert/internal/shared/claude/schema.go:181
↓ 1 callersFunctionstringArray
(value: unknown)
web/src/features/task-plugins/lib/marketplace.ts:353
↓ 1 callersFunctionstrings
(value)
plugins/tasks/content-moderation/plugin.js:169
↓ 1 callersFunctionstripCustomTags
(input: unknown)
web/src/components/ai-elements/response-content.ts:146
↓ 1 callersFunctionstripProtectedHeaders
(files)
web/scripts/format-with-protected-headers.mjs:90
↓ 1 callersFunctionstripRecordNames
stripRecordNames drops the display names, which come from the plugin meta.
controller/responses_websocket_plugin_test.go:181
↓ 1 callersFunctionstripTrailingZeros
(formatted: string)
web/src/features/pricing/lib/price.ts:32
↓ 1 callersFunctionstripUptimePointSuffix
(value: string)
web/src/features/pricing/components/model-details-charts.tsx:88
↓ 1 callersFunctionstubOAuthPopup
()
web/src/features/auth/secure-verification/__tests__/verification-flow.test.tsx:51
↓ 1 callersFunctionstubResponse
(options: { ok: boolean status?: number body?: string contentLength?: string })
web/src/features/task-plugins/__tests__/plugin-url.test.ts:116
↓ 1 callersFunctionstubStatusEndpoint
Count `/api/status` calls at the network boundary and serve `system_name`.
web/src/lib/__tests__/status-query.test.tsx:52
↓ 1 callersFunctionsubmit
()
web/src/features/task-plugins/components/request-plugin-instance-editor.tsx:295
↓ 1 callersFunctionsubmitForm
()
web/src/features/redemption-codes/components/__tests__/redemptions-mutate-drawer.test.tsx:171
↓ 1 callersFunctionsubmitPaymentForm
( url: string, params: Record<string, unknown> )
web/src/features/wallet/lib/payment.ts:62
↓ 1 callersFunctionsubmitPluginLoginCallback
( plugin: string, params: Record<string, string> )
web/src/features/channels/api.ts:530
↓ 1 callersFunctionsubmitReplyLimit
submitReplyLimit allows inline Base64 images in the submit reply and its SSE events on routes that discard immediate results.
relay/channel/task/jsplugin/adaptor.go:491
← previousnext →8,501–8,600 of 15,592, ranked by callers