Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/QuantumNous/new-api
/ functions
Functions
15,409 in github.com/QuantumNous/new-api
⨍
Functions
15,409
◇
Types & classes
2,241
↓ 1 callers
Function
handleSelect
(selectedValue: string)
web/src/features/keys/components/api-key-group-combobox.tsx:90
↓ 1 callers
Function
handleSetExpiry
(months: number, days: number, hours: number)
web/src/features/redemption-codes/components/redemptions-mutate-drawer.tsx:241
↓ 1 callers
Function
handleSetExpiry
(months: number, days: number, hours: number)
web/src/features/keys/components/api-keys-mutate-drawer.tsx:349
↓ 1 callers
Function
handleShowDrawer
(group: PrefillGroup | null)
web/src/features/models/components/dialogs/prefill-group-management.tsx:61
↓ 1 callers
Function
handleSourceChange
(source: string)
web/src/features/system-settings/models/tiered-pricing-editor.tsx:392
↓ 1 callers
Function
handleStatusFilterChange
(value: string)
web/src/features/channels/components/dialogs/multi-key-manage-dialog.tsx:185
↓ 1 callers
Function
handleStream
(c *gin.Context, info *relaycommon.RelayInfo, resp *dto.ChatCompletionsStreamResponse)
relay/channel/gemini/relay-gemini.go:183
↓ 1 callers
Function
handleSubmit
()
web/src/features/system-settings/models/task-pricing-matrix.tsx:109
↓ 1 callers
Function
handleTTSResponse
(c *gin.Context, resp *http.Response, info *relaycommon.RelayInfo)
relay/channel/minimax/tts.go:108
↓ 1 callers
Function
handleTTSResponse
(c *gin.Context, resp *http.Response, info *relaycommon.RelayInfo, encoding string)
relay/channel/volcengine/tts.go:145
↓ 1 callers
Function
handleTTSWebSocketResponse
(c *gin.Context, requestURL string, volcRequest VolcengineTTSRequest, info *relaycommon.RelayInfo, encoding st
relay/channel/volcengine/tts.go:199
↓ 1 callers
Function
handleTest
()
web/src/features/channels/components/data-table-row-actions.tsx:108
↓ 1 callers
Function
handleTestAllChannels
( queryClient?: QueryClient, onSuccess?: () => void )
web/src/features/channels/lib/channel-actions.ts:638
↓ 1 callers
Function
handleTextPartChange
(index: number, value: string)
web/src/components/risk-acknowledgement-dialog.tsx:174
↓ 1 callers
Function
handleThinkingBudgetModel
处理带有思考预算的模型名称,方便统一定价
setting/ratio_setting/model_ratio.go:378
↓ 1 callers
Function
handleToggleChannelStatus
( id: number, currentStatus: number, queryClient?: QueryClient, onSuccess?: () => void )
web/src/features/channels/lib/channel-actions.ts:173
↓ 1 callers
Function
handleToggleGroup
(group: string)
web/src/features/channels/components/dialogs/edit-tag-dialog.tsx:136
↓ 1 callers
Function
handleToggleModelStatus
( id: number, currentStatus: number, queryClient?: QueryClient, onSuccess?: () => void )
web/src/features/models/lib/model-actions.ts:88
↓ 1 callers
Function
handleTypeChange
(value: string)
web/src/features/system-settings/models/channel-selector-dialog.tsx:233
↓ 1 callers
Function
handleUpdateChannelField
( id: number, fieldName: string, value: number, queryClient?: QueryClient, onSuccess?: () => void )
web/src/features/channels/lib/channel-actions.ts:211
↓ 1 callers
Function
handleWaffoPayment
handleWaffoPayment 处理支付完成通知
controller/topup_waffo.go:394
↓ 1 callers
Function
hardenIsolatedHtml
(html: string)
web/src/components/html-content.tsx:90
↓ 1 callers
Method
hasAddress
hasAddress reports whether the schema has a top-level url property name.
pkg/jsplugin/config_schema.go:300
↓ 1 callers
Function
hasChatCompletionChoice
( response: ChatCompletionResponse )
web/src/features/playground/lib/message/message-streaming-utils.ts:181
↓ 1 callers
Function
hasConfiguredJson
(value: string | undefined)
web/src/features/channels/lib/channel-configuration.ts:128
↓ 1 callers
Function
hasCustomModelRatio
(modelName string, currentRatio float64)
service/quota.go:41
↓ 1 callers
Function
hasDynamicRequestRules
(model: PricingModel)
web/src/features/pricing/lib/dynamic-price.ts:267
↓ 1 callers
Function
hasEnabledMultiKey
(keys []string, statusList map[int]int)
model/channel.go:848
↓ 1 callers
Function
hasFormErrors
(errors: unknown)
web/src/components/ui/form.tsx:45
↓ 1 callers
Function
hasGeneratedMarker
(text)
web/scripts/add-copyright.mjs:81
↓ 1 callers
Function
hasKlingImage
(req, hasInputReferenceFile)
plugins/tasks/kling/plugin.js:270
↓ 1 callers
Function
hasLegacySearchSurcharge
( enabled: boolean | undefined, count: number | undefined, price: number | undefined )
web/src/features/usage-logs/lib/format.ts:102
↓ 1 callers
Function
hasMetric
(datum: Record<string, unknown>, key: string)
web/src/features/dashboard/lib/flow.ts:1094
↓ 1 callers
Function
hasModelConfigChanged
( currentModels: string[], currentModelMapping: string, initialModels: string[], initialModelMapping:
web/src/features/channels/lib/model-mapping-validation.ts:102
↓ 1 callers
Function
hasRatio
(value: number | null | undefined)
web/src/features/pricing/lib/price.ts:101
↓ 1 callers
Function
hasRemovableDisabledField
(jsonData []byte, channelOtherSettings dto.ChannelOtherSettings)
relay/common/relay_info.go:1273
↓ 1 callers
Function
hasSessionHint
()
web/src/lib/session-hint.ts:57
↓ 1 callers
Function
hasThirdPartyCopyright
(text)
web/scripts/add-copyright.mjs:85
↓ 1 callers
Function
hasUnsafeLocale
(node, sourceCode, visited = new Set())
web/scripts/oxlint/intl-locale.mjs:63
↓ 1 callers
Function
hasValidAdvancedCustomModelListRoute
( config: AdvancedCustomConfig | null )
web/src/features/channels/lib/advanced-custom.ts:741
↓ 1 callers
Method
hash
()
relay/requestplugin/attachments.go:204
↓ 1 callers
Function
hashString
(value: string)
web/src/lib/avatar.ts:23
↓ 1 callers
Function
hashString
(input: string)
web/src/hooks/use-notifications.ts:27
↓ 1 callers
Function
heightFor
(uptime: number)
web/src/features/pricing/components/model-details-uptime-sparkline.tsx:60
↓ 1 callers
Method
hexString
()
relay/requestplugin/pdf.go:642
↓ 1 callers
Function
highlightExprDiff
(expr: string, base: unknown)
web/src/features/system-settings/models/upstream-price-cells.tsx:110
↓ 1 callers
Function
hmacSHA256
hmacSHA256 计算 HMAC-SHA256
relay/channel/jimeng/sign.go:174
↓ 1 callers
Method
hmacSHA256
hmacSHA256(message, secret) with two strings returns the hex digest. A bytes result can key the next call, as AWS SigV4 and Tencent Cloud TC3 derive t
docs/plugin-api/v1.d.ts:18
↓ 1 callers
Function
hmacSha256
(s, key string)
relay/channel/tencent/relay-tencent.go:181
↓ 1 callers
Function
hostOf
(address: string)
web/src/features/task-plugins/components/community-plugin-reach.tsx:40
↓ 1 callers
Function
hostWithoutPort
(host string)
service/passkey/service.go:224
↓ 1 callers
Function
hostedCompletionStatus
(item HostedResponseItem)
relaykit/relayconvert/internal/toolconv/response_artifacts.go:771
↓ 1 callers
Function
hostedPositions
(items []positionedResponsesOutput)
relaykit/relayconvert/internal/toolconv/response_artifacts.go:650
↓ 1 callers
Function
hostedResultString
(value []byte)
relaykit/relayconvert/internal/oai_chat/to_oai_responses_stream_resp.go:969
↓ 1 callers
Function
identityFilterRequiresKey
(filters []dto.ChannelFilter)
model/ability.go:216
↓ 1 callers
Function
imageDatum
(image)
plugins/tasks/alibaba/plugin.js:779
↓ 1 callers
Function
imageEstimate
(ctx, converted)
plugins/tasks/alibaba/plugin.js:712
↓ 1 callers
Function
imageFormatName
(mime: string)
web/src/features/usage-logs/components/request-plugin-record.tsx:112
↓ 1 callers
Function
imageSize
(size, profile, layered)
plugins/tasks/doubao/plugin.js:495
↓ 1 callers
Function
imageUsage
(body, profile)
plugins/tasks/doubao/plugin.js:647
↓ 1 callers
Function
impact
(field: MetadataSyncField)
web/src/features/models/components/dialogs/sync-wizard-dialog.tsx:284
↓ 1 callers
Function
importPluginDispatchState
()
router/plugin-router.go:376
↓ 1 callers
Function
incomingRequestPath
(c *gin.Context, info *relaycommon.RelayInfo)
relay/channel/advancedcustom/adaptor.go:413
↓ 1 callers
Function
increaseQuotaData
(quotaData *QuotaData)
model/usedata.go:135
↓ 1 callers
Function
increaseUserQuota
(id int, quota int)
model/user.go:1367
↓ 1 callers
Method
incrementBillableToolCall
(name string)
relay/common/tool_usage.go:125
↓ 1 callers
Function
index
(plugins: MarketplacePlugin[])
web/src/features/task-plugins/__tests__/marketplace.test.ts:598
↓ 1 callers
Function
indexComma
(s string)
relaykit/dto/openai_image.go:158
↓ 1 callers
Function
init
()
web/src/features/wallet/components/subscription-plans-card.tsx:157
↓ 1 callers
Method
initChannelMeta
()
service/task_polling_test.go:68
↓ 1 callers
Function
initConstantEnv
()
common/init.go:186
↓ 1 callers
Function
initDefaultVendorMapping
initDefaultVendorMapping 简化的默认供应商映射
model/pricing_default.go:73
↓ 1 callers
Function
initModelListColumnNames
(t *testing.T)
controller/model_list_test.go:64
↓ 1 callers
Function
initNodeNameIdentity
()
common/node_identity.go:12
↓ 1 callers
Function
injectGlobals
injectGlobals installs utils and console. currentCall returns the hook call running on runtime, or nil outside one; utils.fetch reads its fetcher and
pkg/jsplugin/utils.go:44
↓ 1 callers
Function
inlineJSONFilePlaceholders
(c *gin.Context, body any)
relay/channel/task/jsplugin/adaptor.go:469
↓ 1 callers
Function
inputContentText
(t *testing.T, item map[string]any)
relaykit/relayconvert/request_registry_test.go:1067
↓ 1 callers
Function
insertPreferredOwnerCandidate
( t *testing.T, channelID int, modelName string, group string, channelType int, priority int64, weight
model/model_owner_test.go:18
↓ 1 callers
Function
inspectClaudeContentBlock
(block *dto.ClaudeMediaMessage, path string, to types.RelayFormat, stream bool)
relaykit/relayconvert/internal/toolconv/response.go:117
↓ 1 callers
Function
inspectClaudeResponse
(response *dto.ClaudeResponse, to types.RelayFormat)
relaykit/relayconvert/internal/toolconv/response.go:96
↓ 1 callers
Function
inspectConflictingPrefillGroupUniqueness
(db *gorm.DB, tableName string)
model/prefill_group_migration.go:26
↓ 1 callers
Function
inspectGeminiGroundingCitations
(content dto.GeminiChatContent, metadata *dto.GeminiGroundingMetadata, path string)
relaykit/relayconvert/internal/toolconv/response.go:415
↓ 1 callers
Function
inspectGeminiResponse
(response *dto.GeminiChatResponse, to types.RelayFormat)
relaykit/relayconvert/internal/toolconv/response.go:365
↓ 1 callers
Function
inspectOpenAIResponsesResponse
(response *dto.OpenAIResponsesResponse, to types.RelayFormat)
relaykit/relayconvert/internal/toolconv/response.go:232
↓ 1 callers
Function
inspectOpenAIResponsesStreamResponse
(response *dto.ResponsesStreamResponse)
relaykit/relayconvert/internal/toolconv/response.go:329
↓ 1 callers
Function
inspectPrefillGroupNameIndex
(db *gorm.DB, tableName string)
model/prefill_group_migration.go:72
↓ 1 callers
Function
installApiFixtures
(createdPayloads: Array<Record<string, unknown>>)
web/src/features/keys/components/__tests__/api-keys-mutate-drawer.test.tsx:52
↓ 1 callers
Function
installBuildMetadata
()
web/src/lib/build-metadata.ts:88
↓ 1 callers
Function
installIndexFetchMock
()
web/src/features/task-plugins/__tests__/marketplace-panel.test.tsx:106
↓ 1 callers
Function
installMarketplacePlugin
(request: { source: string sourceSha256?: string remark: string icon?: string /** The marketplace so
web/src/features/task-plugins/api.ts:118
↓ 1 callers
Function
installed
( key: string, name: string, parts: TaskPluginParts )
web/src/features/task-plugins/__tests__/plugin-kinds.test.tsx:43
↓ 1 callers
Function
installedPlugin
( key: string, version: string, overrides: Partial<TaskPluginListItem> = {} )
web/src/features/task-plugins/__tests__/marketplace.test.ts:71
↓ 1 callers
Function
installedTaskPluginModels
installedTaskPluginModels returns the models declared by the installed version of a plugin: its active override row, or else its built-in. A plugin th
model/model_pricing_config.go:466
↓ 1 callers
Function
instance
( name: string, status: SystemInstanceStatus, withSync = true )
web/src/features/system-info/__tests__/system-instances-panel.test.tsx:45
↓ 1 callers
Function
instance
(id: string, name: string)
web/src/features/channels/components/__tests__/channel-configuration.test.tsx:1601
↓ 1 callers
Function
intPointer
(value int)
relaykit/relayconvert/internal/oai_responses/to_oai_chat_resp_test.go:574
↓ 1 callers
Function
intPointer
(value int)
relay/plugin_protocol.go:1071
↓ 1 callers
Function
integerSliceMetaField
(object map[string]any, name string)
pkg/jsplugin/registry.go:2400
↓ 1 callers
Method
interpret
interpret reads the text operators of a content stream.
relay/requestplugin/pdf.go:228
↓ 1 callers
Function
intersectingReservedNamespace
(routePath string)
pkg/jsplugin/routing.go:865
← previous
next →
7,101–7,200 of 15,409, ranked by callers