MCPcopy Create free account

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

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

FunctionTestRefundTaskQuota_Wallet
=========================================================================== RefundTaskQuota tests ====================================================
service/task_billing_test.go:882
FunctionTestRefundTaskQuota_ZeroQuota
(t *testing.T)
service/task_billing_test.go:958
FunctionTestRegisteredCloseIsIdempotent
(t *testing.T)
pkg/wsmanager/wsmanager_test.go:79
FunctionTestRegistryAdmitsInterdependentUpdatesAsOneGeneration
(t *testing.T)
pkg/jsplugin/routing_test.go:684
FunctionTestRegistryAdmitsNewConflictsInDeterministicKeyOrder
(t *testing.T)
pkg/jsplugin/routing_test.go:649
FunctionTestRegistryDecodesAndValidatesIcon
(t *testing.T)
pkg/jsplugin/registry_test.go:71
FunctionTestRegistryDecodesAndValidatesUsageSchema
(t *testing.T)
pkg/jsplugin/registry_test.go:158
FunctionTestRegistryExcludesConflictingPluginWithoutBlockingGeneration
(t *testing.T)
pkg/jsplugin/routing_test.go:587
FunctionTestRegistryFindsEffectivePluginByBuiltInChannelType
(t *testing.T)
pkg/jsplugin/registry_test.go:526
FunctionTestRegistryGetIgnoringMasterSwitchKeepsPerPluginSwitch
(t *testing.T)
pkg/jsplugin/registry_master_enabled_test.go:143
FunctionTestRegistryIndexesNativeRoutesAndProtocolsInOneGeneration
(t *testing.T)
pkg/jsplugin/routing_test.go:20
FunctionTestRegistryIndexesSharedEndpointCandidatesForDistinctLegacyProviders
(t *testing.T)
pkg/jsplugin/routing_test.go:69
FunctionTestRegistryMasterSwitchIsOrthogonalToLayerFlags
(t *testing.T)
pkg/jsplugin/registry_master_enabled_test.go:121
FunctionTestRegistryMutationsWhileDisabledDoNotResurrectEndpoints
(t *testing.T)
pkg/jsplugin/registry_master_enabled_test.go:74
FunctionTestRegistryNoOpMutationsKeepCurrentGeneration
(t *testing.T)
pkg/jsplugin/routing_test.go:498
FunctionTestRegistryNormalizesAllowedHosts
(t *testing.T)
pkg/jsplugin/registry_test.go:1013
FunctionTestRegistryNormalizesBaseURL
(t *testing.T)
pkg/jsplugin/registry_test.go:971
FunctionTestRegistryOverrideTakesPrecedenceOverFactory
(t *testing.T)
pkg/jsplugin/registry_test.go:18
FunctionTestRegistryPublishesHealthyUpdateAlongsideRejectedUpdate
(t *testing.T)
pkg/jsplugin/routing_test.go:664
FunctionTestRegistryRejectsImageReferencesInMetaIcon
(t *testing.T)
pkg/jsplugin/registry_test.go:1046
FunctionTestRegistryRejectsInvalidUsageProfiles
(t *testing.T)
pkg/jsplugin/registry_test.go:1215
FunctionTestRegistryRejectsPluginKeyLongerThanTaskPlatformColumn
(t *testing.T)
pkg/jsplugin/registry_test.go:57
FunctionTestRegistryRejectsPrototypeInheritedHooks
(t *testing.T)
pkg/jsplugin/routing_test.go:949
FunctionTestRegistryRejectsRemovedNativeRoutingFields
(t *testing.T)
pkg/jsplugin/registry_test.go:139
FunctionTestRegistryReportsPartialAndFailedRebuildOutcomes
(t *testing.T)
pkg/jsplugin/routing_test.go:560
FunctionTestRegistryRequiresArtifactHooksAsPair
(t *testing.T)
pkg/jsplugin/registry_test.go:123
FunctionTestRegistryRequiresValidPluginAuthor
(t *testing.T)
pkg/jsplugin/registry_test.go:99
FunctionTestRegistryRetainsIncumbentWhenUpdatedPluginConflicts
(t *testing.T)
pkg/jsplugin/routing_test.go:625
FunctionTestRegistrySetDisabledFactoryKeysEmptySetDoesNotBumpGeneration
(t *testing.T)
pkg/jsplugin/registry_disabled_factory_test.go:83
FunctionTestRegistrySetDisabledFactoryKeysHidesFactoryPlugin
(t *testing.T)
pkg/jsplugin/registry_disabled_factory_test.go:10
FunctionTestRegistrySetDisabledFactoryKeysLeavesEnabledOverrideServing
(t *testing.T)
pkg/jsplugin/registry_disabled_factory_test.go:67
FunctionTestRegistrySetEnabledHidesFactoryAndOverride
(t *testing.T)
pkg/jsplugin/registry_master_enabled_test.go:10
FunctionTestRegistrySetEnabledNoOpDoesNotBumpGeneration
(t *testing.T)
pkg/jsplugin/registry_master_enabled_test.go:112
FunctionTestRegistrySetEnabledTrueRestoresFactoryAndOverride
(t *testing.T)
pkg/jsplugin/registry_master_enabled_test.go:95
FunctionTestRegistrySnapshotDisabledFactoryIsSorted
(t *testing.T)
pkg/jsplugin/registry_disabled_factory_test.go:96
FunctionTestRegistrySnapshotSeparatesLayersWithoutExposingEntries
(t *testing.T)
pkg/jsplugin/registry_test.go:40
FunctionTestRegistryUnregisterFallsBackToFactory
(t *testing.T)
pkg/jsplugin/registry_test.go:28
FunctionTestRegistryUsageProfilesReplaceDefaultsAndIsolateSnapshots
(t *testing.T)
pkg/jsplugin/registry_test.go:1144
FunctionTestRegistryValidatesChannelTypes
(t *testing.T)
pkg/jsplugin/registry_test.go:575
FunctionTestRegistryValidatesUsageExamples
(t *testing.T)
pkg/jsplugin/registry_test.go:412
FunctionTestRejectedCredentialRefreshesAndResendsOnce
(t *testing.T)
router/provider_plugin_relay_test.go:454
FunctionTestRejectedNewOverrideRetainsFactoryIncumbent
(t *testing.T)
pkg/jsplugin/routing_test.go:763
FunctionTestRejectedUpdateDoesNotRestoreIncumbentAheadOfHealthyPeer
(t *testing.T)
pkg/jsplugin/routing_test.go:715
FunctionTestRejectionWithoutRefreshIsAnOrdinaryError
(t *testing.T)
router/provider_plugin_relay_test.go:525
FunctionTestRelayConfigAcceptsAdvancedCustomConverters
(t *testing.T)
pkg/jsplugin/provider_test.go:204
FunctionTestRelayErrorHandlerKeepsInvalidJSONBodyInDebugLog
(t *testing.T)
service/error_test.go:124
FunctionTestRelayErrorHandlerKeepsOpenAIErrorMessage
(t *testing.T)
service/error_test.go:110
FunctionTestRelayErrorHandlerKeepsStructuredErrorMessage
(t *testing.T)
service/error_test.go:96
FunctionTestRelayErrorHandlerTruncatesInvalidJSONBodyInLog
(t *testing.T)
service/error_test.go:66
FunctionTestRelayHTTP2HealthCheck
(t *testing.T)
service/http_client_transport_test.go:648
FunctionTestRelayInfoConvOptionsGeminiJSONSchemaSupport
TestRelayInfoConvOptionsGeminiJSONSchemaSupport covers which upstreams get parametersJsonSchema and responseJsonSchema: every channel except one whose
relay/common/relay_info_gemini_settings_test.go:32
FunctionTestRelayInfoConvOptionsUsesNormalizedGeminiSafetySettings
(t *testing.T)
relay/common/relay_info_gemini_settings_test.go:12
FunctionTestRelayInfoGetFinalRequestRelayFormatFallsBackToConversionChain
(t *testing.T)
relay/common/relay_info_test.go:30
FunctionTestRelayInfoGetFinalRequestRelayFormatFallsBackToRelayFormat
(t *testing.T)
relay/common/relay_info_test.go:39
FunctionTestRelayInfoGetFinalRequestRelayFormatNilReceiver
(t *testing.T)
relay/common/relay_info_test.go:47
FunctionTestRelayInfoGetFinalRequestRelayFormatPrefersExplicitFinal
(t *testing.T)
relay/common/relay_info_test.go:20
FunctionTestRelayInfoMetaTypedNilReceiver
(t *testing.T)
relay/common/relay_info_test.go:52
FunctionTestRelayInfoResponsesToolStateRoundTrip
(t *testing.T)
relay/common/relay_info_test.go:94
FunctionTestRelayKeepAliveAcrossUpstreamRetries
(t *testing.T)
controller/relay_stream_test.go:95
FunctionTestRelayKeepAliveDuringImagePreparation
(t *testing.T)
controller/relay_stream_test.go:31
FunctionTestRelayKeepAliveHonorsStreamSettings
(t *testing.T)
controller/relay_stream_test.go:238
FunctionTestRelayKeepAlivePreservesValidationErrors
(t *testing.T)
controller/relay_stream_test.go:172
FunctionTestRelayOnlyPluginMatchesAdvancedCustomChannel
A relay-only plugin is an Advanced Custom channel under another name: the same request reaches the upstream, the same reply reaches the client and the
router/provider_plugin_relay_test.go:242
FunctionTestRelayRouteValidation
(t *testing.T)
pkg/jsplugin/provider_test.go:124
FunctionTestRelayStreamErrorAfterKeepAlive
(t *testing.T)
controller/relay_stream_test.go:275
FunctionTestRelayTaskPluginEndpointNeverEntersOrdinaryRelayWhenClaimed
(t *testing.T)
controller/plugin_endpoint_test.go:28
FunctionTestRelayTaskPluginEndpointPreservesUnclaimedFallback
(t *testing.T)
controller/plugin_endpoint_test.go:13
FunctionTestRelayTaskSubmitAcceptsAnySuccessfulUpstreamStatus
Issue #7478: task APIs answer 201 Created or 202 Accepted on submission. Every 2xx must reach parseSubmitResponse; only other statuses are upstream fa
relay/relay_task_test.go:733
FunctionTestRelayTaskSubmitAliasBillingIdentityAndExprFallback
(t *testing.T)
relay/relay_task_test.go:315
FunctionTestRelayTaskSubmitDeclaredNameWithoutMappingIsUnchanged
(t *testing.T)
relay/relay_task_test.go:251
FunctionTestRelayTaskSubmitDoesNotApplyMappingTwice
(t *testing.T)
relay/relay_task_test.go:264
FunctionTestRelayTaskSubmitEmptyOriginKeepsLateMapping
(t *testing.T)
relay/relay_task_test.go:276
FunctionTestRelayTaskSubmitMapsBeforeValidateWhenOriginSet
(t *testing.T)
relay/relay_task_test.go:236
FunctionTestRelayTaskSubmitPricesModelsAPluginAlsoRelays
One plugin serves a model on chat paths and as a task. The model-level price prices both only when it is per call or reads usage facts; otherwise task
relay/relay_task_test.go:617
FunctionTestRelayTaskSubmitRetryRepricesAndReservesBeforeUpstream
A retry prices the plugin it lands on from scratch and holds that price before the upstream sees the request. Plugin A fails upstream on the first att
relay/relay_task_test.go:795
FunctionTestRelaykitBoundary
(t *testing.T)
relaykit/relayconvert/boundary_test.go:44
FunctionTestRemoveDisabledFieldsAllowInferenceGeo
(t *testing.T)
relay/common/override_test.go:2445
FunctionTestRemoveDisabledFieldsAllowSpeed
(t *testing.T)
relay/common/override_test.go:2461
FunctionTestRemoveDisabledFieldsDefaultFiltering
(t *testing.T)
relay/common/override_test.go:2393
FunctionTestRemoveDisabledFieldsKeepsNestedKeyOrder
Upstreams fill a schema's properties in their order, so removing a field must leave the client's nested key order as it was.
relay/common/override_test.go:2414
FunctionTestRemoveDisabledFieldsKeepsUntouchedBytes
Other members keep their bytes and order. A disabled key sent twice is removed in every copy, since upstreams read the last one.
relay/common/override_test.go:2425
FunctionTestRemoveDisabledFieldsNoControlledFieldsKeepsBody
(t *testing.T)
relay/common/override_test.go:2434
FunctionTestRemoveDisabledFieldsSkipWhenChannelPassThroughEnabled
(t *testing.T)
relay/common/override_test.go:2356
FunctionTestRemoveDisabledFieldsSkipWhenGlobalPassThroughEnabled
(t *testing.T)
relay/common/override_test.go:2372
FunctionTestRemoveGeminiDisabledFieldsDropsFunctionResponseIDs
Vertex AI rejects functionResponse.id. Only the ids are removed; inline data and every other member keep their bytes and order.
relay/common/relay_info_gemini_settings_test.go:63
FunctionTestRemovedEndpointsAndProtocolHooksAreValidatedAtCompileTime
(t *testing.T)
pkg/jsplugin/routing_test.go:902
FunctionTestRemovingCredentialsRevokesThem
(t *testing.T)
controller/provider_plugin_test.go:278
FunctionTestRemovingOverrideNeverRetainsRemovedIncumbent
(t *testing.T)
pkg/jsplugin/routing_test.go:738
FunctionTestRenderGeminiMapsAndClampsInsteadOfRejecting
(t *testing.T)
relaykit/relayconvert/reasoning/gemini_test.go:11
FunctionTestRenewSystemTaskLock
(t *testing.T)
model/system_task_test.go:418
FunctionTestReplayFixture
(t *testing.T)
pkg/jsplugin/fixture_test.go:26
FunctionTestReplayFixtureReportsMismatch
(t *testing.T)
pkg/jsplugin/fixture_test.go:41
FunctionTestReplayableBodiesOverOneStorageKeepOwnCursors
(t *testing.T)
common/body_storage_test.go:20
FunctionTestReplyChecksThroughTheRelay
Reply checks run on the answer the real handlers write: the client gets the masked text, the request is billed from the upstream usage, a stop ends a
router/provider_plugin_relay_test.go:2142
FunctionTestReplyClaudeStreamReleasesHeldTextBeforeTheBlockEnds
(t *testing.T)
relay/requestplugin/requestplugin_test.go:1465
FunctionTestReplyDryRun
(t *testing.T)
relay/requestplugin/requestplugin_test.go:1499
FunctionTestReplyDryRunAfterARejection
(t *testing.T)
relay/requestplugin/requestplugin_test.go:1563
FunctionTestReplyFailures
(t *testing.T)
relay/requestplugin/requestplugin_test.go:1147
FunctionTestReplyGeminiPartsKeepTheirPlaces
(t *testing.T)
relay/requestplugin/requestplugin_test.go:1912
FunctionTestReplyGeminiStreamSkipsThoughts
(t *testing.T)
relay/requestplugin/requestplugin_test.go:1637
← previousnext →13,301–13,400 of 15,409, ranked by callers