MCPcopy Create free account

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

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

FunctionFailReasonDialog
({ failReason, open, onOpenChange, }: FailReasonDialogProps)
web/src/features/usage-logs/components/dialogs/fail-reason-dialog.tsx:34
FunctionFailTaskInfo
(reason string)
relay/common/relay_info.go:1154
FunctionFailureDetailsSheet
({ details, onOpenChange, }: { details: FailureDetailsState | null onOpenChange: (open: boolean) => vo
web/src/features/channels/components/dialogs/channel-test-dialog.tsx:1326
FunctionFailureResultContent
({ result, model, onOpenDetails, }: { result: TestResult model: string onOpenDetails: (details: Fa
web/src/features/channels/components/dialogs/channel-test-dialog.tsx:1268
FunctionFallbackContent
* Fallback content — condensed label:value pairs for tables without * mobileTitle/mobileBadge. Still respects mobileHidden.
web/src/components/data-table/layout/card-row-content.tsx:142
FunctionFallbackListSkeleton
()
web/src/components/data-table/layout/mobile-card-list.tsx:91
FunctionFeatureItem
({ title, description, icon }: FeatureItemProps)
web/src/features/home/components/feature-item.tsx:28
FunctionFeatures
(_props: FeaturesProps)
web/src/features/home/components/sections/features.tsx:37
MethodFetchBatchTasks
(_ string, _ string, tasks []*model.Task, _ string)
service/task_polling_test.go:44
MethodFetchBatchTasks
(string, string, []*model.Task, string)
service/task_polling_test.go:870
MethodFetchBatchTasks
(baseURL, key string, tasks []*model.Task, proxy string)
relay/channel/task/jsplugin/adaptor.go:831
MethodFetchBody
FetchBody returns body with each JSON string value that equals a ref of the call replaced by its data URL, streamed from the request. A string that eq
relay/requestplugin/attachments.go:627
FunctionFetchCodexWhamRateLimitResetCredits
( ctx context.Context, client *http.Client, baseURL string, accessToken string, accountID string, )
service/codex_wham_usage.go:57
FunctionFetchCodexWhamUsage
( ctx context.Context, client *http.Client, baseURL string, accessToken string, accountID string, )
service/codex_wham_usage.go:15
FunctionFetchCustomOAuthDiscovery
FetchCustomOAuthDiscovery fetches OIDC discovery document via backend (root-only route)
controller/custom_oauth.go:145
MethodFetchMode
()
service/task_polling_test.go:43
MethodFetchMode
()
service/task_polling_test.go:869
MethodFetchMode
()
relay/channel/task/jsplugin/adaptor.go:829
FunctionFetchModelsDialog
({ open, onOpenChange, onModelsSelected, redirectModels = [], redirectSourceModels = [], customFet
web/src/features/channels/components/dialogs/fetch-models-dialog.tsx:63
MethodFetchTask
(string, string, *model.Task, string)
controller/plugin_protocol_test.go:370
MethodFetchTask
(_ string, _ string, task *model.Task, _ string)
service/task_polling_test.go:77
MethodFetchTask
(string, string, *model.Task, string)
service/task_polling_test.go:837
MethodFetchTask
(string, string, *model.Task, string)
service/task_billing_test.go:1412
MethodFetchTask
(baseURL, key string, task *model.Task, proxy string)
relay/channel/task/jsplugin/adaptor.go:862
FunctionFetchUpstreamModels
(c *gin.Context)
controller/channel.go:352
FunctionFetchUpstreamRatios
(c *gin.Context)
controller/ratio_sync.go:211
FunctionField
({ className, orientation = 'vertical', ...props }: React.ComponentProps<'div'> & VariantProps<typeof fi
web/src/components/ui/field.tsx:88
FunctionFieldBlock
({ label, className, labelClassName, children, }: { label: ReactNode className?: string labelCla
web/src/features/channels/components/dialogs/advanced-custom-editor-dialog.tsx:1832
FunctionFieldContent
({ className, ...props }: React.ComponentProps<'div'>)
web/src/components/ui/field.tsx:104
FunctionFieldDescription
({ className, ...props }: React.ComponentProps<'p'>)
web/src/components/ui/field.tsx:147
FunctionFieldError
({ className, children, errors, ...props }: React.ComponentProps<'div'> & { errors?: Array<{ message
web/src/components/ui/field.tsx:192
FunctionFieldGroup
({ className, ...props }: React.ComponentProps<'div'>)
web/src/components/ui/field.tsx:57
FunctionFieldLabel
({ className, ...props }: React.ComponentProps<typeof Label>)
web/src/components/ui/field.tsx:117
FunctionFieldLegend
({ className, variant = 'legend', ...props }: React.ComponentProps<'legend'> & { variant?: 'legend' | 'l
web/src/components/ui/field.tsx:39
FunctionFieldSeparator
({ children, className, ...props }: React.ComponentProps<'div'> & { children?: React.ReactNode })
web/src/components/ui/field.tsx:162
FunctionFieldSet
({ className, ...props }: React.ComponentProps<'fieldset'>)
web/src/components/ui/field.tsx:26
FunctionFieldTitle
({ className, ...props }: React.ComponentProps<'div'>)
web/src/components/ui/field.tsx:134
FunctionFieldsStep
(props: { fields: PluginLoginField[] formId: string disabled: boolean onSubmit: (input: PluginLoginInp
web/src/features/channels/components/dialogs/plugin-login-steps.tsx:256
FunctionFillColumnPopover
(props: FillColumnPopoverProps)
web/src/features/system-settings/models/task-pricing-matrix.tsx:98
MethodFillUserByEmail
()
model/user.go:1093
MethodFillUserByProviderID
(user *model.User, _ string)
controller/auth_flow_test.go:330
MethodFillUserByProviderID
(*model.User, string)
controller/auth_flow_test.go:649
MethodFillUserByProviderID
(user *model.User, providerUserID string)
controller/auth_flow_test.go:844
MethodFillUserByProviderID
(user *model.User, id string)
oauth/telegram.go:189
MethodFillUserByProviderID
(user *model.User, providerUserID string)
oauth/github.go:210
MethodFillUserByProviderID
(user *model.User, providerUserID string)
oauth/oidc.go:164
MethodFillUserByProviderID
(user *model.User, providerUserID string)
oauth/linuxdo.go:171
MethodFillUserByProviderID
(user *model.User, providerUserID string)
oauth/discord.go:159
MethodFillUserByProviderID
(user *model.User, providerUserID string)
oauth/generic.go:292
MethodFillUserByTelegramId
()
model/user.go:1133
FunctionFilterChip
(props: { option: FilterOption active: boolean onClick: () => void })
web/src/features/pricing/components/pricing-sidebar.tsx:87
FunctionFilterDrawer
(props: { children: ReactNode })
web/src/components/ui/__tests__/portal-container.test.tsx:76
FunctionFilterFixture
()
web/src/features/usage-logs/components/__tests__/group-filter.test.tsx:49
FunctionFilterFixture
()
web/src/features/usage-logs/components/__tests__/log-type-filter.test.tsx:43
FunctionFilterSection
(props: FilterSectionProps)
web/src/features/pricing/components/pricing-sidebar.tsx:122
MethodFinalize
Finalize emits any calls left pending when an upstream closes without a finish-reason chunk. Calling Finalize more than once is safe.
relaykit/relayconvert/internal/oai_chat/to_gemini_chat_resp.go:324
MethodFinalize
(state *oaichat.ChatToResponsesStreamState)
relaykit/relayconvert/internal/gemini_chat/to_oai_responses_hosted_stream.go:40
MethodFinalize
(model string)
relaykit/relayconvert/internal/gemini_chat/to_oai_chat_resp.go:444
MethodFinalizeResponsesRequest
FinalizeResponsesRequest normalizes the effective history and thinking mode after channel parameter overrides, preserving unrelated raw JSON fields.
relay/channel/deepseek/responses_reasoning.go:18
FunctionFinalizeStreamResponseOpenAI2Claude
(info convmeta.Meta)
relaykit/relayconvert/internal/oai_chat/to_claude_messages_resp.go:421
FunctionFindPendingSystemTasks
(taskType string, limit int)
model/system_task.go:156
FunctionFixChannelsAbilities
(c *gin.Context)
controller/channel.go:378
FunctionFixture
(props: { initialSelected?: string[] allowCreate?: boolean disabled?: boolean })
web/src/components/multi-select/__tests__/selection.test.tsx:31
FunctionFixture
(props: { collapsibleOnMobile?: boolean })
web/src/components/data-table/toolbar/__tests__/mobile-filter.test.tsx:43
FunctionFixture
(props: { empty?: boolean; compact?: boolean })
web/src/components/data-table/core/__tests__/pagination.test.tsx:33
FunctionFixture
()
web/src/components/ui/__tests__/combobox.test.tsx:35
FunctionFixture
()
web/src/features/usage-logs/components/__tests__/mobile-filter.test.tsx:61
FunctionFixture
(props: { admin?: boolean visibility?: VisibilityState logs?: UsageLog[] loading?: boolean })
web/src/features/usage-logs/components/__tests__/mobile-card.test.tsx:58
FunctionFixture
(props: { reason?: 'sort'; viewMode?: 'card' | 'table' })
web/src/features/channels/components/__tests__/priority-guide.test.tsx:35
FunctionFixture
()
web/src/features/system-settings/maintenance/__tests__/log-settings.test.tsx:36
FunctionFixture
(props: { values?: Partial<typeof defaults> })
web/src/features/system-settings/auth/__tests__/oauth-settings.test.tsx:72
FunctionFixture
(props: { rpId?: string origins?: string legacy?: string children?: ReactNode })
web/src/features/system-settings/auth/__tests__/passkey-settings.test.tsx:81
FunctionFixture
()
web/src/features/system-settings/auth/__tests__/bot-protection-settings.test.tsx:48
FunctionFixture
()
web/src/features/system-settings/general/__tests__/pre-consume-settings.test.tsx:36
FunctionFixture
()
web/src/features/system-settings/integrations/__tests__/email-notifications.test.tsx:30
FunctionFixture
(props: { onSave?: (values: typeof defaults) => Promise<void> initial?: Partial<typeof defaults> isSavin
web/src/features/system-settings/models/__tests__/group-settings.test.tsx:59
FunctionFixture
(props: { batch?: boolean; onSuccess?: () => void })
web/src/features/models/__tests__/model-deletion.test.tsx:34
FunctionFlag
(props: { children: ReactNode })
web/src/features/home/components/hero-terminal-demo.tsx:513
FunctionFloatingWindow
(props: FloatingWindowProps)
web/src/components/floating-window.tsx:178
FunctionFlowCharts
(props: FlowChartsProps)
web/src/features/dashboard/components/flow/flow-charts.tsx:257
FunctionFlowNodeFilterControl
(props: FlowNodeFilterControlProps)
web/src/features/dashboard/components/flow/flow-node-filter.tsx:64
MethodFlush
()
relay/channel/openai/relay_responses_billing_test.go:87
FunctionFontConfig
()
web/src/components/config-drawer.tsx:323
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
← previousnext →9,901–10,000 of 15,409, ranked by callers