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
isStreamClosedReadyState
(readyState?: number)
web/src/features/playground/lib/streaming/stream-utils.ts:93
↓ 1 callers
Function
isStreamDoneMessage
(data: string)
web/src/features/playground/lib/streaming/stream-utils.ts:89
↓ 1 callers
Function
isTableNode
(node: ParsedNode)
web/src/components/ai-elements/response-node-guards.ts:70
↓ 1 callers
Function
isTaskMediaProxyPath
(path string)
controller/video_proxy.go:595
↓ 1 callers
Function
isTemperatureOneOnlyModel
(model string)
relay/channel/moonshot/adaptor.go:99
↓ 1 callers
Function
isTextNode
(node: ParsedNode)
web/src/components/ai-elements/response-node-guards.ts:42
↓ 1 callers
Function
isTimeCondition
(node: ExpressionNode)
web/src/features/pricing/lib/billing-expression/display.ts:246
↓ 1 callers
Function
isTimeFunc
(value: unknown)
web/src/features/pricing/lib/billing-expr.ts:724
↓ 1 callers
Function
isTimeRangePresetDays
(value: unknown)
web/src/features/dashboard/lib/filters.ts:58
↓ 1 callers
Function
isTopFlowNode
( node: FlowPathNode, topNodeSets?: Map<FlowNodeKind, Set<string>> )
web/src/features/dashboard/lib/flow.ts:605
↓ 1 callers
Function
isURLDelim
(r rune)
tokenkit/tokenkit.go:243
↓ 1 callers
Function
isUsageBillingPathLocal
( adminInfo: LogOtherData['admin_info'] )
web/src/features/usage-logs/components/dialogs/details-dialog.tsx:155
↓ 1 callers
Function
isValidCode
(code: number)
web/src/lib/http-status-code-rules.ts:93
↓ 1 callers
Function
isValidNonNegativeCost
(v float64)
controller/ratio_sync.go:982
↓ 1 callers
Function
isValidTaskPublicAddress
(value: string)
web/src/features/system-settings/general/task-public-address.ts:19
↓ 1 callers
Function
isVersionedClaudeWebSearchType
(toolType string)
relaykit/relayconvert/internal/toolconv/decode.go:868
↓ 1 callers
Function
isVertexJsonKey
(value: string | undefined)
web/src/features/channels/lib/channel-form.ts:180
↓ 1 callers
Function
isViewMode
(value: unknown)
web/src/components/data-table/hooks/use-data-table-view-mode.ts:29
↓ 1 callers
Function
isWaffoWebhookConfigured
()
controller/payment_webhook_availability.go:60
↓ 1 callers
Function
issue
(modelName: string, pluginKey: string)
web/src/hooks/__tests__/sidebar-config.test.tsx:206
↓ 1 callers
Method
issue
(w http.ResponseWriter)
service/provider_plugin_test.go:125
↓ 1 callers
Function
issueAccessTokenRevokeProof
(t *testing.T, identity service.AuthIdentity, target service.AccessTokenRevokeContext)
controller/access_token_audit_test.go:142
↓ 1 callers
Function
issueAccessTokenUpdateProof
(t *testing.T, identity service.AuthIdentity, tokenID int, scopes ...string)
controller/access_token_audit_test.go:149
↓ 1 callers
Method
itemResponse
itemResponse is the response whose check reads the item of a conversation.item event: one that wrote text to it and still checks it.
relay/requestplugin/socket.go:548
↓ 1 callers
Function
jimengImageHandler
jimengImageHandler handles the Jimeng image generation response
relay/channel/jimeng/image.go:52
↓ 1 callers
Function
jobVendor
jobVendor creates job-1 and reports it running for runningPolls polls, then done.
router/provider_plugin_gaps_test.go:75
↓ 1 callers
Function
joinedClaudeDeltas
(responses []*dto.ClaudeResponse, deltaType string)
relaykit/relayconvert/internal/oai_responses/to_claude_messages_stream_resp_test.go:108
↓ 1 callers
Method
jsValue
Native JS containers are essential here: a lazily converted Go map would read as a clone, but the result must be ordinary objects a plugin owns.
pkg/jsplugin/json_state.go:454
↓ 1 callers
Function
jsonSmartEnter
()
web/src/components/json-code-editor/json-code-editor-utils.ts:168
↓ 1 callers
Method
jsonString
()
model/log_other.go:173
↓ 1 callers
Method
jwtSignHS256
(claims: Record<string, JSONValue>, secret: string)
docs/plugin-api/v1.d.ts:21
↓ 1 callers
Method
keepAlive
(ctx context.Context, interval time.Duration)
relay/helper/common.go:133
↓ 1 callers
Function
keyCredentialCandidates
keyCredentialCandidates reads a key the ways a channel does: whole, by line or as a JSON array.
service/provider_plugin.go:650
↓ 1 callers
Function
keyExchangeError
keyExchangeError is the relay error of a failed key exchange: the plugin's error with its status, 500 without one.
relay/channel/providerplugin/adaptor.go:619
↓ 1 callers
Function
keyLine
(keyPath: string[])
web/src/features/task-plugins/lib/plugin-document.ts:277
↓ 1 callers
Function
keyStatusResponse
(keys: KeyStatus[])
web/src/features/channels/components/__tests__/multi-key-manage-dialog.test.tsx:61
↓ 1 callers
Function
kling4ReservedUnits
(body)
plugins/tasks/kling/plugin.js:364
↓ 1 callers
Function
klingModel
(model)
plugins/tasks/kling/plugin.js:213
↓ 1 callers
Function
knownAccessTokenScope
(scope string)
service/access_token_scope.go:199
↓ 1 callers
Function
lastLine
lastLine mirrors the library's search for the final startxref line.
relay/requestplugin/pdf.go:988
↓ 1 callers
Function
leaveEdit
()
web/src/features/playground/components/message/playground-message-editor.tsx:70
↓ 1 callers
Method
legacyDallePriceRatio
()
relaykit/dto/legacy_dalle_image.go:38
↓ 1 callers
Function
legacyDallePricingRules
(name string)
model/legacy_dalle_pricing.go:14
↓ 1 callers
Function
legacySunoAudioClips
legacySunoAudioClips projects a pre-plugin Suno task's persisted snapshot into the clips the dashboard audio preview renders. Task lists no longer car
controller/task.go:139
↓ 1 callers
Function
limitRankedModels
(rows []RankedModel, limit int)
service/rankings.go:577
↓ 1 callers
Function
limitRankingMovers
(rows []RankingMover, limit int)
service/rankings.go:584
↓ 1 callers
Function
listChangedFiles
(before, files)
web/scripts/format-with-protected-headers.mjs:120
↓ 1 callers
Function
listSystemInstances
()
web/src/features/system-info/api.ts:38
↓ 1 callers
Function
listWaffoPancakeCatalog
( merchantID: string, privateKey: string )
web/src/features/system-settings/integrations/waffo-pancake-api.ts:63
↓ 1 callers
Method
literalString
()
relay/requestplugin/pdf.go:678
↓ 1 callers
Function
load
( language = 'en', signal = new AbortController().signal, target = plugin )
web/src/features/task-plugins/__tests__/plugin-changelog.test.ts:82
↓ 1 callers
Function
load
(language: string, target = plugin)
web/src/features/task-plugins/__tests__/plugin-readme.test.ts:180
↓ 1 callers
Function
loadAccessToken
(cacheKey, identity string)
relay/channel/vertex/service_account.go:85
↓ 1 callers
Function
loadContent
()
web/src/features/home/hooks/use-home-page-content.ts:41
↓ 1 callers
Function
loadFreshTaskAliasView
(g *jsplugin.RoutingGeneration)
model/task_model_alias.go:71
↓ 1 callers
Function
loadFromBase64
loadFromBase64 从 base64 字符串加载文件
service/file_service.go:319
↓ 1 callers
Function
loadFromURL
loadFromURL 从 URL 加载文件
service/file_service.go:157
↓ 1 callers
Function
loadIconPack
(packId: IconPackId)
web/src/components/react-icon-by-name.tsx:112
↓ 1 callers
Function
loadPricingAdvancedCustomConfigs
loadPricingAdvancedCustomConfigs runs inside updatePricing while updatePricingLock is held, and nests channelSyncLock.RLock. This defines the global l
model/pricing.go:157
↓ 1 callers
Function
loadTagData
()
web/src/features/channels/components/dialogs/tag-batch-edit-dialog.tsx:91
↓ 1 callers
Function
localeFallbackKeys
(language: string)
web/src/lib/localized-text.ts:64
↓ 1 callers
Function
locatePluginCredentialLine
locatePluginCredentialLine finds the stored line of a used credential: at its index, the same line or a newer credential of the same plugin and accoun
service/provider_plugin.go:440
↓ 1 callers
Function
logQuotaDataCache
(quotaData *QuotaData)
model/usedata.go:58
↓ 1 callers
Function
logSystemTaskLockError
(ctx context.Context, task *model.SystemTask, err error)
service/system_task.go:519
↓ 1 callers
Function
logUnavailable
logUnavailable logs an instance whose plugin did not load, at most once a minute per instance.
relay/requestplugin/plan.go:57
↓ 1 callers
Function
login
(payload: LoginPayload)
web/src/features/auth/api.ts:54
↓ 1 callers
Function
loginSecondsMember
(object map[string]any, name string)
pkg/jsplugin/provider.go:1764
↓ 1 callers
Function
loginURLMember
loginURLMember reads an absolute http(s) URL the browser opens.
pkg/jsplugin/provider.go:1777
↓ 1 callers
Function
looksLikeFlowDatum
(value: unknown)
web/src/features/dashboard/components/flow/flow-charts.tsx:185
↓ 1 callers
Function
lookupRequestDirectRoute
(from types.RelayFormat, to types.RelayFormat)
relaykit/relayconvert/request_registry.go:382
↓ 1 callers
Function
main
()
web/scripts/add-copyright.mjs:181
↓ 1 callers
Function
main
()
web/scripts/sync-i18n.mjs:240
↓ 1 callers
Function
makeItem
()
web/src/features/task-plugins/__tests__/plugin-detail-sheet.test.tsx:39
↓ 1 callers
Function
makeItem
(overrides?: Partial<TaskPluginListItem>)
web/src/features/task-plugins/__tests__/plugin-card.test.tsx:40
↓ 1 callers
Function
makeLog
(other: LogOtherData, type = 2)
web/src/features/usage-logs/components/__tests__/detail-preview.test.tsx:51
↓ 1 callers
Function
makeLog
(other: LogOtherData)
web/src/features/usage-logs/components/__tests__/reject-reason.test.tsx:29
↓ 1 callers
Function
makeLog
(other: LogOtherData)
web/src/features/usage-logs/components/__tests__/usage-facts.test.tsx:41
↓ 1 callers
Function
makeRowId
()
web/src/features/task-plugins/components/marketplace-sources-dialog.tsx:61
↓ 1 callers
Function
makeTooltipDimensionUpdateContent
(options?: { collapseOverflow?: boolean })
web/src/features/dashboard/lib/charts.ts:88
↓ 1 callers
Function
makeUniqueName
( existingNames: Set<string>, baseName: string )
web/src/features/system-settings/general/channel-affinity/constants.ts:119
↓ 1 callers
Function
manageUser
( id: number, action: ManageUserAction, proofToken: string )
web/src/features/users/api.ts:152
↓ 1 callers
Function
manageUserQuota
(c *gin.Context, req ManageRequest)
controller/user_quota.go:13
↓ 1 callers
Function
mapOpenAISizeToFlux
(size string)
relay/channel/replicate/adaptor.go:329
↓ 1 callers
Function
mapStatusDataToConfig
( data: StatusData | undefined | null )
web/src/lib/status-query.ts:63
↓ 1 callers
Function
mapTaskStatusToSimple
mapTaskStatusToSimple 将内部 TaskStatus 映射为简化状态字符串
relay/relay_task.go:682
↓ 1 callers
Function
mapVoiceType
(openAIVoice string)
relay/channel/volcengine/tts.go:118
↓ 1 callers
Function
mappedResolution
(value, resolutions)
plugins/tasks/vidu/plugin.js:225
↓ 1 callers
Function
mappingOrderSubmitBody
(t *testing.T, origin, mapping string)
relay/channel/task/jsplugin/adaptor_test.go:1747
↓ 1 callers
Method
markNotRewritable
markNotRewritable records a file a media.text effect asked to rewrite and the host left as it was. It replaces what the call read: the text the hook w
relay/requestplugin/attachments.go:564
↓ 1 callers
Function
markPluginRouteHit
(c *gin.Context)
router/plugin-router.go:395
↓ 1 callers
Function
markRequestPluginOverrides
markRequestPluginOverrides marks the attempt's changes to the body that the channel param override replaced: it changed the member a change wrote, or
relay/common/request_plugin.go:251
↓ 1 callers
Method
markRewritten
(ref string)
relay/requestplugin/attachments.go:556
↓ 1 callers
Function
markServerErrorHandled
(error: unknown)
web/src/lib/handle-server-error.ts:30
↓ 1 callers
Function
marketplacePlugin
( overrides: Partial<MarketplacePlugin> = {} )
web/src/features/task-plugins/__tests__/marketplace.test.ts:44
↓ 1 callers
Function
marketplacePluginParts
(plugin: MarketplacePlugin)
web/src/features/task-plugins/components/marketplace-panel.tsx:75
↓ 1 callers
Function
marshalContextJSON
(context map[string]any)
relay/common/override.go:1204
↓ 1 callers
Function
marshalSystemInstanceInfo
(v any)
model/system_instance.go:103
↓ 1 callers
Function
maskFlowGraphLabels
( nodes: Map<string, DashboardFlowNode>, links: Map<string, DashboardFlowLink> )
web/src/features/dashboard/lib/flow.ts:702
↓ 1 callers
Function
maskFlowLabel
(label: string)
web/src/features/dashboard/lib/flow.ts:694
↓ 1 callers
Function
maskHostForURL
maskHostForURL collapses subdomains and keeps only masked prefix + preserved tail. Example: api.openai.com -> ***.com, sub.domain.co.uk -> ***.co.uk
relaykit/relayconvert/kitutil/mask.go:45
← previous
next →
7,301–7,400 of 15,409, ranked by callers