MCPcopy Create free account

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

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

FunctionCTA
(props: CTAProps)
web/src/features/home/components/sections/cta.tsx:31
FunctionCacheStatsDialog
(props: Props)
web/src/features/system-settings/general/channel-affinity/cache-stats-dialog.tsx:46
FunctionCacheTooltip
({ tokens, label, color, }: { tokens: number label: string color: string })
web/src/features/usage-logs/components/columns/column-helpers.tsx:43
FunctionCachedPriceCell
(props: { model: PricingModel options: ModelPriceCellOptions })
web/src/features/pricing/components/cached-price-cell.tsx:37
FunctionCalendar
({ className, classNames, showOutsideDays = true, captionLayout = 'label', buttonVariant = 'ghost',
web/src/components/ui/calendar.tsx:36
FunctionCalendarDayButton
({ className, day, modifiers, locale, ...props }: React.ComponentProps<typeof DayButton> & { locale?
web/src/components/ui/calendar.tsx:219
FunctionCanvas
({ children, ...props }: CanvasProps)
web/src/components/ai-elements/canvas.tsx:29
FunctionCapRequestPluginRecord
CapRequestPluginRecord bounds a public record to 32 entries and 8 KB of JSON. Trailing entries are dropped and counted in a final {truncated: n}. A re
relay/common/request_plugin.go:139
FunctionCard
({ className, size = 'default', ...props }: React.ComponentProps<'div'> & { size?: 'default' | 'sm' })
web/src/components/ui/card.tsx:23
FunctionCardAction
({ className, ...props }: React.ComponentProps<'div'>)
web/src/components/ui/card.tsx:77
FunctionCardContent
({ className, ...props }: React.ComponentProps<'div'>)
web/src/components/ui/card.tsx:90
FunctionCardDescription
({ className, ...props }: React.ComponentProps<'div'>)
web/src/components/ui/card.tsx:67
FunctionCardFooter
({ className, ...props }: React.ComponentProps<'div'>)
web/src/components/ui/card.tsx:100
FunctionCardGridSkeleton
(props: { gridClassName?: string keyPrefix?: string })
web/src/components/data-table/layout/card-grid.tsx:95
FunctionCardHeader
({ className, ...props }: React.ComponentProps<'div'>)
web/src/components/ui/card.tsx:41
FunctionCardHeading
(props: { title: string icon?: ReactNode iconTone?: IconBadgeTone status?: ChannelConfigurationStatus
web/src/features/channels/components/drawers/channel-mutate-drawer.tsx:396
FunctionCardRowContent
(props: { row: Row<TData> compact: boolean })
web/src/components/data-table/layout/card-row-content.tsx:208
FunctionCardStaggerContainer
(props: StaggerContainerProps)
web/src/components/page-transition.tsx:158
FunctionCardStaggerItem
(props: StaggerItemProps)
web/src/components/page-transition.tsx:177
FunctionCardTitle
({ className, ...props }: React.ComponentProps<'div'>)
web/src/components/ui/card.tsx:54
FunctionCarousel
({ orientation = 'horizontal', opts, setApi, plugins, className, children, ...props }: React.Com
web/src/components/ui/carousel.tsx:64
FunctionCarouselContent
({ className, ...props }: React.ComponentProps<'div'>)
web/src/components/ui/carousel.tsx:154
FunctionCarouselItem
({ className, ...props }: React.ComponentProps<'div'>)
web/src/components/ui/carousel.tsx:175
FunctionCarouselNext
({ className, variant = 'outline', size = 'icon-sm', ...props }: React.ComponentProps<typeof Button>)
web/src/components/ui/carousel.tsx:223
FunctionCarouselPrevious
({ className, variant = 'outline', size = 'icon-sm', ...props }: React.ComponentProps<typeof Button>)
web/src/components/ui/carousel.tsx:193
FunctionCatalogInfoCell
(props: { label: string; children: React.ReactNode })
web/src/features/pricing/components/model-details.tsx:331
FunctionCatalogPillList
(props: { items: string[] })
web/src/features/pricing/components/model-details.tsx:308
FunctionCatalogPrice
(props: { model: PricingModel })
web/src/features/models/__tests__/model-listing.test.tsx:97
FunctionCatalogTextValue
(props: { children: React.ReactNode })
web/src/features/pricing/components/model-details.tsx:323
FunctionCellHarness
(props: { group: string ratio?: number | string crossGroupRetry?: boolean shouldReduceMotion?: boolean
web/src/features/keys/components/__tests__/api-key-group-cell.test.tsx:44
FunctionChangeLine
(props: { change: RequestPluginRecordChange locale?: string })
web/src/features/usage-logs/components/request-plugin-record.tsx:374
FunctionChangePasswordDialog
(props: ChangePasswordDialogProps)
web/src/features/security/components/dialogs/change-password-dialog.tsx:73
FunctionChannelAdvancedSection
(props: ChannelAdvancedSectionProps)
web/src/features/channels/components/drawers/sections/channel-advanced-section.tsx:55
FunctionChannelAffinitySection
(props: Props)
web/src/features/system-settings/general/channel-affinity/index.tsx:84
FunctionChannelApiAccessSection
(props: ChannelApiAccessSectionProps)
web/src/features/channels/components/drawers/sections/channel-api-access-section.tsx:32
FunctionChannelAuthSection
(props: ChannelAuthSectionProps)
web/src/features/channels/components/drawers/sections/channel-auth-section.tsx:27
FunctionChannelBalanceDetails
(props: ChannelBalanceDetailsProps)
web/src/features/channels/components/channel-balance-details.tsx:39
FunctionChannelBasicSection
(props: ChannelBasicSectionProps)
web/src/features/channels/components/drawers/sections/channel-basic-section.tsx:32
FunctionChannelCardComponent
* Bespoke channel card for the card view. Reuses every column's existing cell * renderer via `flexRender`, so the table's information and interaction
web/src/features/channels/components/channel-card.tsx:42
FunctionChannelConfiguration
(props: ChannelConfigurationProps)
web/src/features/channels/components/drawers/channel-configuration.tsx:95
FunctionChannelConfigurationStatusIndicator
(props: { status: ChannelConfigurationStatus required?: boolean })
web/src/features/channels/components/drawers/channel-configuration.tsx:53
FunctionChannelEditorLoadingState
()
web/src/features/channels/components/drawers/sections/channel-editor-loading-state.tsx:23
FunctionChannelFieldCell
({ channelId, value, field, min, }: { channelId: number value: number | null | undefined field:
web/src/features/channels/components/channels-columns.tsx:251
FunctionChannelHealthSection
({ defaultValues, }: ChannelHealthSectionProps)
web/src/features/system-settings/request-policies/channel-health-section.tsx:219
FunctionChannelHealthSource
(props: { autoBan: boolean })
web/src/features/system-settings/request-policies/related-policy-link.tsx:29
FunctionChannelListModels
(c *gin.Context)
controller/model.go:318
FunctionChannelModelsSection
(props: ChannelModelsSectionProps)
web/src/features/channels/components/drawers/sections/channel-models-section.tsx:32
FunctionChannelMutateDrawer
({ open, onOpenChange, currentRow, }: ChannelMutateDrawerProps)
web/src/features/channels/components/drawers/channel-mutate-drawer.tsx:445
FunctionChannelPluginConfigFields
( props: ChannelPluginConfigFieldsProps )
web/src/features/channels/components/drawers/channel-plugin-config-fields.tsx:45
FunctionChannelPluginExtensions
(props: { plugins: TaskPluginOption[] selected: string[] onConfigure: (pluginKey: string) => void })
web/src/features/channels/components/channel-plugin-extensions.tsx:28
FunctionChannelPriorityDemo
(props: { viewMode: DataTableViewMode mode: 'same' | 'insert' playing: boolean onComplete: () => void
web/src/features/channels/components/channel-priority-demo.tsx:38
FunctionChannelPriorityDropHint
(props: { container: HTMLElement | null order: ReturnType<typeof useChannelPriorityOrder> channels: Chan
web/src/features/channels/components/channel-priority-drop-hint.tsx:32
FunctionChannelPriorityGuide
(props: { open: boolean viewMode: DataTableViewMode onOpenChange: (open: boolean) => void })
web/src/features/channels/components/channel-priority-guide.tsx:38
FunctionChannelPriorityHandle
(props: { id: number })
web/src/features/channels/components/channel-priority-controls.tsx:47
FunctionChannelPriorityModeToggle
(props: { active: boolean viewMode: DataTableViewMode reason: 'sort' | 'tag' | 'permission' | 'busy' | n
web/src/features/channels/components/channel-priority-controls.tsx:145
FunctionChannelPriorityStatus
(props: { order: ReturnType<typeof useChannelPriorityOrder> })
web/src/features/channels/components/channel-priority-controls.tsx:217
FunctionChannelProviderPicker
(props: ChannelProviderPickerProps)
web/src/features/channels/components/drawers/channel-provider-picker.tsx:71
FunctionChannelQuickOptions
(props: ChannelQuickOptionsProps)
web/src/features/channels/components/channel-quick-options.tsx:71
FunctionChannelRequestPluginsField
( props: ChannelRequestPluginsFieldProps )
web/src/features/channels/components/drawers/channel-request-plugins-field.tsx:47
FunctionChannelSelectorDialog
({ open, onOpenChange, channels, selectedChannelIds, onSelectedChannelIdsChange, channelEndpoints,
web/src/features/system-settings/models/channel-selector-dialog.tsx:73
FunctionChannelSortControl
(props: { field: ChannelSortBy desc: boolean disabled?: boolean onChange: (field: ChannelSortBy, desc:
web/src/features/channels/components/channel-priority-controls.tsx:87
FunctionChannelTestDialog
({ open, onOpenChange, }: ChannelTestDialogProps)
web/src/features/channels/components/dialogs/channel-test-dialog.tsx:325
FunctionChannelTestDialogContent
({ open, onOpenChange, currentRow, }: ChannelTestDialogContentProps)
web/src/features/channels/components/dialogs/channel-test-dialog.tsx:345
FunctionChannelTypeHarness
(props: { pluginKey?: string })
web/src/features/channels/components/channel-type-badge.test.tsx:56
FunctionChannelTypeLogo
(props: { type: number plugin?: PluginIconInput size?: number className?: string })
web/src/features/channels/components/channel-type-badge.tsx:33
FunctionChannels
()
web/src/features/channels/index.tsx:41
FunctionChannelsDialogs
()
web/src/features/channels/components/channels-dialogs.tsx:33
FunctionChannelsPrimaryButtons
()
web/src/features/channels/components/channels-primary-buttons.tsx:75
FunctionChannelsProvider
({ children }: { children: React.ReactNode })
web/src/features/channels/components/channels-provider.tsx:87
FunctionChannelsTable
()
web/src/features/channels/components/channels-table.tsx:105
FunctionChartContainer
({ id, className, children, config, initialDimension = INITIAL_DIMENSION, ...props }: React.Compon
web/src/components/ui/chart.tsx:58
FunctionChartLegendContent
({ className, hideIcon = false, payload, verticalAlign = 'bottom', nameKey, }: React.ComponentProps<
web/src/components/ui/chart.tsx:291
FunctionChartStyle
({ id, config }: { id: string; config: ChartConfig })
web/src/components/ui/chart.tsx:100
FunctionChartTooltipContent
({ active, payload, className, indicator = 'dot', hideLabel = false, hideIndicator = false, labe
web/src/components/ui/chart.tsx:135
FunctionChat2LinkPage
()
web/src/routes/_authenticated/chat2link.tsx:34
FunctionChatCompletionsRequestToResponsesRequest
(req *dto.GeneralOpenAIRequest)
service/openai_chat_responses_compat.go:8
FunctionChatCompletionsResponseToResponsesResponse
(resp *dto.OpenAITextResponse, id string)
service/openai_chat_responses_compat.go:16
FunctionChatDialog
({ open, onOpenChange, onSave, editData, }: ChatDialogProps)
web/src/features/system-settings/content/chat-dialog.tsx:60
FunctionChatMenuItem
* Sub-menu item for a single chat preset
web/src/components/layout/components/chat-presets-item.tsx:59
FunctionChatPresetsItem
({ item }: { item: NavChatPresets })
web/src/components/layout/components/chat-presets-item.tsx:161
FunctionChatRouteComponent
()
web/src/routes/_authenticated/chat/$chatId.tsx:42
FunctionChatSettingsSection
({ defaultValue, }: ChatSettingsSectionProps)
web/src/features/system-settings/content/chat-settings-section.tsx:94
FunctionChatSettingsVisualEditor
({ value, onChange, }: ChatSettingsVisualEditorProps)
web/src/features/system-settings/content/chat-settings-visual-editor.tsx:39
FunctionCheckClusterNameAvailability
(c *gin.Context)
controller/deployment.go:621
FunctionCheckbox
({ className, ...props }: CheckboxPrimitive.Root.Props)
web/src/components/ui/checkbox.tsx:27
FunctionCheckinCalendarCard
({ checkinEnabled, turnstileEnabled, turnstileSiteKey, }: CheckinCalendarCardProps)
web/src/features/profile/components/checkin-calendar-card.tsx:59
FunctionCheckinSettingsSection
({ defaultValues, }: { defaultValues: { enabled: boolean minQuota: number maxQuota: number }
web/src/features/system-settings/general/checkin-settings-section.tsx:54
FunctionClaudeErrorWrapperLocal
(err error, code string, statusCode int)
service/error.go:81
FunctionClaudeMessagesRequestToOpenAIChat
(claudeRequest dto.ClaudeRequest, info convmeta.Meta)
relaykit/relayconvert/request_compat.go:16
FunctionClaudeMessagesRequestToOpenAIResponses
(ctx context.Context, claudeRequest dto.ClaudeRequest, info convmeta.Meta)
relaykit/relayconvert/internal/claude_messages/to_oai_responses_req.go:18
FunctionClaudeSettingsCard
({ defaultValues }: ClaudeSettingsCardProps)
web/src/features/system-settings/models/claude-settings-card.tsx:96
FunctionClaudeToOpenAIRequest
(claudeRequest dto.ClaudeRequest, info *relaycommon.RelayInfo)
service/request_converter.go:50
MethodClean
()
model/token.go:63
FunctionCleanFunctionParametersJSON
CleanFunctionParametersJSON is CleanFunctionParameters for raw function parameters. Parameters with an empty properties object are left out.
relaykit/relayconvert/internal/shared/gemini/schema.go:50
FunctionCleanupChannelPollingLocks
CleanupChannelPollingLocks removes locks for channels that no longer exist This is optional and can be called periodically to prevent memory leaks
model/channel.go:716
FunctionCleanupLogFiles
CleanupLogFiles 清理过期日志文件
controller/performance.go:258
MethodClearCache
()
relaykit/types/file_source.go:22
MethodClearCache
()
relaykit/types/file_source.go:50
FunctionClearChannelAffinityCache
(c *gin.Context)
controller/channel_affinity_cache.go:21
FunctionClearDiskCache
ClearDiskCache 清理不活跃的磁盘缓存
controller/performance.go:142
← previousnext →9,101–9,200 of 15,409, ranked by callers