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
Function
InfoField
(props: { label: string value?: string | null mono?: boolean copyable?: boolean className?: string }
web/src/features/channels/components/dialogs/codex-usage-dialog.tsx:603
Function
InfoItem
({ label, value }: { label: string; value: string | number })
web/src/features/usage-logs/components/dialogs/user-info-dialog.tsx:37
Function
InheritanceHarness
(props: { globalOptions?: typeof globalOptions })
web/src/features/keys/components/__tests__/auto-group-order-editor.test.tsx:96
Function
Init
()
pkg/perf_metrics/metrics.go:32
Method
Init
(*relaycommon.RelayInfo)
controller/plugin_protocol_test.go:368
Method
Init
(info *relaycommon.RelayInfo)
service/task_polling_test.go:63
Method
Init
(*relaycommon.RelayInfo)
service/task_polling_test.go:836
Method
Init
(_ *relaycommon.RelayInfo)
service/task_billing_test.go:1411
Method
Init
(info *relaycommon.RelayInfo)
relay/channel/adapter.go:44
Method
Init
(info *relaycommon.RelayInfo)
relay/channel/replicate/adaptor.go:31
Method
Init
(info *relaycommon.RelayInfo)
relay/channel/jimeng/adaptor.go:32
Method
Init
(info *relaycommon.RelayInfo)
relay/channel/gemini/adaptor.go:157
Method
Init
(info *relaycommon.RelayInfo)
relay/channel/deepseek/adaptor.go:64
Method
Init
(info *relaycommon.RelayInfo)
relay/channel/xunfei/adaptor.go:41
Method
Init
(info *relaycommon.RelayInfo)
relay/channel/ollama/adaptor.go:40
Method
Init
(info *relaycommon.RelayInfo)
relay/channel/mistral/adaptor.go:40
Method
Init
(info *relaycommon.RelayInfo)
relay/channel/task/jsplugin/adaptor.go:163
Method
Init
(info *relaycommon.RelayInfo)
relay/channel/zhipu_4v/adaptor.go:52
Method
Init
(info *relaycommon.RelayInfo)
relay/channel/palm/adaptor.go:41
Method
Init
(info *relaycommon.RelayInfo)
relay/channel/jina/adaptor.go:43
Method
Init
(info *relaycommon.RelayInfo)
relay/channel/xai/adaptor.go:51
Method
Init
(info *relaycommon.RelayInfo)
relay/channel/moonshot/adaptor.go:46
Method
Init
(info *relaycommon.RelayInfo)
relay/channel/newapi/adaptor.go:26
Method
Init
(info *relaycommon.RelayInfo)
relay/channel/submodel/adaptor.go:36
Method
Init
(info *relaycommon.RelayInfo)
relay/channel/minimax/adaptor.go:87
Method
Init
(info *relaycommon.RelayInfo)
relay/channel/perplexity/adaptor.go:43
Method
Init
(info *relaycommon.RelayInfo)
relay/channel/zhipu/adaptor.go:41
Method
Init
(info *relaycommon.RelayInfo)
relay/channel/tencent/adaptor.go:49
Method
Init
(info *relaycommon.RelayInfo)
relay/channel/dify/adaptor.go:48
Method
Init
(info *relaycommon.RelayInfo)
relay/channel/siliconflow/adaptor.go:75
Method
Init
(info *relaycommon.RelayInfo)
relay/channel/baidu_v2/adaptor.go:43
Method
Init
(info *relaycommon.RelayInfo)
relay/channel/volcengine/adaptor.go:236
Method
Init
(info *relaycommon.RelayInfo)
relay/channel/codex/adaptor.go:40
Method
Init
(info *relaycommon.RelayInfo)
relay/channel/cohere/adaptor.go:41
Method
Init
(info *relaycommon.RelayInfo)
relay/channel/baidu/adaptor.go:42
Method
Init
(info *relaycommon.RelayInfo)
relay/channel/cloudflare/adaptor.go:33
Method
Init
(info *relaycommon.RelayInfo)
relay/channel/mokaai/adaptor.go:47
Method
Init
(info *relaycommon.RelayInfo)
relay/channel/claude/adaptor.go:73
Method
Init
Init implements channel.Adaptor.
relay/channel/coze/adaptor.go:130
Function
InlineCitation
({ className, ...props }: InlineCitationProps)
web/src/components/ai-elements/inline-citation.tsx:49
Function
InlineCitationCard
(props: InlineCitationCardProps)
web/src/components/ai-elements/inline-citation.tsx:73
Function
InlineCitationCardBody
({ className, ...props }: InlineCitationCardBodyProps)
web/src/components/ai-elements/inline-citation.tsx:106
Function
InlineCitationCardTrigger
({ sources, className, ...props }: InlineCitationCardTriggerProps)
web/src/components/ai-elements/inline-citation.tsx:81
Function
InlineCitationCarousel
({ className, children, ...props }: InlineCitationCarouselProps)
web/src/components/ai-elements/inline-citation.tsx:122
Function
InlineCitationCarouselContent
( props: InlineCitationCarouselContentProps )
web/src/components/ai-elements/inline-citation.tsx:140
Function
InlineCitationCarouselHeader
({ className, ...props }: InlineCitationCarouselHeaderProps)
web/src/components/ai-elements/inline-citation.tsx:158
Function
InlineCitationCarouselIndex
({ children, className, ...props }: InlineCitationCarouselIndexProps)
web/src/components/ai-elements/inline-citation.tsx:173
Function
InlineCitationCarouselItem
({ className, ...props }: InlineCitationCarouselItemProps)
web/src/components/ai-elements/inline-citation.tsx:146
Function
InlineCitationCarouselNext
({ className, ...props }: InlineCitationCarouselNextProps)
web/src/components/ai-elements/inline-citation.tsx:242
Function
InlineCitationCarouselPrev
({ className, ...props }: InlineCitationCarouselPrevProps)
web/src/components/ai-elements/inline-citation.tsx:212
Function
InlineCitationQuote
({ children, className, ...props }: InlineCitationQuoteProps)
web/src/components/ai-elements/inline-citation.tsx:302
Function
InlineCitationSource
({ title, url, description, className, children, ...props }: InlineCitationSourceProps)
web/src/components/ai-elements/inline-citation.tsx:276
Function
InlineCitationText
({ className, ...props }: InlineCitationTextProps)
web/src/components/ai-elements/inline-citation.tsx:61
Function
InlineMetric
(props: { icon: React.ComponentType<{ className?: string }> label: string value: string valueClassName
web/src/features/dashboard/components/models/performance-overview.tsx:138
Function
InlineSelection
()
web/src/features/channels/components/__tests__/upstream-model-selection.test.tsx:116
Function
Input
({ className, type, ...props }: React.ComponentProps<'input'>)
web/src/components/ui/input.tsx:24
Function
InputGroup
({ className, ...props }: React.ComponentProps<'div'>)
web/src/components/ui/input-group.tsx:29
Function
InputGroupAddon
({ className, align = 'inline-start', ...props }: React.ComponentProps<'div'> & VariantProps<typeof inpu
web/src/components/ui/input-group.tsx:64
Function
InputGroupButton
({ className, type = 'button', variant = 'ghost', size = 'xs', ...props }: Omit<React.ComponentProps
web/src/components/ui/input-group.tsx:103
Function
InputGroupInput
({ className, ...props }: React.ComponentProps<'input'>)
web/src/components/ui/input-group.tsx:136
Function
InputGroupText
({ className, ...props }: React.ComponentProps<'span'>)
web/src/components/ui/input-group.tsx:124
Function
InputGroupTextarea
({ className, ...props }: React.ComponentProps<'textarea'>)
web/src/components/ui/input-group.tsx:152
Function
InputOTP
({ className, containerClassName, ...props }: React.ComponentProps<typeof OTPInput> & { containerClass
web/src/components/ui/input-otp.tsx:26
Function
InputOTPGroup
({ className, ...props }: React.ComponentProps<'div'>)
web/src/components/ui/input-otp.tsx:47
Function
InputOTPSeparator
({ ...props }: React.ComponentProps<'div'>)
web/src/components/ui/input-otp.tsx:90
Function
InputOTPSlot
({ index, className, ...props }: React.ComponentProps<'div'> & { index: number })
web/src/components/ui/input-otp.tsx:60
Function
InstallStateBadge
({ state }: { state: InstallState })
web/src/features/task-plugins/components/marketplace-plugin-card.tsx:244
Function
InstanceEditorDialog
(props: RequestPluginInstanceEditorProps)
web/src/features/task-plugins/components/request-plugin-instance-editor.tsx:188
Function
IntMax
(a int, b int)
common/utils.go:190
Method
Interval
()
controller/system_task_handlers.go:36
Method
Interval
()
controller/system_task_handlers.go:61
Method
Interval
()
controller/system_task_handlers.go:106
Method
Interval
()
controller/system_task_handlers.go:130
Method
Interval
()
controller/system_task_handlers.go:175
Method
Interval
()
controller/system_task_handlers.go:195
Method
Interval
()
service/system_task_test.go:55
Function
IoNetDeploymentSettingsSection
({ defaultValues, }: { defaultValues: { enabled: boolean apiKey: string } })
web/src/features/system-settings/integrations/ionet-deployment-settings-section.tsx:59
Function
IpRestrictionsCell
(props: ApiKeyRestrictionProps)
web/src/features/keys/components/api-keys-cells.tsx:160
Function
IsCNYDisplay
IsCNYDisplay 是否以人民币展示
setting/operation_setting/general_setting.go:50
Function
IsChannelEnabledForAnyGroupModel
(groups []string, modelName string, channelID int)
model/channel_satisfy.go:35
Function
IsCheckinEnabled
IsCheckinEnabled 是否启用签到功能
setting/operation_setting/checkin_setting.go:30
Function
IsClientError
(err error)
relaykit/relayconvert/reasoning/intent.go:50
Method
IsDisk
()
relaykit/types/file_source.go:205
Method
IsDisk
()
common/body_storage.go:140
Method
IsDisk
()
common/body_storage.go:307
Method
IsEnabled
()
controller/auth_flow_test.go:633
Method
IsEnabled
()
controller/security_enrollment_test.go:1296
Method
IsEnabled
()
oauth/telegram.go:105
Method
IsEnabled
()
oauth/github.go:48
Method
IsEnabled
()
oauth/oidc.go:47
Method
IsEnabled
()
oauth/linuxdo.go:40
Method
IsEnabled
()
oauth/discord.go:45
Method
IsEnabled
()
oauth/generic.go:81
Function
IsGeminiModelSupportImagine
(model string)
setting/model_setting/gemini.go:111
Method
IsGenericProvider
IsGenericProvider returns true for generic providers
oauth/generic.go:329
Function
IsHeaderPassthroughRuleKey
(key string)
relay/channel/api_request.go:127
Function
IsIP
(s string)
common/ip.go:5
Function
IsJsonArray
(str string)
common/str.go:67
Method
IsModelLimitsEnabled
()
model/token.go:339
Function
IsPrivateIP
(ip net.IP)
common/ip.go:14
← previous
next →
10,401–10,500 of 15,409, ranked by callers