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
filtersByKind
(filters []dto.ChannelFilter, kind dto.ChannelFilterKind)
model/channel_constraint.go:67
↓ 1 callers
Method
finalMetadata
(pluginValue any)
relay/plugin_protocol.go:814
↓ 1 callers
Function
finalizeResponseStreamStep
(c context.Context, info convmeta.Meta, spec ResponseConverterSpec, state any)
relaykit/relayconvert/response_registry.go:660
↓ 1 callers
Method
findBlock
(event *dto.ResponsesStreamResponse)
relaykit/relayconvert/internal/oai_responses/to_claude_messages_stream_resp.go:242
↓ 1 callers
Function
findButton
(container: HTMLElement, label: string)
web/src/features/keys/components/__tests__/auto-group-order-editor.test.tsx:142
↓ 1 callers
Function
findEnabledChannelsAfterID
(lastID int, batchSize int)
controller/channel_upstream_update.go:1113
↓ 1 callers
Function
findISPE
findISPE recursively searches for the ispe box within container boxes. Path: meta -> iprp -> ipco -> ispe
service/file_service.go:561
↓ 1 callers
Method
findItemIndex
(event *dto.ResponsesStreamResponse)
relaykit/relayconvert/internal/oai_responses/to_oai_chat_stream_resp.go:852
↓ 1 callers
Function
findLastRepeatedSectionRunStart
(text: string)
web/src/features/playground/lib/storage/storage.ts:171
↓ 1 callers
Function
findMissingModelsInMapping
( modelMapping: string, currentModels: string[] )
web/src/features/channels/lib/model-mapping-validation.ts:133
↓ 1 callers
Function
findPluginByCode
( code: string, officialSources: MarketplaceSource[], communitySource: MarketplaceSource | undefined )
web/src/features/task-plugins/lib/marketplace.ts:523
↓ 1 callers
Function
findUnbindButton
(provider: string)
web/src/features/users/components/dialogs/__tests__/user-binding-dialog.test.tsx:118
↓ 1 callers
Function
findVerifiedAlias
( model: string, suggestions: readonly ModelNamingSuggestion[], knownModels: readonly string[] )
web/src/features/channels/lib/model-naming-patterns.ts:146
↓ 1 callers
Method
finish
finish consumes the flow and stores the credential login returned. A credential the channel cannot keep is revoked, so the vendor's grant is not left
service/provider_plugin_login.go:573
↓ 1 callers
Function
finishAdminAudit
finishAdminAudit 在 c.Next() 之后对管理/高危写操作做兜底审计记录。 若 handler 内已手动埋点(设置 ContextKeyAuditLogged),则跳过,避免重复。
middleware/audit.go:124
↓ 1 callers
Function
finishPasskeyLogin
( flowToken: string, payload: Record<string, unknown>, signal?: AbortSignal )
web/src/features/auth/passkey/api.ts:96
↓ 1 callers
Function
finishPasskeyRegistration
( flowToken: string, payload: Record<string, unknown>, signal?: AbortSignal )
web/src/features/auth/passkey/api.ts:50
↓ 1 callers
Function
finishPasskeyVerification
( flowToken: string, payload: Record<string, unknown>, signal?: AbortSignal )
web/src/features/auth/passkey/api.ts:127
↓ 1 callers
Function
finishRename
()
web/src/features/task-plugins/components/request-plugin-instance-editor.tsx:239
↓ 1 callers
Function
first
(name)
plugins/tasks/jimeng/plugin.js:514
↓ 1 callers
Function
first
(name)
plugins/tasks/alibaba/plugin.js:1606
↓ 1 callers
Function
first
(name)
plugins/tasks/doubao/plugin.js:1243
↓ 1 callers
Function
first
(name)
plugins/tasks/google/plugin.js:424
↓ 1 callers
Function
first
(name)
plugins/tasks/sora/plugin.js:275
↓ 1 callers
Function
first
(name)
plugins/tasks/vidu/plugin.js:553
↓ 1 callers
Function
first
(name)
plugins/tasks/hailuo/plugin.js:941
↓ 1 callers
Function
first
(name)
plugins/tasks/kling/plugin.js:749
↓ 1 callers
Function
first
(name)
plugins/tasks/vertex-ai/plugin.js:661
↓ 1 callers
Function
firstNonEmpty
(values ...string)
relaykit/relayconvert/internal/toolconv/response_artifacts.go:796
↓ 1 callers
Function
firstRawMapValue
(value map[string]any, keys ...string)
relaykit/relayconvert/internal/toolconv/decode.go:1126
↓ 1 callers
Function
firstStringValue
(data []byte, paths ...string)
relay/common/override.go:316
↓ 1 callers
Function
fixChannelAbilities
()
web/src/features/channels/api.ts:383
↓ 1 callers
Function
fixture
()
web/src/features/channels/components/__tests__/inference-status.test.tsx:56
↓ 1 callers
Function
fixtureRequests
--------------------------------------------------------------------------- Fixtures: one representative rich request per source format --------------
relaykit/relayconvert/golden_test.go:122
↓ 1 callers
Function
fixtureResponses
--------------------------------------------------------------------------- Fixtures: one representative non-stream response per source format -------
relaykit/relayconvert/golden_test.go:169
↓ 1 callers
Function
fixtureStreamChunks
--------------------------------------------------------------------------- Fixtures: stream chunk sequences per source format -----------------------
relaykit/relayconvert/golden_test.go:250
↓ 1 callers
Function
flattenGlobalValues
( values: GlobalModelSettingsFormValues )
web/src/features/system-settings/models/global-settings-card.tsx:113
↓ 1 callers
Function
flattenRules
(nested: Record<string, Record<string, string>>)
web/src/features/system-settings/models/group-special-usable-editor.tsx:97
↓ 1 callers
Function
flowChartEventDatum
(event: FlowChartPointerEvent)
web/src/features/dashboard/components/flow/flow-charts.tsx:202
↓ 1 callers
Function
flowNodeFilterFromSankeyDatum
( datum: unknown )
web/src/features/dashboard/lib/flow.ts:1069
↓ 1 callers
Function
flowNodeFilterKey
(filter: FlowNodeFilter)
web/src/features/dashboard/components/flow/flow-node-filter.tsx:60
↓ 1 callers
Function
flush
()
web/src/features/channels/components/__tests__/plugin-login-dialog.test.tsx:82
↓ 1 callers
Method
flushAllPendingTools
()
relaykit/relayconvert/internal/oai_responses/to_oai_chat_stream_resp.go:551
↓ 1 callers
Function
flushLoop
()
pkg/perf_metrics/flush.go:12
↓ 1 callers
Method
flushPendingTool
(event *dto.ResponsesStreamResponse)
relaykit/relayconvert/internal/oai_responses/to_oai_chat_stream_resp.go:336
↓ 1 callers
Function
fmtPrice
(usd: number)
web/src/features/usage-logs/components/dialogs/details-dialog.tsx:189
↓ 1 callers
Function
foldedOps
(path, value, changed, inObject)
plugins/tasks/request-redact/plugin.js:438
↓ 1 callers
Function
followBalanceUpdate
* Follows an update of all balances until it ends. The list reloads whenever * more channels have been queried and once more at the end, which is the
web/src/features/channels/lib/channel-actions.ts:674
↓ 1 callers
Function
follows
(first: Element, second: Element)
web/src/features/system-settings/request-policies/__tests__/routing.test.tsx:188
↓ 1 callers
Function
followsPluginSite
(address: string)
web/src/features/task-plugins/lib/plugin-site.ts:25
↓ 1 callers
Method
font
font returns the text decoder of a font: its ToUnicode map read here, or the library's encoder for a font without one. The library's own ToUnicode rea
relay/requestplugin/pdf.go:317
↓ 1 callers
Function
forEachJSONString
forEachJSONString calls fn with the offsets of each string token of the JSON text body, quotes included, and whether it is an object key.
relay/requestplugin/attachments.go:777
↓ 1 callers
Function
formBoundary
formBoundary is the boundary of a multipart/form-data content type; "" for any other content type.
relay/requestplugin/form.go:52
↓ 1 callers
Function
formItemOf
(control: HTMLElement)
web/src/features/system-settings/request-policies/__tests__/channel-health-layout.test.tsx:47
↓ 1 callers
Function
formValuesToPlanPayload
(values: PlanFormValues)
web/src/features/subscriptions/lib/plan-form.ts:104
↓ 1 callers
Function
formatBalance
(bal: number)
web/src/features/channels/components/dialogs/balance-query-dialog.tsx:143
↓ 1 callers
Function
formatBound
(value: number)
web/src/features/task-plugins/components/request-plugin-config-field.tsx:189
↓ 1 callers
Function
formatBreakdownConditionSummary
( tier: BreakdownTier, t: (key: string) => string, schema: BillingUsageSchema | undefined, language: s
web/src/features/pricing/components/dynamic-pricing-breakdown.tsx:175
↓ 1 callers
Function
formatBreakdownPrice
( value: number, field: BreakdownPriceField, symbol: string, rate: number, t: (key: string) => strin
web/src/features/pricing/components/dynamic-pricing-breakdown.tsx:197
↓ 1 callers
Function
formatBytes
(bytes?: number)
web/src/features/system-info/components/system-instances-panel.tsx:131
↓ 1 callers
Function
formatBytes
(bytes?: number)
web/src/features/channels/lib/ollama-utils.ts:152
↓ 1 callers
Function
formatBytes
(bytes: number, decimals = 2)
web/src/features/system-settings/maintenance/performance-section.tsx:138
↓ 1 callers
Function
formatCatalogTokenCount
(tokens: number)
web/src/features/pricing/components/model-details.tsx:218
↓ 1 callers
Function
formatCatalogYearMonth
(value?: string)
web/src/features/pricing/components/model-details.tsx:229
↓ 1 callers
Function
formatChannelBalanceAmount
( amount: number, currency: string | null | undefined, options: CurrencyFormatOptions = {} )
web/src/features/channels/lib/channel-balance.ts:36
↓ 1 callers
Function
formatChannelTestDuration
(responseTime?: number)
web/src/features/channels/lib/channel-actions.ts:84
↓ 1 callers
Function
formatConditionSummary
( conditions: TierCondition[], t: (key: string) => string )
web/src/features/pricing/components/dynamic-pricing-breakdown.tsx:157
↓ 1 callers
Function
formatDate
(timestamp: number)
web/src/features/channels/components/dialogs/balance-query-dialog.tsx:151
↓ 1 callers
Function
formatDateTimeStr
(date: Date)
web/src/lib/format.ts:235
↓ 1 callers
Function
formatDayLabel
(date: string)
web/src/features/pricing/components/model-details-charts.tsx:38
↓ 1 callers
Function
formatDisplayKey
(key?: string)
web/src/features/dashboard/components/overview/overview-dashboard.tsx:167
↓ 1 callers
Function
formatDuration
(seconds?: number)
web/src/features/usage-logs/components/dialogs/audio-preview-dialog.tsx:42
↓ 1 callers
Function
formatDuration
( durationMs: number | undefined, t: TFunction )
web/src/features/playground/components/message/message-metadata.tsx:44
↓ 1 callers
Function
formatDynamicUnitPrice
( valuePerMillionTokens: number, options: DynamicPriceOptions )
web/src/features/pricing/lib/dynamic-price.ts:201
↓ 1 callers
Function
formatEndpointsDisplay
( endpoints: string | undefined )
web/src/features/models/lib/model-utils.ts:103
↓ 1 callers
Function
formatErrorDescription
( error: unknown, jsonString: string )
web/src/features/system-settings/utils/json-parser.ts:83
↓ 1 callers
Function
formatErrorMessage
(error: unknown, jsonString: string)
web/src/features/system-settings/models/utils.ts:123
↓ 1 callers
Function
formatFlowMetricNumber
(value: number)
web/src/features/dashboard/components/flow/flow-charts.tsx:251
↓ 1 callers
Function
formatGroupRatio
(ratio: number | undefined)
web/src/features/pricing/components/pricing-sidebar.tsx:79
↓ 1 callers
Function
formatHourLabel
(iso: string)
web/src/features/pricing/components/model-details-charts.tsx:32
↓ 1 callers
Function
formatInt
(value: number)
web/src/features/dashboard/lib/charts.ts:79
↓ 1 callers
Function
formatIsoTimestamp
(value: unknown)
web/src/features/channels/components/dialogs/codex-usage-dialog.tsx:178
↓ 1 callers
Function
formatJsonError
(error: unknown, jsonString: string)
web/src/features/system-settings/integrations/utils.ts:74
↓ 1 callers
Function
formatJsonForEditor
(value: string)
web/src/features/system-settings/integrations/utils.ts:25
↓ 1 callers
Function
formatJsonForEditor
(value: string, fallback: string)
web/src/features/system-settings/models/section-registry.tsx:27
↓ 1 callers
Function
formatJsonValidationError
( t: Translate, error?: JsonValidationError, fallback = 'Invalid JSON' )
web/src/features/system-settings/models/ratio-settings-card.tsx:59
↓ 1 callers
Function
formatKeyTimestamp
(timestamp?: number)
web/src/features/channels/components/dialogs/multi-key-manage-dialog.tsx:267
↓ 1 callers
Function
formatLabelValue
(label: string, value: string)
web/src/features/channels/components/dialogs/codex-usage-dialog.tsx:418
↓ 1 callers
Function
formatLocalCurrencyAmount
( amount: number | null | undefined, options?: CurrencyFormatOptions )
web/src/lib/currency.ts:626
↓ 1 callers
Function
formatMessageTime
(timestamp?: number)
web/src/features/playground/components/message/message-metadata.tsx:32
↓ 1 callers
Function
formatModelNames
(models: string[])
web/src/features/channels/components/drawers/channel-mutate-drawer.tsx:308
↓ 1 callers
Function
formatModelsArray
(models: string[])
web/src/features/channels/lib/model-mapping-validation.ts:38
↓ 1 callers
Function
formatNumberDraft
(value: number | string)
web/src/features/system-settings/models/draft-number-input.tsx:30
↓ 1 callers
Function
formatParamOverrideAuditValue
(value any)
relay/common/override.go:424
↓ 1 callers
Function
formatPath
(rootDir, filePath)
web/scripts/add-copyright.mjs:177
↓ 1 callers
Function
formatPercent
(value?: number)
web/src/features/system-info/components/system-instances-panel.tsx:124
↓ 1 callers
Function
formatPercentage
(rate: number)
web/src/features/system-settings/integrations/amount-discount-visual-editor.tsx:110
↓ 1 callers
Function
formatPrice
(price: number)
web/src/features/usage-logs/components/columns/common-logs-columns.tsx:175
↓ 1 callers
Function
formatPriceCompact
(price: number)
web/src/features/usage-logs/components/columns/common-logs-columns.tsx:177
↓ 1 callers
Function
formatPriceList
(prices: string[], showUnit: boolean)
web/src/features/usage-logs/components/columns/common-logs-columns.tsx:179
← previous
next →
6,501–6,600 of 15,409, ranked by callers