MCPcopy Create free account

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

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

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
MethodClearRawData
()
relaykit/types/file_source.go:17
MethodClearRawData
()
relaykit/types/file_source.go:90
MethodClearRawData
()
relaykit/types/file_source.go:113
FunctionClerkFullLogo
(props: SVGProps<SVGSVGElement>)
web/src/assets/clerk-full-logo.tsx:21
FunctionClerkLogo
({ className, ...props }: SVGProps<SVGSVGElement>)
web/src/assets/clerk-logo.tsx:23
MethodClose
()
common/body_storage.go:104
MethodClose
Close releases this request's cursor. The storage stays open for GetBody replays and is closed by its owner.
common/body_storage.go:416
MethodCloseIdleConnections
()
service/protected_fetch_client.go:115
MethodCloseIdleConnections
()
service/http_client_transport_test.go:420
MethodCloseNotify
()
router/plugin-router.go:583
FunctionCodeBlock
({ code, collapsedLines = 12, defaultCollapsed, enableCollapse = true, filename, language, maxEx
web/src/components/ai-elements/code-block.tsx:469
FunctionCodeBlockCopyButton
({ onCopy, onError, timeout = 2000, children, className, ...props }: CodeBlockCopyButtonProps)
web/src/components/ai-elements/code-block.tsx:643
FunctionCodeBlockEditor
({ actions, ariaLabel, autoFocus = true, className, language, onChange, onKeyDown, placeholder
web/src/components/ai-elements/code-block.tsx:599
FunctionCodeBlockFrame
({ bodyClassName, bodyMaxHeight, bodyOverlay, children, className, endActions, showToolbar = fal
web/src/components/ai-elements/code-block.tsx:424
FunctionCodeLine
(props: { children: ReactNode; indent?: number })
web/src/features/home/components/hero-terminal-demo.tsx:490
FunctionCodeMirrorCodeView
({ ariaLabel, autoFocus = false, language, onChange, onKeyDown, placeholder, readOnly = false,
web/src/components/ai-elements/code-block.tsx:316
FunctionCodeSamplesSection
(props: { model: PricingModel endpointMap: Record<string, { path?: string; method?: string }> })
web/src/features/pricing/components/model-details-api.tsx:443
FunctionCodexUsageDialog
({ open, onOpenChange, channelName, channelId, channelDisplayName, channelDisplayId, response,
web/src/features/channels/components/dialogs/codex-usage-dialog.tsx:904
FunctionCollapsible
({ ...props }: CollapsiblePrimitive.Root.Props)
web/src/components/ui/collapsible.tsx:21
FunctionCollapsibleContent
({ ...props }: CollapsiblePrimitive.Panel.Props)
web/src/components/ui/collapsible.tsx:31
FunctionCollapsibleTrigger
({ ...props }: CollapsiblePrimitive.Trigger.Props)
web/src/components/ui/collapsible.tsx:25
FunctionCombobox
( props: | ComboboxPrimitive.Root.Props<unknown, boolean | undefined> | LegacyComboboxProps )
web/src/components/ui/combobox.tsx:71
FunctionComboboxChip
({ className, children, showRemove = true, ...props }: ComboboxPrimitive.Chip.Props & { showRemove?:
web/src/components/ui/combobox.tsx:423
FunctionComboboxChips
({ className, ...props }: React.ComponentPropsWithRef<typeof ComboboxPrimitive.Chips> & ComboboxPrimitiv
web/src/components/ui/combobox.tsx:406
FunctionComboboxChipsInput
({ className, ...props }: ComboboxPrimitive.Input.Props)
web/src/components/ui/combobox.tsx:458
FunctionComboboxClear
({ className, ...props }: ComboboxPrimitive.Clear.Props)
web/src/components/ui/combobox.tsx:216
FunctionComboboxCollection
({ ...props }: ComboboxPrimitive.Collection.Props)
web/src/components/ui/combobox.tsx:374
FunctionComboboxContent
({ className, side = 'bottom', sideOffset = 6, align = 'start', alignOffset = 0, anchor, ...prop
web/src/components/ui/combobox.tsx:270
FunctionComboboxEmpty
({ className, ...props }: ComboboxPrimitive.Empty.Props)
web/src/components/ui/combobox.tsx:380
FunctionComboboxGroup
({ className, ...props }: ComboboxPrimitive.Group.Props)
web/src/components/ui/combobox.tsx:351
FunctionComboboxInput
({ options, value = '', onValueChange, placeholder = 'Select or type...', emptyText = 'No option fou
web/src/components/ui/combobox-input.tsx:53
FunctionComboboxInput
({ className, children, disabled = false, showTrigger = true, showClear = false, triggerAriaLabel,
web/src/components/ui/combobox.tsx:233
FunctionComboboxItem
({ className, children, ...props }: ComboboxPrimitive.Item.Props)
web/src/components/ui/combobox.tsx:321
FunctionComboboxLabel
({ className, ...props }: ComboboxPrimitive.GroupLabel.Props)
web/src/components/ui/combobox.tsx:361
FunctionComboboxList
({ className, ...props }: ComboboxPrimitive.List.Props)
web/src/components/ui/combobox.tsx:308
FunctionComboboxSeparator
({ className, ...props }: ComboboxPrimitive.Separator.Props)
web/src/components/ui/combobox.tsx:393
FunctionComboboxTrigger
({ className, children, ...props }: ComboboxPrimitive.Trigger.Props)
web/src/components/ui/combobox.tsx:195
FunctionComboboxValue
({ ...props }: ComboboxPrimitive.Value.Props)
web/src/components/ui/combobox.tsx:191
FunctionComingSoon
()
web/src/components/coming-soon.tsx:22
FunctionCommand
({ className, ...props }: React.ComponentProps<typeof CommandPrimitive>)
web/src/components/ui/command.tsx:36
FunctionCommand
(props: { children: ReactNode })
web/src/features/home/components/hero-terminal-demo.tsx:505
FunctionCommandDialog
({ title = 'Command Palette', description = 'Search for a command to run...', children, className, s
web/src/components/ui/command.tsx:52
FunctionCommandEmpty
({ className, ...props }: React.ComponentProps<typeof CommandPrimitive.Empty>)
web/src/components/ui/command.tsx:128
FunctionCommandGroup
({ className, ...props }: React.ComponentProps<typeof CommandPrimitive.Group>)
web/src/components/ui/command.tsx:141
FunctionCommandInput
({ className, ...props }: React.ComponentProps<typeof CommandPrimitive.Input>)
web/src/components/ui/command.tsx:85
FunctionCommandItem
({ className, children, ...props }: React.ComponentProps<typeof CommandPrimitive.Item>)
web/src/components/ui/command.tsx:170
FunctionCommandList
({ className, ...props }: React.ComponentProps<typeof CommandPrimitive.List>)
web/src/components/ui/command.tsx:112
FunctionCommandMenu
()
web/src/components/command-menu.tsx:40
FunctionCommandSeparator
({ className, ...props }: React.ComponentProps<typeof CommandPrimitive.Separator>)
web/src/components/ui/command.tsx:157
FunctionCommandShortcut
({ className, ...props }: React.ComponentProps<'span'>)
web/src/components/ui/command.tsx:194
FunctionCommonLogMobileCard
(props: { log: UsageLog cells: Map<string, Cell<TData, unknown>> })
web/src/features/usage-logs/components/common-log-mobile-card.tsx:61
FunctionCommonLogsFilterBar
( props: CommonLogsFilterBarProps<TData> )
web/src/features/usage-logs/components/common-logs-filter-bar.tsx:119
FunctionCommonLogsHeaderActions
()
web/src/features/usage-logs/components/common-logs-header-actions.tsx:39
FunctionCommonLogsStats
()
web/src/features/usage-logs/components/common-logs-stats.tsx:51
FunctionCommunityPluginReach
(props: CommunityPluginReachProps)
web/src/features/task-plugins/components/community-plugin-reach.tsx:49
FunctionCompactCell
({ cell, fallback = '-', className, primaryOnly = false, }: { cell?: Cell<TData, unknown> fallback
web/src/features/usage-logs/components/usage-logs-mobile-card.tsx:94
FunctionCompactContent
* Compact content — structured layout with title header + side-by-side fields. * Used when columns define mobileTitle or mobileBadge meta. * * Visu
web/src/components/data-table/layout/card-row-content.tsx:64
FunctionCompactDateTimeRangePicker
({ start, end, onChange, className, }: CompactDateTimeRangePickerProps)
web/src/features/usage-logs/components/compact-date-time-range-picker.tsx:50
FunctionCompactQuickAction
(props: { action: QuickAction })
web/src/features/dashboard/components/overview/overview-dashboard.tsx:447
FunctionComparisonOperator
(props: { value: VisualComparison['operator'] onChange: (value: VisualComparison['operator']) => void })
web/src/features/system-settings/models/visual-condition-tree.tsx:104
FunctionCompileFromCacheByHash
CompileFromCacheByHash is like CompileFromCache but accepts a pre-computed hash, useful when the caller already has the BillingSnapshot.ExprHash.
pkg/billingexpr/compile.go:177
FunctionCompletePluginLoginCallback
CompletePluginLoginCallback receives the query of the vendor's redirect to a plugin's callback page.
controller/provider_plugin.go:117
FunctionCompleteStep
({ status, values }: CompleteStepProps)
web/src/features/setup/components/complete-step.tsx:47
FunctionConditionActions
(props: ConditionProps & { group: boolean })
web/src/features/system-settings/models/visual-condition-tree.tsx:142
FunctionConditionEditor
(conditionEditorProps: ConditionEditorProps)
web/src/features/channels/components/dialogs/param-override-editor-dialog.tsx:2522
FunctionConditionFields
(props: ConditionProps)
web/src/features/system-settings/models/visual-condition-tree.tsx:242
FunctionConfigDrawer
()
web/src/components/config-drawer.tsx:70
FunctionConfigurationHarness
(props: { initialOpen?: boolean currentRow?: Channel clearRowOnClose?: boolean })
web/src/features/channels/components/__tests__/channel-configuration.test.tsx:103
FunctionConfigureModelsDialog
(props: ConfigureModelsDialogProps)
web/src/features/channels/components/dialogs/configure-models-dialog.tsx:41
FunctionConfirmDialog
(props: ConfirmDialogProps)
web/src/components/confirm-dialog.tsx:49
FunctionConfirmPaymentCompliance
(c *gin.Context)
controller/payment_compliance.go:28
FunctionConfirmation
({ className, approval, state, ...props }: ConfirmationProps)
web/src/components/ai-elements/confirmation.tsx:63
FunctionConfirmationAccepted
({ children, }: ConfirmationAcceptedProps)
web/src/components/ai-elements/confirmation.tsx:108
FunctionConfirmationAction
(props: ConfirmationActionProps)
web/src/components/ai-elements/confirmation.tsx:171
FunctionConfirmationActions
({ className, ...props }: ConfirmationActionsProps)
web/src/components/ai-elements/confirmation.tsx:150
FunctionConfirmationRejected
({ children, }: ConfirmationRejectedProps)
web/src/components/ai-elements/confirmation.tsx:130
FunctionConfirmationRequest
({ children }: ConfirmationRequestProps)
web/src/components/ai-elements/confirmation.tsx:93
FunctionConfirmationTitle
({ className, ...props }: ConfirmationTitleProps)
web/src/components/ai-elements/confirmation.tsx:82
FunctionConflictConfirmDialog
(props: ConflictConfirmDialogProps)
web/src/features/system-settings/models/conflict-confirm-dialog.tsx:44
FunctionConnection
({ fromX, fromY, toX, toY, })
web/src/components/ai-elements/connection.tsx:23
FunctionConnectionLine
({ direction = 'left' }: ConnectionLineProps)
web/src/features/home/components/connection-line.tsx:28
← previousnext →9,301–9,400 of 15,592, ranked by callers