MCPcopy Create free account

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

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

FunctionTestReplyHookIsARequestProcessingPart
(t *testing.T)
pkg/jsplugin/provider_test.go:1077
FunctionTestReplyLeavesThePathAloneWithoutReplyInstances
(t *testing.T)
relay/requestplugin/requestplugin_test.go:1054
FunctionTestReplyMasksNonStreamAnswers
(t *testing.T)
relay/requestplugin/requestplugin_test.go:1086
FunctionTestReplyNonStreamFormats
(t *testing.T)
relay/requestplugin/requestplugin_test.go:1613
FunctionTestReplyOptionOffDryRun
A built-in whose reply option is off lets the reply pass in a dry run: the step shows continue and the text comes back unchanged.
plugins/request_plugins_test.go:920
FunctionTestReplyPassAfterAMask
A pass after a mask: the rest of the text is released as it comes, and the events that repeat the whole text still match what the client got.
relay/requestplugin/requestplugin_test.go:1322
FunctionTestReplyPassHandsTheStreamOver
An instance that lets the answer pass is called once; with nothing masked the rest of the stream goes out as the handler writes it, unread.
relay/requestplugin/requestplugin_test.go:1287
FunctionTestReplyRewritesResponsesFullTexts
(t *testing.T)
relay/requestplugin/requestplugin_test.go:1414
FunctionTestReplyStopsNonStreamAnswers
(t *testing.T)
relay/requestplugin/requestplugin_test.go:1118
FunctionTestReplyStopsStreams
(t *testing.T)
relay/requestplugin/requestplugin_test.go:1387
FunctionTestReplyStreamCallsOnTheFirstText
(t *testing.T)
relay/requestplugin/requestplugin_test.go:1263
FunctionTestReplyStreamHoldsTextAcrossChunks
(t *testing.T)
relay/requestplugin/requestplugin_test.go:1224
FunctionTestReplyUnchecked
(t *testing.T)
relay/requestplugin/requestplugin_test.go:1182
FunctionTestReportCaptureFollowsScope
The response is captured only once an instance that may report it is in scope, and a WebSocket response keeps its event capture.
relay/requestplugin/socket_test.go:489
FunctionTestReportQueueDropsWhenFull
A full queue drops a finished request instead of blocking the request.
relay/requestplugin/requestplugin_test.go:924
FunctionTestReportResponses
The record carries the error the client received, SSE events, and what a capture past 1 MiB keeps.
relay/requestplugin/requestplugin_test.go:838
FunctionTestReportSuccess
A finished request reaches the report hooks of the channel's instances in plan order, after the response: a failing hook leaves the next one and the r
relay/requestplugin/requestplugin_test.go:782
FunctionTestRequestAmountRejectsTopUpThatCannotBeSettled
(t *testing.T)
controller/topup_quota_limit_test.go:97
FunctionTestRequestAmountRejectsTopUpThatWouldOverflowWallet
(t *testing.T)
controller/topup_quota_limit_test.go:126
FunctionTestRequestBodyFailuresReportTheirCause
(t *testing.T)
middleware/task_plugin_test.go:887
FunctionTestRequestConverterFacadeAcceptsTypedNilRelayInfo
(t *testing.T)
service/convert_test.go:68
FunctionTestRequestConverterRegistryListsSupportedTextConverters
(t *testing.T)
relaykit/relayconvert/request_registry_test.go:97
FunctionTestRequestDeepCopyOtherProtocols
(t *testing.T)
relay/request_clone_test.go:180
FunctionTestRequestDeepCopyRawMutation
(t *testing.T)
relay/request_clone_test.go:132
FunctionTestRequestDeepCopyResponses
(t *testing.T)
relay/request_clone_test.go:26
FunctionTestRequestDescriptorDecodingMatchesCodec
(t *testing.T)
relay/channel/task/jsplugin/adaptor_test.go:2421
FunctionTestRequestFilterKeywords
The keyword list matches in any letter case unless told otherwise, in the request text and in the text of its documents; images and files named by id
plugins/request_plugins_test.go:1179
FunctionTestRequestFilterLegacyCheckedText
A migrated sensitive-word list checks at least the text the gateway's own check read: tool declarations, replayed tool calls and their results, chat m
plugins/request_plugins_test.go:1233
FunctionTestRequestFilterPlugin
(t *testing.T)
plugins/request_plugins_test.go:65
FunctionTestRequestFilterReply
(t *testing.T)
plugins/request_plugins_test.go:785
FunctionTestRequestOpenAI2AliTopP
(t *testing.T)
relay/channel/ali/text_test.go:11
FunctionTestRequestPluginInstancesAPI
(t *testing.T)
controller/task_plugin_test.go:2013
FunctionTestRequestPluginsOnMidjourneySubmissions
A Midjourney submission runs the request plugins' ingress: a rejection answers in Midjourney's own format and is written to the error log, and a redac
router/provider_plugin_relay_test.go:2258
FunctionTestRequestPluginsReachTheUpstream
(t *testing.T)
router/provider_plugin_relay_test.go:1976
FunctionTestRequestPluginsReadTaskSubmissions
(t *testing.T)
plugins/request_plugins_test.go:1034
FunctionTestRequestPluginsYieldToTheChannel
The channel's own settings win over request plugins: its param override runs after the outbound stage and its header override after the plugin headers
router/provider_plugin_relay_test.go:2073
FunctionTestRequestPolicyConfigReturnsSettingsWithoutMigration
(t *testing.T)
controller/channel_pin_retry_test.go:109
FunctionTestRequestPolicyDatabaseMatrix
(t *testing.T)
model/request_policy_test.go:22
FunctionTestRequestPolicyEventsReachLogAdminInfo
(t *testing.T)
service/relay_error_test.go:234
FunctionTestRequestPolicyRoutingDatabaseMatrix
(t *testing.T)
controller/channel_pin_retry_test.go:240
FunctionTestRequestProbeHelpers
(t *testing.T)
pkg/billingexpr/billingexpr_test.go:237
FunctionTestRequestProbeInternalTraceFunctionIsReserved
(t *testing.T)
pkg/billingexpr/billingexpr_test.go:387
FunctionTestRequestProbeMissingFieldReturnsNil
(t *testing.T)
pkg/billingexpr/billingexpr_test.go:307
FunctionTestRequestProbeMultipleRulesTraceAllFactors
(t *testing.T)
pkg/billingexpr/billingexpr_test.go:323
FunctionTestRequestProbeNonUnitFallbackIsNotTraced
(t *testing.T)
pkg/billingexpr/billingexpr_test.go:375
FunctionTestRequestProbeTraceIncludesUnmatchedFactors
(t *testing.T)
pkg/billingexpr/billingexpr_test.go:345
FunctionTestRequestProbeTracePreservesIntegerConditionalType
(t *testing.T)
pkg/billingexpr/billingexpr_test.go:361
FunctionTestRequestRedactAttachments
A text file read whole takes the redacted text. A PDF that holds a match cannot be rewritten: with the check before sending on it rejects the request,
plugins/request_plugins_test.go:1296
FunctionTestRequestRedactManyChanges
More changed texts than the host takes json.patch operations still redact every one: the changes are written as replaces of the arrays that hold them,
plugins/request_plugins_test.go:1327
FunctionTestRequestRedactPlugin
(t *testing.T)
plugins/request_plugins_test.go:142
FunctionTestRequestRedactReply
(t *testing.T)
plugins/request_plugins_test.go:760
FunctionTestResendDeliversThroughSelectedProvider
(t *testing.T)
controller/email_delivery_test.go:45
FunctionTestResendFailuresDoNotRetryFallbackOrExposeSensitiveContent
(t *testing.T)
controller/email_delivery_test.go:73
FunctionTestResendRejectsIncompleteOrInvalidConfigurationBeforeSending
(t *testing.T)
controller/email_delivery_test.go:89
FunctionTestResendRejectsMalformedSuccessAndSanitizesTransportErrors
(t *testing.T)
controller/email_delivery_test.go:114
FunctionTestResendSettingsChangesKeepActiveDeliveryWorking
(t *testing.T)
controller/email_delivery_test.go:194
FunctionTestReserveFallsBackToDatabaseWhenRedisIsUnavailable
(t *testing.T)
model/quota_reserve_test.go:173
FunctionTestReservedNamespaceChecksUseSegmentBoundaries
(t *testing.T)
pkg/jsplugin/routing_test.go:1069
FunctionTestReservedRouteNamespacesCoverConsolePages
Every console page is a reserved namespace, so a plugin route cannot answer a reload or a direct visit of the page.
pkg/jsplugin/routing_test.go:1242
FunctionTestResetProxyClientCacheClosesDefaultIdlePool
(t *testing.T)
service/http_client_transport_test.go:500
FunctionTestResetProxyClientCacheConcurrentWithGetHttpClient
(t *testing.T)
service/http_client_transport_test.go:518
FunctionTestResetProxyClientCacheKeepsDefaultPointerAndRecreatesVariants
(t *testing.T)
service/http_client_transport_test.go:467
FunctionTestResetStatusCode
(t *testing.T)
service/error_test.go:18
FunctionTestResetUserPasswordByEmailRequiresSingleActiveMatch
(t *testing.T)
model/user_update_test.go:365
FunctionTestResolveChannelTestUserIDUsesRequestUser
(t *testing.T)
controller/channel_test_internal_test.go:318
FunctionTestResolveIncomingBillingExprRequestInput
(t *testing.T)
relay/helper/billing_expr_request_test.go:20
FunctionTestResolveRouteActionPrefersResolvedAction
(t *testing.T)
pkg/jsplugin/routing_test.go:1194
FunctionTestResolvedPinPriorityAndMerge
(t *testing.T)
dto/channel_constraints_test.go:10
FunctionTestResolvedTaskPluginIDsEnforcesPublicQueryContract
(t *testing.T)
middleware/task_plugin_test.go:1520
FunctionTestRespondPluginProtocolSubmissionErrorKeepsGenericNonValidation400
(t *testing.T)
controller/plugin_protocol_test.go:1419
FunctionTestRespondPluginProtocolSubmissionErrorPassesValidationMessage
(t *testing.T)
controller/plugin_protocol_test.go:1393
FunctionTestRespondTaskPluginErrorNeverExposesInternalDetails
(t *testing.T)
middleware/task_plugin_test.go:1443
FunctionTestRespondTaskSubmissionErrorWithoutCause
Local task rejections carry a message but no cause; the response and the decision record must still be produced.
controller/relay_task_plugin_test.go:662
FunctionTestResponseConverterFacades
(t *testing.T)
service/convert_test.go:13
FunctionTestResponseModelComparisonAndLog
(t *testing.T)
relay/response_model_test.go:26
FunctionTestResponseModelDoesNotRecordSynthesizedModel
(t *testing.T)
relay/response_model_test.go:253
FunctionTestResponseModelEmptyExpectedNamesDoNotMatchEveryPrefix
(t *testing.T)
relay/response_model_test.go:119
FunctionTestResponseModelExpectedProviderPath
(t *testing.T)
relay/response_model_test.go:135
FunctionTestResponseModelHandlersCaptureBeforeConversion
(t *testing.T)
relay/response_model_test.go:174
FunctionTestResponseModelLogOmitsUnchangedModel
(t *testing.T)
relay/response_model_test.go:84
FunctionTestResponseModelRetryResetsObservation
(t *testing.T)
relay/response_model_test.go:161
FunctionTestResponseModelSharedResponsesAccumulator
(t *testing.T)
relay/response_model_test.go:240
FunctionTestResponseOpenAI2ClaudePreservesReasoningBeforeText
(t *testing.T)
relaykit/relayconvert/internal/oai_chat/to_claude_messages_resp_test.go:88
FunctionTestResponseOpenAI2ClaudeToolUseInputIsObject
(t *testing.T)
relaykit/relayconvert/internal/oai_chat/to_claude_messages_resp_test.go:13
FunctionTestResponseOpenAI2ClaudeToolUseInputIsObject
(t *testing.T)
relay/channel/claude/relay_claude_test.go:68
FunctionTestResponseOpenAI2ClaudeUsageCarriesOpenAIBillingUsage
(t *testing.T)
relaykit/relayconvert/internal/oai_chat/to_claude_messages_resp_test.go:61
FunctionTestResponseOpenAI2GeminiMapsTextToolFinishReasonAndUsage
(t *testing.T)
relaykit/relayconvert/internal/oai_chat/to_gemini_chat_resp_test.go:12
FunctionTestResponsePhaseNeverRejectsEvenUnderStrictPolicy
(t *testing.T)
relaykit/relayconvert/internal/toolconv/policy_test.go:52
FunctionTestResponseUsageMatrixChatAndResponsesDetails
(t *testing.T)
relaykit/relayconvert/response_registry_test.go:563
FunctionTestResponsesBufferedAccumulatorDoesNotDuplicatePendingArgsWithOutputIndexAndItemID
(t *testing.T)
relaykit/relayconvert/internal/oai_responses/to_oai_chat_resp_test.go:458
FunctionTestResponsesBufferedAccumulatorPreservesInterleavedReasoningAndTextItems
(t *testing.T)
relaykit/relayconvert/internal/oai_responses/to_oai_chat_resp_test.go:494
FunctionTestResponsesBufferedAccumulatorSupplementsEmptyTerminalOutput
(t *testing.T)
relaykit/relayconvert/internal/oai_responses/to_oai_chat_resp_test.go:424
FunctionTestResponsesCompactChannelSupport
(t *testing.T)
controller/channel_test_internal_test.go:127
FunctionTestResponsesCompactionResponseCreatedAtFloat
(t *testing.T)
relaykit/dto/values_test.go:43
FunctionTestResponsesCustomToolNameConflictIsDropped
(t *testing.T)
relaykit/relayconvert/internal/toolconv/policy_test.go:244
FunctionTestResponsesCustomToolReachesEachTargetAsStringInputFunction
(t *testing.T)
relaykit/relayconvert/internal/toolconv/policy_test.go:175
FunctionTestResponsesFinishReasonFromIncompleteStatus
(t *testing.T)
relaykit/relayconvert/internal/oai_responses/to_oai_chat_resp_test.go:138
FunctionTestResponsesHTTPHealthCountsFinalResult
(t *testing.T)
controller/responses_websocket_test.go:998
FunctionTestResponsesInterruptedStreamHealth
(t *testing.T)
controller/responses_websocket_test.go:427
FunctionTestResponsesReasoningReplay
Synthetic shapes reproduced against DeepSeek's native Responses endpoint on 2026-10-28; see also https://github.com/yetone/magpie/issues/1822. An empt
relay/channel/deepseek/adaptor_test.go:275
← previousnext →13,401–13,500 of 15,409, ranked by callers