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
↓ 2 callers
Function
geminiLevelForEffort
(model string, effort Effort)
relaykit/relayconvert/reasoning/gemini.go:501
↓ 2 callers
Function
geminiReasoningDiagnostic
(code string, message string)
relaykit/relayconvert/reasoning/gemini.go:392
↓ 2 callers
Function
geminiResponseToolCall
(item *dto.GeminiPart)
relaykit/relayconvert/internal/gemini_chat/to_oai_chat_resp.go:722
↓ 2 callers
Function
geminiResponseUsageText
(response *dto.GeminiChatResponse)
relay/channel/gemini/relay-gemini.go:69
↓ 2 callers
Function
geminiStreamChunk
(raw string)
relaykit/relayconvert/golden_test.go:448
↓ 2 callers
Function
geminiUsesMediaResolution
geminiUsesMediaResolution reports whether a lower-cased Gemini model bills images by media resolution regardless of size (Gemini 3 and later, and name
tokenkit/image.go:227
↓ 2 callers
Function
genCreemLink
(ctx context.Context, referenceId string, product *CreemProduct, email string, username string)
controller/topup_creem.go:384
↓ 2 callers
Function
generateDefaultSidebarConfigForRole
根据用户角色生成默认的边栏配置
model/user.go:225
↓ 2 callers
Function
generateEmailBindingCodes
(requireOld bool)
service/email_binding.go:152
↓ 2 callers
Function
generationRequest
(source, identity)
plugins/tasks/xai/plugin.js:202
↓ 2 callers
Function
getAdvancedCustomAuthMode
( route: AdvancedCustomRoute )
web/src/features/channels/lib/advanced-custom.ts:789
↓ 2 callers
Function
getAdvancedCustomConverterOptions
( incomingPath: string )
web/src/features/channels/lib/advanced-custom.ts:540
↓ 2 callers
Function
getAdvancedCustomIncomingPathOptions
( converter: AdvancedCustomConverter )
web/src/features/channels/lib/advanced-custom.ts:510
↓ 2 callers
Function
getAdvancedCustomModelRuleKind
( modelRule: string )
web/src/features/channels/lib/advanced-custom.ts:603
↓ 2 callers
Function
getAdvancedCustomRegexModelPattern
(modelRule: string)
web/src/features/channels/lib/advanced-custom.ts:611
↓ 2 callers
Function
getAffiliateCode
()
web/src/features/auth/lib/storage.ts:39
↓ 2 callers
Function
getAnnouncementColorClass
(type?: string)
web/src/lib/colors.ts:139
↓ 2 callers
Function
getAnnouncementKey
* Generate a unique key for an announcement * Prefer backend id, fall back to a content hash so edits register
web/src/hooks/use-notifications.ts:44
↓ 2 callers
Function
getApiKeyFormDefaultValues
( defaultUseAutoGroup: boolean )
web/src/features/keys/lib/api-key-form.ts:122
↓ 2 callers
Function
getApiKeyFormSchema
(t: TFunction, maxAutoGroups = 5)
web/src/features/keys/lib/api-key-form.ts:31
↓ 2 callers
Function
getAwsModelID
(requestModel string)
relay/channel/aws/relay-aws.go:228
↓ 2 callers
Function
getBillingDisplayMeta
(config: CurrencyConfig)
web/src/lib/currency.ts:218
↓ 2 callers
Function
getBillingModeLabelKey
( listedModel: PricingModel )
web/src/features/pricing/lib/billing-mode.ts:30
↓ 2 callers
Function
getCellLabel
(cell: Cell<TData, unknown>)
web/src/components/data-table/layout/card-cell-utils.ts:28
↓ 2 callers
Function
getChannel
(c *gin.Context, info *relaycommon.RelayInfo, retryParam *service.RetryParam)
controller/relay.go:328
↓ 2 callers
Function
getChannelAffinityContext
(c *gin.Context)
service/channel_affinity.go:360
↓ 2 callers
Function
getChannelAffinityUsageCacheStatsCache
()
service/channel_affinity.go:985
↓ 2 callers
Function
getChannelBalanceUsedPercent
( windows: ChannelBalanceWindow[] | null | undefined )
web/src/features/channels/lib/channel-balance.ts:61
↓ 2 callers
Function
getChannelConfigurationSection
( field: string )
web/src/features/channels/lib/channel-configuration.ts:117
↓ 2 callers
Function
getChannelOps
( autoBan?: boolean )
web/src/features/channels/api.ts:209
↓ 2 callers
Function
getChannelTypeConfig
(type: number)
web/src/features/channels/lib/channel-type-config.ts:188
↓ 2 callers
Function
getClampedColumnSize
( header: Header<TData, unknown>, nextSize: number )
web/src/components/data-table/core/data-table-header.tsx:165
↓ 2 callers
Function
getContentTypeByEncoding
(encoding string)
relay/channel/volcengine/tts.go:132
↓ 2 callers
Method
getCurrent
()
relay/responses_websocket.go:824
↓ 2 callers
Function
getCursorLocation
( value: string, selectionStart: number )
web/src/components/json-code-editor/json-code-editor-utils.ts:86
↓ 2 callers
Function
getDateDaysAgo
(days: number)
web/src/features/system-settings/maintenance/history-log-cleanup.tsx:55
↓ 2 callers
Function
getDateHoursAgo
(hours: number)
web/src/features/system-settings/maintenance/history-log-cleanup.tsx:49
↓ 2 callers
Function
getDeepSeekBalanceUSD
(response DeepSeekUsageResponse, usdExchangeRate float64)
controller/channel-billing.go:282
↓ 2 callers
Function
getDefaultEndpointForChannel
(channel: UpstreamChannel)
web/src/features/system-settings/models/upstream-ratio-sync.tsx:83
↓ 2 callers
Function
getDefaultIconName
(type: string)
web/src/features/system-settings/integrations/payment-methods-visual-editor.tsx:53
↓ 2 callers
Function
getDisplayMeta
(config: CurrencyConfig)
web/src/lib/currency.ts:187
↓ 2 callers
Function
getDisplayName
(user?: UserProfile)
web/src/features/profile/lib/format.ts:41
↓ 2 callers
Function
getEnabledModels
()
web/src/features/channels/api.ts:811
↓ 2 callers
Function
getFetchModelsResponseBody
(method string, requestURL string, channel *model.Channel, headers http.Header)
controller/channel_upstream_update.go:338
↓ 2 callers
Function
getFirstResponseTimeColor
( seconds: number )
web/src/features/usage-logs/lib/format.ts:206
↓ 2 callers
Function
getFlowStages
(role: FlowRole)
web/src/features/dashboard/lib/flow.ts:260
↓ 2 callers
Function
getHeaderNavAccess
(module string)
middleware/header_nav.go:17
↓ 2 callers
Function
getHeaderPassthroughState
( headerOverride: string | undefined )
web/src/features/channels/lib/header-passthrough.ts:53
↓ 2 callers
Function
getImageConfig
(reader io.Reader)
service/image.go:161
↓ 2 callers
Function
getInferenceChannelStatus
(c *gin.Context, channelType int)
controller/channel_inference.go:57
↓ 2 callers
Function
getIoAPIKey
(c *gin.Context)
controller/deployment.go:16
↓ 2 callers
Function
getIoClient
(c *gin.Context)
controller/deployment.go:42
↓ 2 callers
Function
getJsonValidationState
(value: string)
web/src/components/json-code-editor/json-code-editor-utils.ts:56
↓ 2 callers
Function
getKeyPromptForType
(type: number)
web/src/features/channels/lib/channel-utils.ts:779
↓ 2 callers
Function
getLogCsvHeader
(isAdmin: boolean, t: Translate)
web/src/features/usage-logs/lib/export.ts:35
↓ 2 callers
Function
getLogCsvRow
( log: UsageLog, isAdmin: boolean, t: Translate )
web/src/features/usage-logs/lib/export.ts:58
↓ 2 callers
Function
getLogFiles
getLogFiles 读取日志目录中的日志文件列表
controller/performance.go:187
↓ 2 callers
Function
getMatchLabel
(mode: string)
web/src/features/system-settings/models/tiered-pricing-editor.tsx:366
↓ 2 callers
Function
getMinTopup
()
controller/topup.go:189
↓ 2 callers
Function
getModelCategory
(modelName: string)
web/src/features/channels/lib/model-categories.ts:22
↓ 2 callers
Function
getModelFromJSONBody
(c *gin.Context)
middleware/distributor.go:285
↓ 2 callers
Function
getModelQuotaType
( listedModel: PricingModel )
web/src/features/pricing/lib/filters.ts:87
↓ 2 callers
Function
getModelRequest
(c *gin.Context)
middleware/distributor.go:421
↓ 2 callers
Function
getModuleAccessFromStatus
( status: Record<string, unknown> | null, module: HeaderNavModule )
web/src/lib/nav-modules.ts:153
↓ 2 callers
Function
getNodeName
(instance: SystemInstance)
web/src/features/system-info/components/system-instances-panel.tsx:120
↓ 2 callers
Function
getNotice
()
web/src/lib/api.ts:78
↓ 2 callers
Function
getOperationSummary
( operation: ParamOverrideOperation, index: number )
web/src/features/channels/components/dialogs/param-override-editor-dialog.tsx:578
↓ 2 callers
Function
getOptionLabel
( options: ReadonlyArray<{ value: string; label: string }>, value: string )
web/src/features/channels/components/dialogs/advanced-custom-editor-dialog.tsx:162
↓ 2 callers
Function
getOptionValue
(options: Array<{ key: string; value: string }> | undefined, defaults: T)
web/src/features/system-settings/hooks/use-system-options.ts:104
↓ 2 callers
Method
getOrCreate
( rawProxyURL string, config *proxyURLConfig, policy HTTPTransportPolicy, factory func() (*http.Client, er
service/http_client.go:238
↓ 2 callers
Function
getOriginID
()
pkg/wsmanager/wsmanager.go:241
↓ 2 callers
Function
getParamOverrideAuditRecorder
(context map[string]any)
relay/common/override.go:379
↓ 2 callers
Function
getParamOverrideRegex
map[string]*regexp.Regexp
relay/common/override.go:28
↓ 2 callers
Function
getPasswordConfirmationState
( password: string, confirmation: string )
web/src/components/password-strength-utils.ts:195
↓ 2 callers
Function
getPayMoney
(amount int64, group string)
controller/topup.go:159
↓ 2 callers
Function
getPayloadConfigFromPayload
( config: ChartConfig, payload: unknown, key: string )
web/src/components/ui/chart.tsx:346
↓ 2 callers
Function
getPerfMetrics
( modelName: string, hours = 24 )
web/src/features/performance-metrics/api.ts:34
↓ 2 callers
Function
getPinnedColumnMap
(pinnedColumns?: DataTablePinnedColumn[])
web/src/components/data-table/core/column-pinning.ts:49
↓ 2 callers
Function
getPriceChangeKind
(row: ModelRow)
web/src/features/system-settings/models/model-pricing-snapshots.ts:326
↓ 2 callers
Function
getPriceLineValues
( snapshot: ModelPricingSnapshot | undefined, t: Translate )
web/src/features/system-settings/models/price-change-diff.tsx:149
↓ 2 callers
Function
getPricingEndpointTypesForAbility
(ability AbilityWithChannel, advancedCustomConfigs map[int]*dto.AdvancedCustomConfig)
model/pricing.go:128
↓ 2 callers
Function
getRedemptions
( params: GetRedemptionsParams = {} )
web/src/features/redemption-codes/api.ts:35
↓ 2 callers
Function
getRequestRuleMatchOptions
(source: string)
web/src/features/pricing/lib/billing-expr.ts:696
↓ 2 callers
Function
getRequestedCodeLanguage
(language?: string)
web/src/components/ai-elements/code-block.tsx:216
↓ 2 callers
Function
getResolvedColumnClassNameFromMap
( getColumnClassName?: DataTableColumnClassName, pinnedColumnById?: Map<string, DataTablePinnedColumn> )
web/src/components/data-table/core/column-pinning.ts:33
↓ 2 callers
Function
getResponseTimeColor
( seconds: number, completionTokens: number )
web/src/features/usage-logs/lib/format.ts:228
↓ 2 callers
Function
getRoleLabel
(role?: number)
web/src/lib/roles.ts:43
↓ 2 callers
Function
getRunwayDays
( remainQuota: number, recentUsage: number )
web/src/features/dashboard/components/overview/summary-cards.tsx:103
↓ 2 callers
Function
getSMTPAuth
()
common/email.go:29
↓ 2 callers
Function
getSafePluginAuthorUrl
( author?: TaskPluginAuthor )
web/src/features/usage-logs/lib/task-artifacts.ts:230
↓ 2 callers
Function
getSaveButton
()
web/src/features/redemption-codes/components/__tests__/redemptions-mutate-drawer.test.tsx:142
↓ 2 callers
Function
getSavedLanguage
(user: AuthUser)
web/src/features/auth/lib/auth-redirect.ts:23
↓ 2 callers
Function
getSectionMeta
(sectionId: SectionId)
web/src/features/system-settings/utils/section-registry.ts:91
↓ 2 callers
Function
getSelfSubscriptionFull
()
web/src/features/subscriptions/api.ts:215
↓ 2 callers
Function
getServerErrorStatus
(value: unknown)
web/src/lib/server-error-message.ts:125
↓ 2 callers
Function
getSmtpSecurityMode
(values: { SMTPSSLEnabled: boolean SMTPStartTLSEnabled: boolean })
web/src/features/system-settings/integrations/email-settings-section.tsx:65
↓ 2 callers
Function
getStatus
()
web/src/lib/api.ts:73
↓ 2 callers
Function
getString
(value: unknown)
web/src/features/channels/lib/ollama-utils.ts:42
↓ 2 callers
Function
getStripeCreditedQuota
(amount int64, group string)
controller/topup_stripe.go:414
↓ 2 callers
Function
getStripeMinTopup
()
controller/topup_stripe.go:445
← previous
next →
4,001–4,100 of 15,409, ranked by callers