Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/QuantumNous/new-api
/ functions
Functions
15,592 in github.com/QuantumNous/new-api
⨍
Functions
15,592
◇
Types & classes
2,267
↓ 2 callers
Function
handleClearSelection
()
web/src/features/channels/components/data-table-bulk-actions.tsx:81
↓ 2 callers
Function
handleConfigUpdate
handleConfigUpdate 处理分层配置更新,返回是否已处理
model/option.go:721
↓ 2 callers
Function
handleDropdownMenuItemSelect
( event: DropdownMenuItemSelectEvent, onClick?: React.MouseEventHandler<HTMLElement>, onSelect?: Dropdow
web/src/components/ui/dropdown-menu-events.ts:29
↓ 2 callers
Function
handleEdit
(faq: FAQ)
web/src/features/system-settings/content/faq-section.tsx:147
↓ 2 callers
Function
handleFetchModels
()
web/src/features/channels/components/dialogs/fetch-models-dialog.tsx:108
↓ 2 callers
Function
handleOpenChange
(open: boolean)
web/src/features/security/components/dialogs/wechat-bind-dialog.tsx:77
↓ 2 callers
Function
handleOpenChange
(open: boolean)
web/src/features/security/components/dialogs/email-bind-dialog.tsx:108
↓ 2 callers
Function
handlePageChange
(newPage: number)
web/src/features/channels/components/dialogs/multi-key-manage-dialog.tsx:192
↓ 2 callers
Function
handlePermissionRoute
handlePermissionRoute registers a Casbin-guarded route and declares the same permission as the access token scope that route requires.
router/channel-router.go:22
↓ 2 callers
Function
handleRemove
(amount: number)
web/src/features/system-settings/integrations/amount-options-visual-editor.tsx:76
↓ 2 callers
Function
handleSelect
(selectedValue: string)
web/src/components/ui/combobox-input.tsx:159
↓ 2 callers
Function
handleTestChannel
( id: number, options?: { channelName?: string testModel?: string endpointType?: string st
web/src/features/channels/lib/channel-actions.ts:277
↓ 2 callers
Function
handleUpdateAllBalances
( queryClient?: QueryClient, onSuccess?: () => void )
web/src/features/channels/lib/channel-actions.ts:718
↓ 2 callers
Function
handleUpdateTagField
( tag: string, fieldName: 'priority' | 'weight', value: number, queryClient?: QueryClient, onSuccess
web/src/features/channels/lib/channel-actions.ts:243
↓ 2 callers
Function
handleWeChatDialogChange
(open: boolean)
web/src/features/auth/sign-up/components/sign-up-form.tsx:213
↓ 2 callers
Function
handleWeChatDialogChange
(open: boolean)
web/src/features/auth/sign-in/components/user-auth-form.tsx:209
↓ 2 callers
Function
handlerMultiKeyUpdate
(channel *Channel, usingKey string, status int, reason string)
model/channel.go:796
↓ 2 callers
Function
hasEnabledMultiKey
(channel *model.Channel)
controller/channel.go:95
↓ 2 callers
Function
hasHostDiagnosticCode
(diagnostics []types.ConversionDiagnostic, code string)
relay/convert_request_error_test.go:249
↓ 2 callers
Function
hasToolSurcharge
(other: LogOtherData | null)
web/src/features/usage-logs/lib/format.ts:123
↓ 2 callers
Function
hasValidTokenFields
(value: Record<string, unknown>)
web/src/lib/auth-session.ts:119
↓ 2 callers
Function
hasVideo
(content)
plugins/tasks/doubao/plugin.js:420
↓ 2 callers
Function
hash
(value: string)
web/src/features/task-plugins/__tests__/marketplace-updates-dialog.test.tsx:49
↓ 2 callers
Method
headerOverrideInfo
headerOverrideInfo carries the channel's Request Header Override for a request built outside the client request, with {api_key} set to key.
relay/channel/task/jsplugin/adaptor.go:1254
↓ 2 callers
Function
headerValue
(ctx, name)
plugins/tasks/alibaba/plugin.js:386
↓ 2 callers
Method
hook
hook resolves a hook path against the module's export table. Only declared exports resolve; the handle is cached, while the bindings it names are read
pluginkit/engine.go:568
↓ 2 callers
Function
hostAllowed
(request *url.URL, allowedHosts []string)
pluginkit/request.go:42
↓ 2 callers
Function
hostedEventPrefix
(outputType string)
relaykit/relayconvert/internal/oai_chat/to_oai_responses_stream_resp.go:928
↓ 2 callers
Function
hostedJSONString
(value []byte)
relaykit/relayconvert/internal/oai_chat/to_oai_responses_stream_resp.go:955
↓ 2 callers
Function
hostedOutsideRegularRange
(hosted []int, regular []int)
relaykit/relayconvert/internal/toolconv/response_artifacts.go:666
↓ 2 callers
Function
hostedTerminalEvent
(outputType string, failed bool)
relaykit/relayconvert/internal/oai_chat/to_oai_responses_stream_resp.go:939
↓ 2 callers
Function
imageCountPricingRoot
(node: ExpressionNode)
web/src/features/pricing/lib/billing-expression/visual.ts:208
↓ 2 callers
Function
imageEntries
(body)
plugins/tasks/doubao/plugin.js:643
↓ 2 callers
Function
imageInput
(value, files)
plugins/tasks/google/plugin.js:141
↓ 2 callers
Function
imageMime
The MIME type of an object that holds an image as base64 data.
web/src/features/task-plugins/components/request-plugin-try-panel.tsx:139
↓ 2 callers
Function
imageModelCandidates
(ctx)
plugins/tasks/doubao/plugin.js:485
↓ 2 callers
Function
imagePayloads
(body, profile)
plugins/tasks/doubao/plugin.js:663
↓ 2 callers
Function
imageProtocolTestOutcome
(info *relaycommon.RelayInfo, status model.TaskStatus, images ...string)
controller/plugin_protocol_test.go:1660
↓ 2 callers
Function
imageRatios
(ctx, converted, count)
plugins/tasks/alibaba/plugin.js:727
↓ 2 callers
Function
imageSizePixels
(value)
plugins/tasks/doubao/plugin.js:503
↓ 2 callers
Function
imageUsage
(ctx, body)
plugins/tasks/alibaba/plugin.js:753
↓ 2 callers
Method
incomplete
()
relay/plugin_protocol.go:948
↓ 2 callers
Function
increaseTokenQuota
(id int, quota int)
model/token.go:402
↓ 2 callers
Function
indexCustomOAuthBindings
( bindings: CustomOAuthBinding[] )
web/src/lib/oauth.ts:33
↓ 2 callers
Function
indexHasIntegrityHashes
(index: MarketplaceIndex)
web/src/features/task-plugins/lib/marketplace.ts:443
↓ 2 callers
Function
initTaskArtifactAdaptor
(task *model.Task)
controller/task.go:215
↓ 2 callers
Function
initUserSessionSettings
()
common/init.go:149
↓ 2 callers
Function
initializeFrontendCache
()
web/src/lib/frontend-cache.ts:32
↓ 2 callers
Function
inputImage
(ctx, image)
plugins/tasks/vertex-ai/plugin.js:162
↓ 2 callers
Method
insertStart
(task *model.Task)
controller/task_plugin_debug.go:171
↓ 2 callers
Function
insertSubscriptionOrderForPaymentGuardTest
(t *testing.T, tradeNo string, userID int, planID int, paymentProvider string)
model/payment_method_guard_test.go:40
↓ 2 callers
Function
insertSubscriptionPlanForPaymentGuardTest
(t *testing.T, id int)
model/payment_method_guard_test.go:24
↓ 2 callers
Function
insertTopUpForPaymentGuardTest
(t *testing.T, tradeNo string, userID int, paymentProvider string)
model/payment_method_guard_test.go:55
↓ 2 callers
Function
insertUsersForPaginationTest
(t *testing.T, total int)
model/user_pagination_test.go:12
↓ 2 callers
Function
inspectTokenKeyIndex
(db *gorm.DB, tableName string)
model/token_migration.go:76
↓ 2 callers
Function
inspectTokenKeyUniqueConstraints
(db *gorm.DB, tableName string)
model/token_migration.go:30
↓ 2 callers
Function
installMarketplaceRelease
( source: MarketplaceSource, entry: MarketplaceIndexVersion, download: Awaited<ReturnType<typeof downloa
web/src/features/task-plugins/lib/marketplace-install.ts:74
↓ 2 callers
Function
integerField
(value, name, minimum, maximum)
plugins/tasks/xai/plugin.js:154
↓ 2 callers
Function
integerMetaField
(object map[string]any, name string)
pluginkit/meta.go:1976
↓ 2 callers
Function
integerSliceMetaField
(object map[string]any, name string)
pluginkit/meta.go:2002
↓ 2 callers
Function
interleavedReasoningAndTextOutput
()
relaykit/relayconvert/internal/oai_responses/to_oai_chat_resp_test.go:565
↓ 2 callers
Method
invalidAttempt
(now time.Time, ip string)
middleware/task_artifact_access.go:54
↓ 2 callers
Function
invalidateMarketplaceInstalls
( client: QueryClient, keys: string[] )
web/src/features/task-plugins/lib/marketplace-install.ts:108
↓ 2 callers
Function
invalidateUserCache
invalidateUserCache clears user cache
model/user_cache.go:75
↓ 2 callers
Function
inviteUser
(inviterId int)
model/user.go:572
↓ 2 callers
Method
ipAccessError
(host string, ip net.IP)
common/ssrf_protection.go:265
↓ 2 callers
Method
is
(text: string)
web/src/features/pricing/lib/billing-expression/parser.ts:205
↓ 2 callers
Function
isAuditDetailObject
( value: unknown )
web/src/features/usage-logs/audit/lib/audit-details.ts:77
↓ 2 callers
Function
isCanonicalLanguageTag
(tag: string)
web/src/features/task-plugins/lib/marketplace.ts:287
↓ 2 callers
Function
isCatchAllRoute
(route: AdvancedCustomRoute)
web/src/features/channels/components/dialogs/advanced-custom-editor-dialog.tsx:173
↓ 2 callers
Function
isClickHouseDSN
(dsn string)
model/main.go:120
↓ 2 callers
Method
isClosed
()
relay/requestplugin/socket.go:450
↓ 2 callers
Function
isCreemTopUpEnabled
()
controller/payment_webhook_availability.go:31
↓ 2 callers
Function
isCreemWebhookEnabled
()
controller/payment_webhook_availability.go:45
↓ 2 callers
Function
isCurrent
()
web/src/features/playground/hooks/use-stream-request.ts:103
↓ 2 callers
Function
isDisabledApiKeyRow
(apiKey: ApiKey)
web/src/features/keys/components/api-keys-table.tsx:74
↓ 2 callers
Function
isDocumentLinkTarget
(href: string)
web/src/features/task-plugins/lib/plugin-document.ts:214
↓ 2 callers
Function
isEpayTopUpEnabled
()
controller/payment_webhook_availability.go:95
↓ 2 callers
Function
isFileRef
(value)
plugins/tasks/alibaba/plugin.js:492
↓ 2 callers
Function
isFixedPriceSettlement
A failed evaluation retains the reservation and its estimated billing unit. Successful evaluations always use the actual branch, including zero prices
service/tiered_settle.go:279
↓ 2 callers
Function
isHTTPURL
(text string)
relay/requestplugin/task_report.go:262
↓ 2 callers
Function
isHeaderPassthroughRuleKey
(key string)
relay/channel/api_request.go:130
↓ 2 callers
Function
isHeaderPassthroughRuleKeyForOverride
(key string)
relay/common/override.go:574
↓ 2 callers
Function
isHtmlBlockNode
(node: ParsedNode)
web/src/components/ai-elements/response-node-guards.ts:96
↓ 2 callers
Function
isImageInput
(value)
plugins/tasks/alibaba/plugin.js:498
↓ 2 callers
Function
isInteraction
(body)
plugins/tasks/vertex-ai/plugin.js:211
↓ 2 callers
Function
isJSONRequest
(c *gin.Context)
relay/channel/openai/adaptor.go:652
↓ 2 callers
Function
isKnownClaudeModel
(modelName string)
relaykit/relayconvert/reasoning/suffix.go:155
↓ 2 callers
Function
isKnownClaudeWebSearchType
(toolType string)
relaykit/relayconvert/internal/toolconv/decode.go:859
↓ 2 callers
Function
isKnownPermission
(permission Permission)
service/authz/registry.go:93
↓ 2 callers
Function
isKnownResource
(resource string)
service/authz/registry.go:75
↓ 2 callers
Function
isLogTypeValue
(value: string)
web/src/features/usage-logs/components/common-logs-filter-bar.tsx:74
↓ 2 callers
Function
isLoginSession
(value: unknown)
web/src/lib/auth-session.ts:104
↓ 2 callers
Function
isMultiKeyChannel
(channel: Channel)
web/src/features/channels/lib/channel-utils.ts:162
↓ 2 callers
Function
isNilContext
(ctx context.Context)
relaykit/relayconvert/internal/convdiag/collector.go:38
↓ 2 callers
Function
isNonTerminalPollStatus
(status model.TaskStatus)
service/task_polling.go:840
↓ 2 callers
Function
isObject
(value: unknown)
web/src/features/task-plugins/components/request-plugin-try-panel.tsx:134
↓ 2 callers
Function
isObjectRecord
( data: unknown )
web/src/features/system-settings/utils/json-validators.ts:19
↓ 2 callers
Function
isOpenAIResponsesWebSearchType
(toolType string)
relaykit/relayconvert/internal/toolconv/decode.go:846
↓ 2 callers
Function
isOperationBlank
(operation: ParamOverrideOperation)
web/src/features/channels/components/dialogs/param-override-editor-dialog.tsx:558
← previous
next →
4,201–4,300 of 15,592, ranked by callers