MCPcopy Create free account

hub / github.com/QuantumNous/new-api / functions

Functions15,409 in github.com/QuantumNous/new-api

↓ 1 callersFunctiongetInputControlState
({ disabled, groups, hasStopHandler, isGenerating, isModelLoading, models, text, }: InputControl
web/src/features/playground/lib/input/input-control-utils.ts:52
↓ 1 callersFunctiongetJSONStringValue
(result ojson.Result, field string)
middleware/distributor.go:411
↓ 1 callersFunctiongetJsonError
( value: string, predicate?: (parsed: unknown) => boolean )
web/src/features/system-settings/integrations/utils.ts:113
↓ 1 callersFunctiongetLatencyColorClass
(latency: number)
web/src/features/dashboard/lib/api-info.ts:24
↓ 1 callersFunctiongetLatestChannelTestCachePatch
( results: TestResult[] )
web/src/features/channels/components/dialogs/channel-test-dialog.tsx:156
↓ 1 callersFunctiongetLegacySavedGranularity
()
web/src/features/dashboard/lib/filters.ts:40
↓ 1 callersFunctiongetLineAndColumn
( text: string, position: number )
web/src/features/system-settings/utils/json-parser.ts:72
↓ 1 callersFunctiongetLineIndent
(value: string, cursor: number)
web/src/components/json-code-editor/json-code-editor-utils.ts:194
↓ 1 callersFunctiongetLocalPricingSyncData
()
controller/ratio_sync.go:134
↓ 1 callersFunctiongetLogStats
(params: GetLogStatsParams = {})
web/src/features/usage-logs/api.ts:84
↓ 1 callersFunctiongetLogTypeValue
(value: unknown)
web/src/features/usage-logs/components/common-logs-filter-bar.tsx:78
↓ 1 callersFunctiongetLoginSessions
()
web/src/features/profile/api.ts:235
↓ 1 callersFunctiongetLoginVerificationRequirements
( challenge: LoginChallenge, signal: AbortSignal )
web/src/features/auth/secure-verification/api.ts:113
↓ 1 callersFunctiongetM4ADuration
getM4ADuration 解析 M4A/MP4 文件的 'mvhd' box。
common/audio.go:152
↓ 1 callersFunctiongetMP3Duration
getMP3Duration 解析 MP3 文件以获取时长。 注意:对于 VBR (Variable Bitrate) MP3,这个估算可能不完全精确,但通常足够好。 FFmpeg 在这种情况下会扫描整个文件来获得精确值,但这里的库提供了快速估算。
common/audio.go:56
↓ 1 callersFunctiongetMarkdownContent
(children: ReactNode)
web/src/components/ai-elements/response-content.ts:159
↓ 1 callersFunctiongetMarkdownExampleFenceLength
(block: MarkdownExampleFence)
web/src/components/ai-elements/response-content.ts:51
↓ 1 callersFunctiongetMaxTopUpAmount
()
controller/topup.go:214
↓ 1 callersFunctiongetMessageActionState
(message: Message)
web/src/features/playground/lib/message/message-action-utils.ts:31
↓ 1 callersFunctiongetMessageActionsVisibilityClass
( alwaysVisible: boolean )
web/src/features/playground/lib/message/message-action-utils.ts:43
↓ 1 callersFunctiongetMessageAlignment
( message: Message, layoutMode: PlaygroundMessageLayoutMode )
web/src/features/playground/lib/message/message-layout-utils.ts:24
↓ 1 callersFunctiongetMessageAlignmentClass
(alignment: MessageAlignment)
web/src/features/playground/lib/message/message-layout-utils.ts:35
↓ 1 callersFunctiongetMessageContentState
( message: Message, versionContent: string )
web/src/features/playground/lib/message/message-content-utils.ts:79
↓ 1 callersFunctiongetMessageContentStyles
()
web/src/features/playground/lib/message/message-styles.ts:23
↓ 1 callersFunctiongetMessageEditorState
( message: Message, editText: string, originalText: string )
web/src/features/playground/lib/message/message-editor-utils.ts:28
↓ 1 callersFunctiongetMessageErrorState
( message: Message, isAdmin: boolean )
web/src/features/playground/lib/message/message-error-utils.ts:43
↓ 1 callersFunctiongetMessageSize
(message: Message)
web/src/features/playground/lib/storage/storage.ts:114
↓ 1 callersFunctiongetMetaPinnedColumns
( table: TanstackTable<TData> )
web/src/components/data-table/core/data-table-view.tsx:190
↓ 1 callersFunctiongetMissingModels
()
web/src/features/models/api.ts:238
↓ 1 callersFunctiongetModeFromLabel
(mode: string)
web/src/features/channels/components/dialogs/param-override-editor-dialog.tsx:627
↓ 1 callersFunctiongetModeFromPlaceholder
(mode: string)
web/src/features/channels/components/dialogs/param-override-editor-dialog.tsx:634
↓ 1 callersFunctiongetModeLabel
(mode?: string)
web/src/features/system-settings/models/model-pricing-snapshots.ts:86
↓ 1 callersFunctiongetModePathLabel
(mode: string)
web/src/features/channels/components/dialogs/param-override-editor-dialog.tsx:614
↓ 1 callersFunctiongetModePathPlaceholder
(mode: string)
web/src/features/channels/components/dialogs/param-override-editor-dialog.tsx:620
↓ 1 callersFunctiongetModeTagTailwind
(mode: string)
web/src/features/channels/components/dialogs/param-override-editor-dialog.tsx:595
↓ 1 callersFunctiongetModeToLabel
(mode: string)
web/src/features/channels/components/dialogs/param-override-editor-dialog.tsx:641
↓ 1 callersFunctiongetModeToPlaceholder
(mode: string)
web/src/features/channels/components/dialogs/param-override-editor-dialog.tsx:647
↓ 1 callersFunctiongetModeValueLabel
(mode: string)
web/src/features/channels/components/dialogs/param-override-editor-dialog.tsx:654
↓ 1 callersFunctiongetModeValuePlaceholder
(mode: string)
web/src/features/channels/components/dialogs/param-override-editor-dialog.tsx:673
↓ 1 callersFunctiongetModel
(id: number)
web/src/features/models/api.ts:68
↓ 1 callersFunctiongetModelChannelState
(model: Model)
web/src/features/models/lib/model-utils.ts:200
↓ 1 callersFunctiongetModelDefaults
(settings: BillingSettings)
web/src/features/system-settings/billing/section-registry.tsx:29
↓ 1 callersFunctiongetModelFallback
( models: ModelOption[], currentModel: string )
web/src/features/playground/lib/options/playground-option-utils.ts:21
↓ 1 callersFunctiongetModelMappingSyncBaseline
( mapping: string, modelsValue: string )
web/src/features/channels/components/drawers/channel-mutate-drawer.tsx:281
↓ 1 callersFunctiongetModels
( params: GetModelsParams = {} )
web/src/features/models/api.ts:48
↓ 1 callersFunctiongetMultiKeyConfirmMessage
( action: MultiKeyConfirmAction | null )
web/src/features/channels/lib/multi-key-utils.ts:40
↓ 1 callersFunctiongetMultiKeyStatus
( channelId: number, page = 1, pageSize = 50, status?: number )
web/src/features/channels/api.ts:560
↓ 1 callersFunctiongetMultiKeyStatusConfig
(status: number)
web/src/features/channels/lib/multi-key-utils.ts:28
↓ 1 callersFunctiongetNameRuleOptions
(t: TFunction)
web/src/features/models/constants.ts:33
↓ 1 callersFunctiongetNextSelectedValues
( selectedValues: Set<string>, optionValue: string, singleSelect: boolean )
web/src/components/data-table/toolbar/faceted-filter.tsx:196
↓ 1 callersFunctiongetNumber
(value: unknown)
web/src/features/channels/lib/ollama-utils.ts:46
↓ 1 callersFunctiongetOGGDuration
getOGGDuration 解析 OGG/Vorbis 文件以获取时长。
common/audio.go:163
↓ 1 callersFunctiongetOptionLoadErrorMessage
( error: unknown, fallbackMessage: string )
web/src/features/playground/lib/options/playground-option-utils.ts:60
↓ 1 callersFunctiongetOpusDuration
getOpusDuration 解析 Opus 文件(在 OGG 容器中)以获取时长。
common/audio.go:198
↓ 1 callersFunctiongetOrBuildAC
(dict []string)
service/str.go:98
↓ 1 callersFunctiongetOrCreateDirectClient
(policy HTTPTransportPolicy)
service/http_client.go:425
↓ 1 callersFunctiongetPageNumbers
(currentPage: number, totalPages: number)
web/src/lib/utils.ts:54
↓ 1 callersFunctiongetParamOverrideActionLabel
( action: string, t: (key: string) => string )
web/src/features/usage-logs/lib/format.ts:63
↓ 1 callersFunctiongetParamOverrideMap
(info *RelayInfo)
relay/common/override.go:523
↓ 1 callersFunctiongetParameterControlValueText
( key: PlaygroundParameterKey, value: ParameterValue )
web/src/features/playground/lib/parameters/playground-parameters.ts:120
↓ 1 callersFunctiongetPasskeyStatus
()
web/src/features/auth/passkey/api.ts:32
↓ 1 callersFunctiongetPasswordEncryptionKey
()
web/src/features/auth/lib/password-encryption.ts:59
↓ 1 callersFunctiongetPasswordScore
( characterCount: number, acceptable: boolean, variety: number )
web/src/components/password-strength-utils.ts:137
↓ 1 callersFunctiongetPaymentMethodName
( method: string, t?: (key: string) => string )
web/src/features/wallet/lib/billing.ts:71
↓ 1 callersFunctiongetPaymentTypeOption
(value: string)
web/src/features/system-settings/integrations/payment-method-dialog.tsx:113
↓ 1 callersFunctiongetPaymentUrl
(data: unknown)
web/src/features/wallet/hooks/use-waffo-payment.ts:28
↓ 1 callersFunctiongetPermissionCatalog
()
web/src/features/users/api.ts:216
↓ 1 callersFunctiongetPinnedColumnClassName
( pinnedColumn: DataTablePinnedColumn, kind: 'header' | 'cell' )
web/src/components/data-table/core/column-pinning.ts:57
↓ 1 callersFunctiongetPlanFormSchema
(t: TFunction)
web/src/features/subscriptions/lib/plan-form.ts:26
↓ 1 callersFunctiongetPluginCredentials
( channelId: number )
web/src/features/channels/api.ts:529
↓ 1 callersFunctiongetPreferredKey
(keys: ApiKey[])
web/src/features/dashboard/components/overview/overview-dashboard.tsx:163
↓ 1 callersFunctiongetPreferredModelOwners
(modelNames []string, groups []string)
controller/model.go:141
↓ 1 callersFunctiongetPrefillGroups
( type: 'model' | 'group' = 'model' )
web/src/features/channels/api.ts:850
↓ 1 callersFunctiongetPrefillGroups
( type?: 'model' | 'tag' | 'endpoint' )
web/src/features/models/api.ts:246
↓ 1 callersFunctiongetPreviewText
()
web/src/features/users/components/user-quota-dialog.tsx:56
↓ 1 callersFunctiongetPreviewText
( content: string, maxLength: number = 60 )
web/src/features/dashboard/lib/text.ts:22
↓ 1 callersFunctiongetPreviousUserMessage
( messages: Message[], beforeIndex: number )
web/src/features/playground/lib/message/conversation-message-utils.ts:99
↓ 1 callersFunctiongetPriceDetail
( row: ModelPricingSnapshot, t: (key: string) => string )
web/src/features/system-settings/models/model-pricing-snapshots.ts:120
↓ 1 callersFunctiongetPriceSummary
( row: ModelPricingSnapshot, t: (key: string) => string )
web/src/features/system-settings/models/model-pricing-snapshots.ts:103
↓ 1 callersFunctiongetPricing
()
web/src/features/pricing/api.ts:28
↓ 1 callersFunctiongetPrimitiveTextContent
(content: React.ReactNode)
web/src/components/data-table/static/static-data-table.tsx:194
↓ 1 callersFunctiongetPrimitiveTextContent
(content: React.ReactNode)
web/src/components/data-table/core/data-table-row.tsx:143
↓ 1 callersFunctiongetPriority
(group string, model string, retry int)
model/ability.go:63
↓ 1 callersFunctiongetProgress
(task: SystemTask)
web/src/features/system-info/components/system-tasks-table.tsx:76
↓ 1 callersFunctiongetPublicPlans
()
web/src/features/subscriptions/api.ts:222
↓ 1 callersFunctiongetPublishTime
(item map[string]any)
setting/console_setting/validation.go:240
↓ 1 callersFunctiongetQuotaTypeConfig
( t: TFunction )
web/src/features/models/constants.ts:146
↓ 1 callersFunctiongetQuotaTypeLabels
( t: TFunction )
web/src/features/pricing/constants.ts:66
↓ 1 callersFunctiongetRankings
( period: RankingPeriod )
web/src/features/rankings/api.ts:29
↓ 1 callersFunctiongetReasoningEffortVariant
( effort: string | undefined )
web/src/features/usage-logs/lib/format.ts:173
↓ 1 callersFunctiongetRedemption
( id: number )
web/src/features/redemption-codes/api.ts:58
↓ 1 callersFunctiongetRedemptionFormErrorMessages
(t: TFunction)
web/src/features/redemption-codes/constants.ts:117
↓ 1 callersFunctiongetRedemptionFormSchema
(t: TFunction)
web/src/features/redemption-codes/lib/redemption-form.ts:34
↓ 1 callersFunctiongetRedemptionStatusOptions
(t: TFunction)
web/src/features/redemption-codes/constants.ts:73
↓ 1 callersFunctiongetRelativeTime
* Get relative time string from a date
web/src/components/notification-popover.tsx:70
↓ 1 callersFunctiongetRemainingDays
(sub: UserSubscriptionRecord)
web/src/features/wallet/components/subscription-plans-card.tsx:225
↓ 1 callersMethodgetRequestUrl
(info *relaycommon.RelayInfo, modelName, suffix string)
relay/channel/vertex/adaptor.go:139
↓ 1 callersFunctiongetRequiredTextRows
(text: string)
web/src/components/risk-acknowledgement-dialog.tsx:67
↓ 1 callersFunctiongetResetCreditStatusBadge
( value: unknown, t: (key: string) => string )
web/src/features/channels/components/dialogs/codex-usage-dialog.tsx:377
↓ 1 callersFunctiongetResetPeriodOptions
(t: TFunction)
web/src/features/subscriptions/constants.ts:45
← previousnext →6,801–6,900 of 15,409, ranked by callers