MCPcopy Create free account

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

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

FunctionFontProvider
({ children }: { children: React.ReactNode })
web/src/context/font-provider.tsx:37
FunctionFooter
(props: FooterProps)
web/src/components/layout/components/footer.tsx:152
FunctionFooterLinkItem
(props: { link: FooterLink })
web/src/components/layout/components/footer.tsx:51
FunctionForbiddenError
()
web/src/features/errors/forbidden.tsx:24
FunctionForceGC
ForceGC 强制执行 GC
controller/performance.go:162
FunctionForgotPassword
()
web/src/features/auth/forgot-password/index.tsx:25
FunctionForgotPasswordForm
({ className, ...props }: React.HTMLAttributes<HTMLFormElement>)
web/src/features/auth/forgot-password/components/forgot-password-form.tsx:50
FunctionForm
({ children, ...props }: React.ComponentProps<typeof FormProvider<TFieldValues>>)
web/src/components/ui/form.tsx:109
FunctionFormControl
({ children, describedBy, ...props }: { children: React.ReactElement describedBy?: string } & Record
web/src/components/ui/form.tsx:217
FunctionFormDescription
({ className, ...props }: React.ComponentProps<'p'>)
web/src/components/ui/form.tsx:248
FunctionFormDirtyIndicator
({ isDirty, message, }: FormDirtyIndicatorProps)
web/src/features/system-settings/components/form-dirty-indicator.tsx:36
FunctionFormField
({ ...props }: ControllerProps<TFieldValues, TName>)
web/src/components/ui/form.tsx:140
FunctionFormItem
({ className, ...props }: React.ComponentProps<'div'>)
web/src/components/ui/form.tsx:184
FunctionFormLabel
({ className, ...props }: React.ComponentProps<typeof Label>)
web/src/components/ui/form.tsx:200
FunctionFormLabelFixture
()
web/src/components/ui/__tests__/label.test.tsx:29
FunctionFormMessage
({ className, ...props }: React.ComponentProps<'p'>)
web/src/components/ui/form.tsx:261
FunctionFormNavigationGuard
({ when, title, message, }: FormNavigationGuardProps)
web/src/features/system-settings/components/form-navigation-guard.tsx:46
FunctionFormValidationFocus
()
web/src/components/ui/form.tsx:66
FunctionFormatAuthError
(err error)
service/auth_session.go:488
MethodFullKey
(key string)
pkg/cachex/namespace.go:17
FunctionFunctionParameters
FunctionParameters returns the Gemini function declaration field that carries schema, and its value. A schema that fits Gemini's typed Schema is clean
relaykit/relayconvert/internal/shared/gemini/schema.go:240
FunctionGatewayCard
({ logo, systemName }: GatewayCardProps)
web/src/features/home/components/gateway-card.tsx:33
FunctionGatewayLogo
(props: { pluginKey?: string })
web/src/features/task-plugins/__tests__/plugin-icon-image.test.tsx:75
FunctionGatewayPluginIcon
(props: PluginIconProps)
web/src/features/task-plugins/components/plugin-icon.tsx:38
FunctionGeminiGenerateContentRequestToOpenAIChat
(geminiRequest *dto.GeminiChatRequest, info convmeta.Meta)
relaykit/relayconvert/request_compat.go:24
FunctionGeminiGenerateContentRequestToOpenAIChat
(ctx context.Context, geminiRequest *dto.GeminiChatRequest, info convmeta.Meta)
relaykit/relayconvert/internal/gemini_chat/to_oai_chat_req.go:18
FunctionGeminiSettingsCard
({ defaultValues }: GeminiSettingsCardProps)
web/src/features/system-settings/models/gemini-settings-card.tsx:115
FunctionGeminiToOpenAIRequest
(geminiRequest *dto.GeminiChatRequest, info *relaycommon.RelayInfo)
service/request_converter.go:62
FunctionGeneralError
({ className, minimal = false, error, }: GeneralErrorProps)
web/src/features/errors/general-error.tsx:41
FunctionGenerateRandomKey
(length int)
common/utils.go:221
MethodGet
(key string)
pkg/cachex/hybrid_cache.go:80
FunctionGet2FAStatus
Get2FAStatus 获取用户2FA状态
controller/twofa.go:85
FunctionGetAbout
(c *gin.Context)
controller/misc.go:187
FunctionGetAccessTokenCatalog
(c *gin.Context)
controller/access_token.go:94
FunctionGetAccessTokenScopes
GetAccessTokenScopes returns the unfiltered scope labels used to describe stored grants, such as those in audit records.
controller/access_token.go:108
FunctionGetAffCode
(c *gin.Context)
controller/user.go:445
FunctionGetAllChannels
(c *gin.Context)
controller/channel.go:223
FunctionGetAllDeployments
(c *gin.Context)
controller/deployment.go:206
FunctionGetAllEnableAbilities
()
model/ability.go:69
FunctionGetAllLogs
(c *gin.Context)
controller/log.go:57
FunctionGetAllMidjourney
(c *gin.Context)
controller/midjourney.go:281
FunctionGetAllModels
(offset int, limit int)
model/model_meta.go:408
FunctionGetAllModelsMeta
GetAllModelsMeta 获取模型列表(分页)
controller/model_meta.go:16
FunctionGetAllQuotaDates
(c *gin.Context)
controller/usedata.go:31
FunctionGetAllRedemptions
(c *gin.Context)
controller/redemption.go:16
FunctionGetAllTask
* The task list handlers below deliberately do not call projectTaskArtifacts. Artifact projection is confined to the explicit endpoints above. */
controller/task.go:417
FunctionGetAllTopUps
GetAllTopUps 管理员获取全平台充值记录
controller/topup.go:584
FunctionGetAllUsers
(c *gin.Context)
controller/user.go:338
FunctionGetAllVendors
GetAllVendors uses the same paged filters and counts as the search endpoint.
controller/vendor_meta.go:15
FunctionGetAllVendors
GetAllVendors 获取全部供应商(分页)
model/vendor_meta.go:97
FunctionGetAuditLogs
(c *gin.Context)
controller/access_token.go:345
FunctionGetAvailableReplicas
(c *gin.Context)
controller/deployment.go:564
MethodGetBudgetTokens
()
relaykit/dto/claude.go:581
MethodGetCache
()
relaykit/types/file_source.go:42
MethodGetCacheCreationTotalTokens
()
relaykit/dto/claude.go:728
FunctionGetCacheRatioMap
GetCacheRatioMap returns a copy of the cache ratio map
setting/ratio_setting/cache_ratio.go:139
FunctionGetCacheStats
GetCacheStats 获取缓存统计信息(代理到 common 包)
setting/performance_setting/config.go:78
FunctionGetChannel
(c *gin.Context)
controller/channel.go:502
FunctionGetChannelAffinityCacheStats
(c *gin.Context)
controller/channel_affinity_cache.go:12
FunctionGetChannelAffinityUsageCacheStats
(c *gin.Context)
controller/channel_affinity_cache.go:57
FunctionGetChannelBalanceTask
GetChannelBalanceTask answers the progress of an update of all balances, read from the system task any node can see: its status, how many enabled chan
controller/channel-billing.go:848
MethodGetChannelID
()
relaykit/relayconvert/convmeta/meta.go:196
MethodGetChannelID
()
relay/common/relay_info.go:899
MethodGetChannelName
()
relay/channel/adapter.go:82
MethodGetChannelName
()
relay/channel/replicate/adaptor.go:310
MethodGetChannelName
()
relay/channel/jimeng/adaptor.go:142
MethodGetChannelName
()
relay/channel/gemini/adaptor.go:327
MethodGetChannelName
()
relay/channel/deepseek/adaptor.go:304
MethodGetChannelName
()
relay/channel/ali/adaptor.go:229
MethodGetChannelName
()
relay/channel/xunfei/adaptor.go:102
MethodGetChannelName
()
relay/channel/ollama/adaptor.go:146
MethodGetChannelName
()
relay/channel/mistral/adaptor.go:91
MethodGetChannelName
()
relay/channel/task/jsplugin/adaptor.go:656
MethodGetChannelName
()
relay/channel/zhipu_4v/adaptor.go:142
MethodGetChannelName
()
relay/channel/palm/adaptor.go:94
MethodGetChannelName
()
relay/channel/providerplugin/adaptor.go:513
MethodGetChannelName
()
relay/channel/jina/adaptor.go:96
MethodGetChannelName
()
relay/channel/xai/adaptor.go:143
MethodGetChannelName
()
relay/channel/moonshot/adaptor.go:137
MethodGetChannelName
()
relay/channel/newapi/adaptor.go:119
MethodGetChannelName
()
relay/channel/openai/adaptor.go:815
MethodGetChannelName
()
relay/channel/aws/adaptor.go:185
MethodGetChannelName
()
relay/channel/submodel/adaptor.go:85
MethodGetChannelName
()
relay/channel/minimax/adaptor.go:145
MethodGetChannelName
()
relay/channel/perplexity/adaptor.go:96
MethodGetChannelName
()
relay/channel/zhipu/adaptor.go:100
MethodGetChannelName
()
relay/channel/tencent/adaptor.go:116
MethodGetChannelName
()
relay/channel/tencent/dispatch.go:35
MethodGetChannelName
()
relay/channel/dify/adaptor.go:117
MethodGetChannelName
()
relay/channel/siliconflow/adaptor.go:138
MethodGetChannelName
()
relay/channel/baidu_v2/adaptor.go:128
MethodGetChannelName
()
relay/channel/volcengine/adaptor.go:401
MethodGetChannelName
()
relay/channel/vertex/adaptor.go:397
MethodGetChannelName
()
relay/channel/codex/adaptor.go:137
MethodGetChannelName
()
relay/channel/cohere/adaptor.go:97
MethodGetChannelName
()
relay/channel/advancedcustom/adaptor.go:371
MethodGetChannelName
()
relay/channel/baidu/adaptor.go:167
MethodGetChannelName
()
relay/channel/cloudflare/adaptor.go:133
MethodGetChannelName
()
relay/channel/mokaai/adaptor.go:109
MethodGetChannelName
()
relay/channel/claude/adaptor.go:180
← previousnext →10,101–10,200 of 15,592, ranked by callers