Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/QuantumNous/new-api
/ functions
Functions
15,592 in github.com/QuantumNous/new-api
⨍
Functions
15,592
◇
Types & classes
2,267
Function
PublicLayout
(props: PublicLayoutProps)
web/src/components/layout/components/public-layout.tsx:35
Function
PublicNavigation
({ links: providedLinks, className, }: PublicNavigationProps = {})
web/src/components/layout/components/public-navigation.tsx:43
Function
PulseCard
(props: { title: string description: string icon: React.ReactNode children: React.ReactNode })
web/src/features/rankings/components/pulse-section.tsx:81
Function
PulseEmpty
(props: { label: string })
web/src/features/rankings/components/pulse-section.tsx:103
Function
PulseSection
(props: PulseSectionProps)
web/src/features/rankings/components/pulse-section.tsx:41
Function
QuerySkeleton
(props: QuerySkeletonProps)
web/src/components/auto-skeleton.tsx:65
Function
Queue
({ className, ...props }: QueueProps)
web/src/components/ai-elements/queue.tsx:286
Function
QueueItem
({ className, ...props }: QueueItemProps)
web/src/components/ai-elements/queue.tsx:55
Function
QueueItemAction
({ className, ...props }: QueueItemActionProps)
web/src/components/ai-elements/queue.tsx:142
Function
QueueItemActions
({ className, ...props }: QueueItemActionsProps)
web/src/components/ai-elements/queue.tsx:130
Function
QueueItemAttachment
({ className, ...props }: QueueItemAttachmentProps)
web/src/components/ai-elements/queue.tsx:160
Function
QueueItemContent
({ completed = false, className, ...props }: QueueItemContentProps)
web/src/components/ai-elements/queue.tsx:90
Function
QueueItemDescription
({ completed = false, className, ...props }: QueueItemDescriptionProps)
web/src/components/ai-elements/queue.tsx:111
Function
QueueItemFile
({ children, className, ...props }: QueueItemFileProps)
web/src/components/ai-elements/queue.tsx:184
Function
QueueItemImage
({ className, ...props }: QueueItemImageProps)
web/src/components/ai-elements/queue.tsx:169
Function
QueueItemIndicator
({ completed = false, className, ...props }: QueueItemIndicatorProps)
web/src/components/ai-elements/queue.tsx:69
Function
QueueList
({ children, className, ...props }: QueueListProps)
web/src/components/ai-elements/queue.tsx:203
Function
QueueSection
({ className, defaultOpen = true, ...props }: QueueSectionProps)
web/src/components/ai-elements/queue.tsx:218
Function
QueueSectionContent
({ className, ...props }: QueueSectionContentProps)
web/src/components/ai-elements/queue.tsx:277
Function
QueueSectionLabel
({ count, label, icon, className, ...props }: QueueSectionLabelProps)
web/src/components/ai-elements/queue.tsx:258
Function
QueueSectionTrigger
({ children, className, ...props }: QueueSectionTriggerProps)
web/src/components/ai-elements/queue.tsx:229
Function
QuickActionItem
(props: { action: QuickAction })
web/src/features/dashboard/components/overview/overview-dashboard.tsx:423
Function
QuickOptionsHarness
(props: HarnessProps)
web/src/features/channels/components/__tests__/channel-quick-options.test.tsx:60
Function
QuotaDetailsPopover
(props: QuotaDetailsPopoverProps)
web/src/components/quota-details-popover.tsx:41
Function
QuotaFromDecimalStrict
QuotaFromDecimalStrict converts an in-range single-request quota and rejects a value that would otherwise be saturated at the int32 boundary.
common/quota_math.go:166
Function
QuotaLogPreview
(props: { log: UsageLog })
web/src/features/usage-logs/components/__tests__/quota-adjustment.test.tsx:65
Function
QuotaSettingsSection
({ defaultValues, complianceConfirmed = true, }: QuotaSettingsSectionProps)
web/src/features/system-settings/general/quota-settings-section.tsx:87
Function
QuotaTable
(props: { remaining: number; used: number })
web/src/features/users/components/__tests__/quota-display.test.tsx:68
Function
QuotaTable
(props: { apiKey: ApiKey })
web/src/features/keys/components/__tests__/api-key-listing.test.tsx:82
Function
RadioGroup
({ className, ...props }: RadioGroupPrimitive.Props)
web/src/components/ui/radio-group.tsx:24
Function
RadioGroupItem
(props: { item: { value: string label: string icon: (props: SVGProps<SVGSVGElement>) => React.Re
web/src/components/config-drawer.tsx:162
Function
RadioGroupItem
({ className, ...props }: RadioPrimitive.Root.Props)
web/src/components/ui/radio-group.tsx:34
Function
RadiusConfig
()
web/src/components/config-drawer.tsx:396
Function
RankBadge
(props: { rank: number })
web/src/features/pricing/components/model-details-apps.tsx:46
Function
Rankings
()
web/src/features/rankings/index.tsx:37
Function
RankingsError
(props: { message: string })
web/src/features/rankings/index.tsx:125
Function
RankingsHero
(props: RankingsHeroProps)
web/src/features/rankings/components/rankings-hero.tsx:41
Function
RankingsLoading
()
web/src/features/rankings/index.tsx:115
Function
RateLimitDialog
({ open, onOpenChange, onSave, editData, }: RateLimitDialogProps)
web/src/features/system-settings/request-limits/rate-limit-dialog.tsx:67
Function
RateLimitGroupSection
(props: RateLimitGroupSectionProps)
web/src/features/channels/components/dialogs/codex-usage-dialog.tsx:575
Function
RateLimitSection
({ defaultValues }: RateLimitSectionProps)
web/src/features/system-settings/request-limits/rate-limit-section.tsx:89
Function
RateLimitVisualEditor
({ value, onChange, }: RateLimitVisualEditorProps)
web/src/features/system-settings/request-limits/rate-limit-visual-editor.tsx:39
Function
RateLimitWindow
(props: RateLimitWindowProps)
web/src/features/channels/components/dialogs/codex-usage-dialog.tsx:454
Function
RateLimitWindowGrid
(props: { fiveHourWindow?: CodexRateLimitWindow | null weeklyWindow?: CodexRateLimitWindow | null })
web/src/features/channels/components/dialogs/codex-usage-dialog.tsx:527
Function
RateLimitsSection
(props: { model: PricingModel })
web/src/features/pricing/components/model-details-api.tsx:668
Function
RatioSettingsCard
({ modelDefaults: initialModelDefaults, groupDefaults, toolPricesDefault, titleKey = 'Pricing Ratios',
web/src/features/system-settings/models/ratio-settings-card.tsx:168
Function
RawExprEditor
({ exprString, onChange }: RawExprEditorProps)
web/src/features/system-settings/models/tiered-pricing-editor.tsx:315
Function
ReactIconByName
({ name, ...props }: ReactIconByNameProps)
web/src/components/react-icon-by-name.tsx:146
Method
Read
(p []byte)
common/body_storage.go:86
Method
Read
(p []byte)
common/body_storage.go:389
Method
Read
([]byte)
relay/channel/gemini/relay_responses_test.go:188
Method
Read
Read serves the converted output. An error the plugin returns after the first output ends the stream as a read error does. For a streaming client, an
relay/channel/providerplugin/stream.go:194
Method
Read
(p []byte)
relay/channel/openai/image_stream_test.go:262
Method
Read
(p []byte)
relay/channel/openai/relay_responses_billing_test.go:43
Method
Read
(p []byte)
relay/requestplugin/attachments.go:740
Method
Read
(p []byte)
relay/requestplugin/attachments.go:761
Method
ReadAt
(p []byte, offset int64)
relay/requestplugin/pdf.go:107
Function
ReadDiskCacheFile
ReadDiskCacheFile 读取磁盘缓存文件
common/disk_cache.go:88
Function
ReadDiskCacheFileString
ReadDiskCacheFileString 读取磁盘缓存文件为字符串
common/disk_cache.go:93
Function
ReasoningEffort
(req *dto.OpenAIResponsesRequest)
relaykit/relayconvert/internal/oai_responses/req_helpers.go:168
Method
ReasoningState
()
relaykit/relayconvert/convmeta/meta.go:227
Function
RechargeFormCard
({ topupInfo, presetAmounts, selectedPreset, onSelectPreset, topupAmount, onTopupAmountChange, p
web/src/features/wallet/components/recharge-form-card.tsx:86
Method
Record
(sample Sample)
pkg/perf_metrics/types.go:6
Function
RecordEntry
(props: { entry: RequestPluginRecordEntry loadIcons?: boolean })
web/src/features/usage-logs/components/request-plugin-record.tsx:152
Function
RedemptionList
()
web/src/features/redemption-codes/components/__tests__/bulk-delete.test.tsx:52
Function
Redemptions
()
web/src/features/redemption-codes/index.tsx:28
Function
RedemptionsDeleteDialog
()
web/src/features/redemption-codes/components/redemptions-delete-dialog.tsx:39
Function
RedemptionsDialogs
()
web/src/features/redemption-codes/components/redemptions-dialogs.tsx:23
Function
RedemptionsExportDialog
(props: RedemptionsExportDialogProps)
web/src/features/redemption-codes/components/redemptions-export-dialog.tsx:39
Function
RedemptionsMobileList
(props: RedemptionsMobileListProps)
web/src/features/redemption-codes/components/redemptions-mobile-list.tsx:78
Function
RedemptionsMobileSkeleton
()
web/src/features/redemption-codes/components/redemptions-mobile-list.tsx:50
Function
RedemptionsMutateDrawer
({ open, onOpenChange, currentRow, }: RedemptionsMutateDrawerProps)
web/src/features/redemption-codes/components/redemptions-mutate-drawer.tsx:88
Function
RedemptionsPrimaryButtons
()
web/src/features/redemption-codes/components/redemptions-primary-buttons.tsx:32
Function
RedemptionsProvider
({ children, }: { children: React.ReactNode })
web/src/features/redemption-codes/components/redemptions-provider.tsx:38
Function
RedemptionsTable
()
web/src/features/redemption-codes/components/redemptions-table.tsx:56
Function
RedirectStep
(props: { url: string })
web/src/features/channels/components/dialogs/plugin-login-steps.tsx:104
Function
RedisDel
func RedisExpire(key string, expiration time.Duration) error { ctx := context.Background() return RDB.Expire(ctx, key, expiration).Err() } func Red
common/redis.go:91
Function
RedisGet
(key string)
common/redis.go:72
Function
RedisHIncrBy
(key, field string, delta int64)
common/redis.go:275
Function
RedisHSetField
(key, field string, value any)
common/redis.go:302
Function
RedisHSetObj
(key string, obj any, expiration time.Duration)
common/redis.go:107
Function
RedisIncr
RedisIncr Add this function to handle atomic increments
common/redis.go:242
Function
RedisSet
(key string, value string, expiration time.Duration)
common/redis.go:64
Function
RefreshAuth
(c *gin.Context)
controller/auth_session.go:17
Function
RefreshCodexChannelCredential
(c *gin.Context)
controller/channel.go:748
Function
RefreshCodexOAuthToken
(ctx context.Context, refreshToken string)
service/codex_oauth.go:29
Method
Refund
(*gin.Context)
controller/relay_task_plugin_test.go:49
Method
Refund
(*gin.Context)
controller/plugin_native_e2e_test.go:57
Method
Refund
(*gin.Context)
service/tiered_settle_test.go:327
Method
Refund
()
service/funding_source.go:68
Method
Refund
()
service/funding_source.go:122
Method
Refund
Refund 退还所有预扣费,幂等安全,异步执行。
service/billing_session.go:88
Method
Refund
(*gin.Context)
relay/alpha_search_handler_test.go:90
Method
Refund
(*gin.Context)
relay/convert_request_error_test.go:43
Method
Refund
(*gin.Context)
relay/helper/price_test.go:799
Function
RegenerateBackupCodes
RegenerateBackupCodes 重新生成备用码
controller/twofa.go:121
Function
Register
(c *gin.Context)
controller/user.go:217
Function
RelatedPolicyLink
(props: { section: 'routing' | 'health' })
web/src/features/system-settings/request-policies/related-policy-link.tsx:12
Function
RelayCtxGo
(ctx context.Context, f func())
common/gopool.go:22
Function
RelayMidjourney
(c *gin.Context)
controller/relay.go:366
← previous
next →
11,201–11,300 of 15,592, ranked by callers