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
sankeyDatumSource
( datum: Record<string, unknown> )
web/src/features/dashboard/lib/flow.ts:1034
↓ 1 callers
Function
save
(submitted: RoutingPolicyFormValues)
web/src/features/system-settings/request-policies/routing-section.tsx:87
↓ 1 callers
Function
saveButton
()
web/src/features/system-settings/models/__tests__/price-changes.test.tsx:136
↓ 1 callers
Function
saveGranularity
(granularity: TimeGranularity)
web/src/features/dashboard/lib/filters.ts:85
↓ 1 callers
Function
saveManagedKeyStatus
saveManagedKeyStatus runs change on the stored multi-key channel and writes the key statuses, channel status and status reason it leaves. A change ano
controller/channel.go:149
↓ 1 callers
Function
saveSetupGuideExpanded
(expanded: boolean)
web/src/features/dashboard/components/overview/overview-dashboard.tsx:135
↓ 1 callers
Function
saveWaffoPancakeConfig
(params: { merchantID: string privateKey: string returnURL: string storeID: string productID: string
web/src/features/system-settings/integrations/waffo-pancake-api.ts:87
↓ 1 callers
Function
savedConfig
What the channel would save, as the drawer converts it on submit.
web/src/features/channels/components/__tests__/channel-plugin-config-fields.test.tsx:84
↓ 1 callers
Function
savedPlugin
(active: boolean)
web/src/features/task-plugins/__tests__/upload-dialog.test.tsx:77
↓ 1 callers
Function
savedSettings
(form: ChannelFormValues)
web/src/features/channels/lib/__tests__/vertex-channel.test.ts:47
↓ 1 callers
Function
scalarTimeGroup
( value: string, timeFunc: TimeFunc = 'hour' )
web/src/features/pricing/lib/__tests__/time-rule-expr.test.ts:53
↓ 1 callers
Function
scopesToPermissionMatrix
( scopes: readonly string[] )
web/src/lib/admin-permissions.ts:133
↓ 1 callers
Function
scrollParent
(element: HTMLElement)
web/src/features/channels/hooks/use-channel-priority-drag.ts:43
↓ 1 callers
Function
searchApiKeys
( params: SearchApiKeysParams )
web/src/features/keys/api.ts:45
↓ 1 callers
Function
searchCalls
()
web/src/features/channels/components/__tests__/table-refresh.test.tsx:137
↓ 1 callers
Function
searchChannels
( params: SearchChannelsParams )
web/src/features/channels/api.ts:191
↓ 1 callers
Function
searchDeployments
(params: { p?: number page_size?: number status?: string keyword?: string })
web/src/features/models/api.ts:364
↓ 1 callers
Function
searchEntriesFor
(role: number, sidebarModulesAdmin = '')
web/src/components/__tests__/command-menu.test.tsx:76
↓ 1 callers
Function
searchRedemptions
( params: SearchRedemptionsParams )
web/src/features/redemption-codes/api.ts:44
↓ 1 callers
Function
searchUsers
( params: SearchUsersParams )
web/src/features/users/api.ts:72
↓ 1 callers
Function
secondImage
(req)
plugins/tasks/alibaba/plugin.js:442
↓ 1 callers
Method
section
section reads the cross-reference table or stream at offset into the table and returns its trailer dictionary.
relay/requestplugin/pdf.go:1005
↓ 1 callers
Function
securityProofError
(c *gin.Context, code, message string)
middleware/secure_verification.go:82
↓ 1 callers
Function
seedBuiltInRoles
(db *gorm.DB)
service/authz/seed.go:11
↓ 1 callers
Function
seedDefaultPolicies
()
service/authz/seed.go:49
↓ 1 callers
Function
seedFlowLookupData
(t *testing.T)
model/usedata_flow_test.go:15
↓ 1 callers
Function
seedFlowQuotaData
(t *testing.T, quotaData QuotaData)
model/usedata_flow_test.go:10
↓ 1 callers
Function
seedanceDisplayTiers
()
web/src/features/pricing/__tests__/breakdown-tier-match.test.ts:36
↓ 1 callers
Function
seedanceUsageExamples
(profile)
plugins/tasks/doubao/plugin.js:263
↓ 1 callers
Function
seedanceUsageSchema
(profile)
plugins/tasks/doubao/plugin.js:224
↓ 1 callers
Function
seedreamUsageSchema
(profile)
plugins/tasks/doubao/plugin.js:192
↓ 1 callers
Function
selectComboboxOption
( trigger: HTMLButtonElement, optionDescription: string )
web/src/features/keys/components/__tests__/api-keys-mutate-drawer.test.tsx:184
↓ 1 callers
Function
selectCurrency
(label: string)
web/src/features/model-pricing/__tests__/editor-currency.test.tsx:132
↓ 1 callers
Function
selectFile
(file?: File)
web/src/features/task-plugins/components/plugin-source-picker.tsx:44
↓ 1 callers
Function
selectSource
( user: ReturnType<typeof userEvent.setup>, source: string )
web/src/features/task-plugins/__tests__/upload-dialog.test.tsx:195
↓ 1 callers
Function
selectTemplate
(nextTemplateKey: string)
web/src/features/channels/components/dialogs/advanced-custom-editor-dialog.tsx:626
↓ 1 callers
Function
selectedNodeFiltersExceptKind
( selectedNodes: readonly FlowNodeFilter[] | undefined, kind: FlowNodeKind )
web/src/features/dashboard/lib/flow.ts:406
↓ 1 callers
Function
sendBarkNotify
(barkURL string, data dto.Notify)
service/user_notify.go:135
↓ 1 callers
Function
sendChatCompletion
( payload: ChatCompletionRequest, signal?: AbortSignal )
web/src/features/playground/api.ts:33
↓ 1 callers
Function
sendCode
(email: string)
web/src/features/auth/hooks/use-email-verification.ts:50
↓ 1 callers
Function
sendEmailNotify
(userEmail string, data dto.Notify)
service/user_notify.go:125
↓ 1 callers
Function
sendEmailVerification
( email: string, turnstile?: string )
web/src/features/auth/api.ts:258
↓ 1 callers
Function
sendFetchModelsRequest
sendFetchModelsRequest sends a model list request through the channel's proxy and TLS setting. The caller closes the response body.
controller/channel_upstream_update.go:356
↓ 1 callers
Function
sendGotifyNotify
(gotifyUrl string, gotifyToken string, priority int, data dto.Notify)
service/user_notify.go:204
↓ 1 callers
Function
sendPasswordResetEmail
( email: string, turnstile?: string )
web/src/features/auth/api.ts:152
↓ 1 callers
Function
sendResendEmail
API contract: https://resend.com/docs/api-reference/emails/send-email OWASP Authentication / Session Management / Forgot Password cheat sheets: do not
common/email_resend.go:40
↓ 1 callers
Method
sendStep
sendStep sends one request of a plugin route as DoApiRequest does, with the request's own method, address and headers: the route or credential auth, t
relay/channel/providerplugin/chain.go:114
↓ 1 callers
Function
sendToFluent
(apiKey: string, serverAddress?: string)
web/src/features/chat/lib/send-to-fluent.ts:19
↓ 1 callers
Function
sendable
(config, attachment)
plugins/tasks/content-moderation/plugin.js:334
↓ 1 callers
Function
sensitiveWordInstanceName
()
model/sensitive_word_migration.go:91
↓ 1 callers
Function
sensitiveWordLines
sensitiveWordLines is the old word list, one word per line, as the check read it: lines trimmed, empty lines dropped.
model/sensitive_word_migration.go:81
↓ 1 callers
Function
separatedResponsesDelta
(delta string)
relaykit/relayconvert/internal/oai_responses/to_claude_messages_stream_resp.go:492
↓ 1 callers
Function
serializeEndpointItems
(items: PrefillGroup['items'])
web/src/features/models/components/prefill-group-shared.ts:119
↓ 1 callers
Function
serializeRules
(rules: Rule[])
web/src/features/system-settings/models/group-special-usable-editor.tsx:121
↓ 1 callers
Function
serve
* Answers the update request with `start` and each progress check with the * next of `progress`; a progress check past the last one rejects.
web/src/features/channels/lib/__tests__/update-all-balances.test.ts:45
↓ 1 callers
Function
serveHTTP2ProbePeer
serveHTTP2ProbePeer can withhold PING acknowledgements without sending FIN or RST, reproducing an upstream connection silently lost by an intermediary
service/http_client_transport_test.go:583
↓ 1 callers
Function
servePluginCredentials
Serves the channel's credential list as it is when the panel asks.
web/src/features/channels/components/__tests__/channel-configuration.test.tsx:3379
↓ 1 callers
Function
sessionAsyncPaymentFailed
sessionAsyncPaymentFailed marks orders as failed when delayed payment methods ultimately fail (e.g. bank transfer not received, SEPA rejected).
controller/topup_stripe.go:239
↓ 1 callers
Function
sessionAsyncPaymentSucceeded
sessionAsyncPaymentSucceeded handles delayed payment methods (bank transfer, SEPA, etc.) that confirm payment after the checkout session completes.
controller/topup_stripe.go:229
↓ 1 callers
Function
sessionCompleted
(ctx context.Context, event stripe.Event, callerIp string)
controller/topup_stripe.go:209
↓ 1 callers
Function
sessionExpired
(ctx context.Context, event stripe.Event)
controller/topup_stripe.go:309
↓ 1 callers
Function
setAuthMode
(mode: AdvancedCustomAuthMode)
web/src/features/channels/components/dialogs/advanced-custom-editor-dialog.tsx:1371
↓ 1 callers
Function
setCachedConnection
(ok: boolean)
web/src/features/models/hooks/use-model-deployment-settings.ts:45
↓ 1 callers
Function
setCompactMode
(value: boolean, tableKey: string)
web/src/hooks/use-table-compact-mode.ts:34
↓ 1 callers
Function
setConverter
(nextConverter: AdvancedCustomConverter)
web/src/features/channels/components/dialogs/advanced-custom-editor-dialog.tsx:1349
↓ 1 callers
Function
setDeepValue
( target: Record<string, unknown>, path: string, value: unknown )
web/src/features/system-settings/hooks/use-settings-form.ts:111
↓ 1 callers
Function
setDir
(dir: Direction)
web/src/context/direction-provider.tsx:49
↓ 1 callers
Function
setFilterValue
( filters: TaskLogsFilters, logCategory: TaskLikeLogCategory, value: string )
web/src/features/usage-logs/components/task-logs-filter-bar.tsx:56
↓ 1 callers
Function
setGeminiPartialArgValue
(current any, path []geminiPartialArgPathSegment, value any, appendString bool)
relaykit/relayconvert/internal/gemini_chat/to_oai_chat_resp.go:653
↓ 1 callers
Function
setInterfaceLanguage
(language: string)
web/src/components/__tests__/date-picker-locale.test.tsx:35
↓ 1 callers
Function
setInterfaceLanguage
(language: string)
web/src/features/security/components/__tests__/login-session-item.test.tsx:41
↓ 1 callers
Function
setKind
(kind: PluginKind)
web/src/features/task-plugins/index.tsx:81
↓ 1 callers
Function
setLegacyAccessTokenRetireAt
setLegacyAccessTokenRetireAt moves the stored transition deadline the way an operator restoring the option row would, then reloads it.
controller/access_token_audit_test.go:158
↓ 1 callers
Method
setMember
(name string, value *node)
pkg/requestpatch/patch.go:530
↓ 1 callers
Function
setMessageDeltaUsageInt
(data string, path string, localValue int)
relaykit/relayconvert/internal/claude_messages/to_oai_chat_resp.go:479
↓ 1 callers
Function
setMobileViewport
(mobile: boolean)
web/src/components/data-table/toolbar/__tests__/mobile-filter.test.tsx:80
↓ 1 callers
Function
setModelsInput
(value: string)
web/src/features/channels/components/dialogs/advanced-custom-editor-dialog.tsx:1375
↓ 1 callers
Function
setOption
( name: | 'pass_through_body_enabled' | 'upstream_model_update_check_enabled' | 'respons
web/src/features/channels/components/channel-quick-options.tsx:88
↓ 1 callers
Function
setReducedMotion
(value: boolean)
web/src/features/keys/components/__tests__/api-key-group-combobox.test.tsx:33
↓ 1 callers
Function
setStoredPageSize
(size: number)
web/src/hooks/use-table-url-state.ts:41
↓ 1 callers
Function
setTaskPluginEnabledOption
(enabled: boolean)
web/src/features/task-plugins/api.ts:203
↓ 1 callers
Function
setTaskPluginStatus
( key: string, enabled: boolean, options?: { cascade?: boolean; force?: boolean } )
web/src/features/task-plugins/api.ts:166
↓ 1 callers
Function
settingsOf
(payload: { settings?: string | null })
web/src/features/channels/lib/__tests__/task-plugin-channel-settings.test.ts:44
↓ 1 callers
Method
settleStart
(task *model.Task, quota int)
controller/task_plugin_debug.go:201
↓ 1 callers
Function
setup
()
web/src/features/redemption-codes/components/__tests__/bulk-delete.test.tsx:81
↓ 1 callers
Function
setup2FA
( proofToken: string, signal: AbortSignal )
web/src/features/security/api.ts:189
↓ 1 callers
Function
setupChannelSelectAutoGroupsTest
(t *testing.T)
service/channel_select_auto_groups_test.go:21
↓ 1 callers
Function
setupPasskeyNetwork
()
web/src/features/auth/passkey/__tests__/domain-verification.test.tsx:59
↓ 1 callers
Function
sha256Hex
( bytes: Uint8Array<ArrayBuffer> )
web/src/features/task-plugins/lib/plugin-icon-file.ts:71
↓ 1 callers
Function
sha256hex
(s string)
relay/channel/tencent/relay-tencent.go:176
↓ 1 callers
Function
shiftMarks
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:537
↓ 1 callers
Function
shouldAppendClaudeBetaQuery
(info *relaycommon.RelayInfo)
relay/channel/claude/adaptor.go:92
↓ 1 callers
Function
shouldApplyClaudeHeaders
(converter string, info *relaycommon.RelayInfo)
relay/channel/advancedcustom/adaptor.go:541
↓ 1 callers
Function
shouldAuditOperation
(mode, path, from, to string)
relay/common/override.go:417
↓ 1 callers
Function
shouldAuthenticateSMTP
()
common/email.go:33
↓ 1 callers
Function
shouldChargeViolationFee
(err *types.NewAPIError)
service/violation_fee.go:73
↓ 1 callers
Function
shouldClearModelForGroup
( models: ModelOption[], currentModel: string )
web/src/features/playground/lib/options/playground-option-utils.ts:34
↓ 1 callers
Function
shouldCloseActiveWebSocketsAfterDisable
(channelId int)
service/channel.go:20
↓ 1 callers
Function
shouldEnableParamOverrideAudit
(paramOverride map[string]any)
relay/common/override.go:349
↓ 1 callers
Function
shouldRenderColumnResizer
( table: TanstackTable<TData>, header: Header<TData, unknown> )
web/src/components/data-table/core/data-table-header.tsx:240
← previous
next →
8,301–8,400 of 15,409, ranked by callers