MCPcopy Create free account

hub / github.com/danielmiessler/Fabric / functions

Functions1,442 in github.com/danielmiessler/Fabric

FunctionTestBuildResponseParams_WithSearchAndLocation
(t *testing.T)
internal/plugins/ai/openai/openai_test.go:107
FunctionTestBuildResponseParams_WithoutSearch
(t *testing.T)
internal/plugins/ai/openai/openai_test.go:66
FunctionTestBuildResponseRequestNoMaxTokens
(t *testing.T)
internal/plugins/ai/openai/openai_test.go:41
FunctionTestBuildResponseRequestWithMaxTokens
(t *testing.T)
internal/plugins/ai/openai/openai_test.go:15
FunctionTestBuildVendorsMapGivesEmptyArrayForVendorWithoutModels
(t *testing.T)
internal/server/models_test.go:10
FunctionTestBuildVendorsMapWithNoVendors
(t *testing.T)
internal/server/models_test.go:44
FunctionTestChatHandler_AcceptsBenignNames
A safe request must go through pre-validation. With the zero-value handler seam, a request that goes through causes a nil panic, and Recovery changes
internal/server/path_traversal_test.go:234
FunctionTestChatHandler_RejectsUnsafeNames
(t *testing.T)
internal/server/path_traversal_test.go:165
FunctionTestChatter_BuildSession_SeparatesSystemSections
(t *testing.T)
internal/core/chatter_test.go:196
FunctionTestChatter_Send_StreamingErrorPropagation
(t *testing.T)
internal/core/chatter_test.go:266
FunctionTestChatter_Send_StreamingErrorUpdateAndReturnDoesNotDeadlock
(t *testing.T)
internal/core/chatter_test.go:316
FunctionTestChatter_Send_StreamingMetadataPropagation
(t *testing.T)
internal/core/chatter_test.go:443
FunctionTestChatter_Send_StreamingSuccessfulAggregation
(t *testing.T)
internal/core/chatter_test.go:373
FunctionTestChatter_Send_SuppressThink
(t *testing.T)
internal/core/chatter_test.go:151
FunctionTestCheckImageGenerationCompatibility
(t *testing.T)
internal/plugins/ai/openai/openai_image_test.go:464
FunctionTestCitationFormatting
(t *testing.T)
internal/plugins/ai/gemini/gemini_test.go:161
FunctionTestCitationFormatting
(t *testing.T)
internal/plugins/ai/anthropic/anthropic_test.go:242
FunctionTestCitationFormatting
(t *testing.T)
internal/plugins/ai/openai/openai_test.go:214
FunctionTestCli
(t *testing.T)
internal/cli/cli_test.go:12
FunctionTestClientConfigure
Test generated using Keploy
internal/plugins/ai/azure/azure_test.go:31
FunctionTestClientConfigureDefaultAPIVersion
(t *testing.T)
internal/plugins/ai/azure/azure_test.go:62
FunctionTestClientListModels
Test generated using Keploy
internal/plugins/ai/anthropic/anthropic_test.go:35
FunctionTestClient_ListModels_ReturnsCorrectModels
(t *testing.T)
internal/plugins/ai/anthropic/anthropic_test.go:54
FunctionTestComputeHash
(t *testing.T)
internal/plugins/template/hash_test.go:10
FunctionTestComputeStringHash
(t *testing.T)
internal/plugins/template/hash_test.go:60
FunctionTestConfigurable_AddSetting
(t *testing.T)
internal/plugins/plugin_test.go:48
FunctionTestConfigurable_Configure
(t *testing.T)
internal/plugins/plugin_test.go:61
FunctionTestConfigurable_Setup
(t *testing.T)
internal/plugins/plugin_test.go:77
FunctionTestConfigureAllBackendTypes
(t *testing.T)
internal/plugins/ai/azureaigateway/azureaigateway_test.go:510
FunctionTestConfigureDefaultsToBedrockBackend
(t *testing.T)
internal/plugins/ai/azureaigateway/azureaigateway_test.go:495
FunctionTestConfigureInvalidBackend
(t *testing.T)
internal/plugins/ai/azureaigateway/azureaigateway_test.go:538
FunctionTestConfigureInvalidURL
(t *testing.T)
internal/plugins/ai/azureaigateway/azureaigateway_test.go:860
FunctionTestConfigureMissingBaseURL
(t *testing.T)
internal/plugins/ai/azure_entra/azure_entra_test.go:67
FunctionTestConfigureRequiresGatewayURL
(t *testing.T)
internal/plugins/ai/azureaigateway/azureaigateway_test.go:459
FunctionTestConfigureRequiresHTTPS
(t *testing.T)
internal/plugins/ai/azureaigateway/azureaigateway_test.go:470
FunctionTestConfigureRequiresSubscriptionKey
(t *testing.T)
internal/plugins/ai/azureaigateway/azureaigateway_test.go:484
FunctionTestConfigure_BearerTokenPriority
(t *testing.T)
internal/plugins/ai/bedrock/bedrock_test.go:116
FunctionTestConfigure_EmptyRegion_ReturnsError
(t *testing.T)
internal/plugins/ai/bedrock/bedrock_test.go:59
FunctionTestConfigure_InvalidRegion_ReturnsError
(t *testing.T)
internal/plugins/ai/bedrock/bedrock_test.go:67
FunctionTestConfigure_ValidRegion_BearerToken
(t *testing.T)
internal/plugins/ai/bedrock/bedrock_test.go:75
FunctionTestConfigure_ValidRegion_DefaultChain
(t *testing.T)
internal/plugins/ai/bedrock/bedrock_test.go:103
FunctionTestConfigure_ValidRegion_StaticCredentials
(t *testing.T)
internal/plugins/ai/bedrock/bedrock_test.go:89
FunctionTestContexts_GetContext
(t *testing.T)
internal/plugins/db/fsdb/contexts_test.go:9
FunctionTestConvertMessagesRoles
Test convertMessages handles role mapping correctly
internal/plugins/ai/gemini/gemini_test.go:187
FunctionTestCopyToClipboard
(t *testing.T)
internal/cli/output_test.go:8
FunctionTestCreateClient
(t *testing.T)
internal/plugins/ai/openai_compatible/providers_config_test.go:7
FunctionTestCreateOutputFile
(t *testing.T)
internal/cli/output_test.go:18
FunctionTestCreateOutputFileMessageWithTrailingNewline
(t *testing.T)
internal/cli/output_test.go:40
FunctionTestCustomPatterns_Configure
(t *testing.T)
internal/tools/custom_patterns/custom_patterns_test.go:20
FunctionTestCustomPatterns_ConfigureWithTempDir
(t *testing.T)
internal/tools/custom_patterns/custom_patterns_test.go:42
FunctionTestCustomPatterns_IsConfigured
(t *testing.T)
internal/tools/custom_patterns/custom_patterns_test.go:66
FunctionTestDateTimePlugin
(t *testing.T)
internal/plugins/template/datetime_test.go:11
FunctionTestDb_Configure
(t *testing.T)
internal/plugins/db/fsdb/db_test.go:13
FunctionTestDb_LoadEnvFile
(t *testing.T)
internal/plugins/db/fsdb/db_test.go:35
FunctionTestDb_SaveEnv
(t *testing.T)
internal/plugins/db/fsdb/db_test.go:49
FunctionTestDb_UpdateEnvVars
(t *testing.T)
internal/plugins/db/fsdb/db_test.go:63
FunctionTestDb_UpdateEnvVars_Concurrent
(t *testing.T)
internal/plugins/db/fsdb/db_test.go:153
FunctionTestDb_UpdateEnvVars_CorruptFile
(t *testing.T)
internal/plugins/db/fsdb/db_test.go:111
FunctionTestDb_UpdateEnvVars_MissingFile
(t *testing.T)
internal/plugins/db/fsdb/db_test.go:93
FunctionTestDb_UpdateEnvVars_SkipEmpty
(t *testing.T)
internal/plugins/db/fsdb/db_test.go:124
FunctionTestDefaultBedrockModels_NotEmpty
(t *testing.T)
internal/plugins/ai/bedrock/bedrock_test.go:198
FunctionTestDetectSystemLocale
(t *testing.T)
internal/i18n/locale_test.go:8
FunctionTestDetectVersion
(t *testing.T)
cmd/generate_changelog/internal/changelog/processing_test.go:12
FunctionTestDetectVersionFromNix
(t *testing.T)
cmd/generate_changelog/internal/changelog/generator_test.go:12
FunctionTestEnsureAccessTokenKeepsFreshTokenOverStore
Regression: a valid in-memory token (e.g. just obtained via Setup's OAuth) must not be reloaded from the store, which still holds the stale token unti
internal/plugins/ai/codex/codex_test.go:723
FunctionTestEnsureAccessTokenPersistError
(t *testing.T)
internal/plugins/ai/codex/codex_test.go:645
FunctionTestEnsureAccessTokenPersistsRotatedRefreshToken
(t *testing.T)
internal/plugins/ai/codex/codex_test.go:599
FunctionTestEnsureAccessTokenReloadsStoreBeforeRefresh
(t *testing.T)
internal/plugins/ai/codex/codex_test.go:684
FunctionTestEnsureIncomingDir
(t *testing.T)
cmd/generate_changelog/internal/changelog/generator_test.go:42
FunctionTestEnsureIncomingDirCreation
(t *testing.T)
cmd/generate_changelog/internal/changelog/processing_test.go:244
FunctionTestEnvPrefix
(t *testing.T)
internal/plugins/ai/azure_entra/azure_entra_test.go:34
FunctionTestExtensionExecutor
(t *testing.T)
internal/plugins/template/extension_executor_test.go:10
FunctionTestExtensionManager
TestExtensionManager is the main test suite for ExtensionManager
internal/plugins/template/extension_manager_test.go:10
FunctionTestExtensionManagerErrors
TestExtensionManagerErrors tests error cases
internal/plugins/template/extension_manager_test.go:95
FunctionTestExtensionManagerWithInvalidConfig
TestExtensionManagerWithInvalidConfig tests handling of invalid configurations
internal/plugins/template/extension_manager_test.go:127
FunctionTestExtensionValueMixedInputAndVariable
TestExtensionValueMixedInputAndVariable ensures an extension value mixing {{input}} and another template variable is processed.
internal/plugins/template/template_extension_mixed_test.go:11
FunctionTestExtensionValueWithSentinel
TestExtensionValueWithSentinel specifically tests the extension value sentinel replacement logic
internal/plugins/template/template_sentinel_test.go:196
FunctionTestExtractAndValidateVideoId
(t *testing.T)
internal/tools/youtube/youtube_test.go:83
FunctionTestExtractDeploymentFromBody
(t *testing.T)
internal/plugins/ai/azurecommon/azurecommon_test.go:107
FunctionTestExtractDeploymentFromBodyNilBody
(t *testing.T)
internal/plugins/ai/azurecommon/azurecommon_test.go:137
FunctionTestExtractFlag
(t *testing.T)
internal/cli/flags_test.go:459
FunctionTestExtractModelName
(t *testing.T)
internal/plugins/ai/vertexai/vertexai_test.go:14
FunctionTestExtractTextFromResponse
Test ExtractTextWithCitations from geminicommon
internal/plugins/ai/gemini/gemini_test.go:35
FunctionTestExtractTextFromResponse_EmptyGroundingChunks
(t *testing.T)
internal/plugins/ai/gemini/gemini_test.go:63
FunctionTestExtractTextFromResponse_Nil
(t *testing.T)
internal/plugins/ai/gemini/gemini_test.go:57
FunctionTestFabricChatClient_NoProxy
The self-forward client must not use a proxy. A proxy gets the configured API key, and the operator did not configure that host. The redirect test bel
internal/server/ollama_test.go:438
FunctionTestFallbackRegions_NotEmpty
(t *testing.T)
internal/plugins/ai/bedrock/bedrock_test.go:432
FunctionTestFetchBedrockRegions_EmptyEndpoints_ReturnsFallback
(t *testing.T)
internal/plugins/ai/bedrock/bedrock_test.go:405
FunctionTestFetchBedrockRegions_HTTPError_ReturnsFallback
(t *testing.T)
internal/plugins/ai/bedrock/bedrock_test.go:362
FunctionTestFetchBedrockRegions_InvalidJSON_ReturnsFallback
(t *testing.T)
internal/plugins/ai/bedrock/bedrock_test.go:374
FunctionTestFetchBedrockRegions_NoBedrock_ReturnsFallback
(t *testing.T)
internal/plugins/ai/bedrock/bedrock_test.go:386
FunctionTestFetchBedrockRegions_ResultsSorted
(t *testing.T)
internal/plugins/ai/bedrock/bedrock_test.go:417
FunctionTestFetchBedrockRegions_Unreachable_ReturnsFallback
(t *testing.T)
internal/plugins/ai/bedrock/bedrock_test.go:398
FunctionTestFetchBedrockRegions_ValidJSON
(t *testing.T)
internal/plugins/ai/bedrock/bedrock_test.go:344
FunctionTestFetchModelsDirectly_429NoCacheCleanError
A 429 with no cache yields a concise message, not the raw HTML body.
internal/plugins/ai/openai/models_cache_test.go:125
FunctionTestFetchModelsDirectly_429ServesStaleCache
A 429 with a stale cache present returns the stale list rather than erroring.
internal/plugins/ai/openai/models_cache_test.go:107
FunctionTestFetchModelsDirectly_DirectArray
Ensures we can fetch models directly when a provider returns a direct array of models instead of the standard OpenAI list response structure.
internal/plugins/ai/openai/openai_models_test.go:16
FunctionTestFetchModelsDirectly_EmptyArray
Ensures we handle empty model lists correctly
internal/plugins/ai/openai/openai_models_test.go:95
FunctionTestFetchModelsDirectly_GitHubHostSendsAPIVersionHeader
Ensures the GitHub Models catalog host receives the documented API version header so it is not throttled by GitHub's edge rate limiter.
internal/plugins/ai/openai/openai_models_test.go:83
FunctionTestFetchModelsDirectly_NoGitHubHeaderForOtherHosts
Ensures non-GitHub hosts do not receive the GitHub-specific API version header.
internal/plugins/ai/openai/openai_models_test.go:50
← previousnext →1,001–1,100 of 1,442, ranked by callers