Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/danielmiessler/Fabric
/ functions
Functions
1,442 in github.com/danielmiessler/Fabric
⨍
Functions
1,442
◇
Types & classes
227
Function
TestBuildResponseParams_WithSearchAndLocation
(t *testing.T)
internal/plugins/ai/openai/openai_test.go:107
Function
TestBuildResponseParams_WithoutSearch
(t *testing.T)
internal/plugins/ai/openai/openai_test.go:66
Function
TestBuildResponseRequestNoMaxTokens
(t *testing.T)
internal/plugins/ai/openai/openai_test.go:41
Function
TestBuildResponseRequestWithMaxTokens
(t *testing.T)
internal/plugins/ai/openai/openai_test.go:15
Function
TestBuildVendorsMapGivesEmptyArrayForVendorWithoutModels
(t *testing.T)
internal/server/models_test.go:10
Function
TestBuildVendorsMapWithNoVendors
(t *testing.T)
internal/server/models_test.go:44
Function
TestChatHandler_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
Function
TestChatHandler_RejectsUnsafeNames
(t *testing.T)
internal/server/path_traversal_test.go:165
Function
TestChatter_BuildSession_SeparatesSystemSections
(t *testing.T)
internal/core/chatter_test.go:196
Function
TestChatter_Send_StreamingErrorPropagation
(t *testing.T)
internal/core/chatter_test.go:266
Function
TestChatter_Send_StreamingErrorUpdateAndReturnDoesNotDeadlock
(t *testing.T)
internal/core/chatter_test.go:316
Function
TestChatter_Send_StreamingMetadataPropagation
(t *testing.T)
internal/core/chatter_test.go:443
Function
TestChatter_Send_StreamingSuccessfulAggregation
(t *testing.T)
internal/core/chatter_test.go:373
Function
TestChatter_Send_SuppressThink
(t *testing.T)
internal/core/chatter_test.go:151
Function
TestCheckImageGenerationCompatibility
(t *testing.T)
internal/plugins/ai/openai/openai_image_test.go:464
Function
TestCitationFormatting
(t *testing.T)
internal/plugins/ai/gemini/gemini_test.go:161
Function
TestCitationFormatting
(t *testing.T)
internal/plugins/ai/anthropic/anthropic_test.go:242
Function
TestCitationFormatting
(t *testing.T)
internal/plugins/ai/openai/openai_test.go:214
Function
TestCli
(t *testing.T)
internal/cli/cli_test.go:12
Function
TestClientConfigure
Test generated using Keploy
internal/plugins/ai/azure/azure_test.go:31
Function
TestClientConfigureDefaultAPIVersion
(t *testing.T)
internal/plugins/ai/azure/azure_test.go:62
Function
TestClientListModels
Test generated using Keploy
internal/plugins/ai/anthropic/anthropic_test.go:35
Function
TestClient_ListModels_ReturnsCorrectModels
(t *testing.T)
internal/plugins/ai/anthropic/anthropic_test.go:54
Function
TestComputeHash
(t *testing.T)
internal/plugins/template/hash_test.go:10
Function
TestComputeStringHash
(t *testing.T)
internal/plugins/template/hash_test.go:60
Function
TestConfigurable_AddSetting
(t *testing.T)
internal/plugins/plugin_test.go:48
Function
TestConfigurable_Configure
(t *testing.T)
internal/plugins/plugin_test.go:61
Function
TestConfigurable_Setup
(t *testing.T)
internal/plugins/plugin_test.go:77
Function
TestConfigureAllBackendTypes
(t *testing.T)
internal/plugins/ai/azureaigateway/azureaigateway_test.go:510
Function
TestConfigureDefaultsToBedrockBackend
(t *testing.T)
internal/plugins/ai/azureaigateway/azureaigateway_test.go:495
Function
TestConfigureInvalidBackend
(t *testing.T)
internal/plugins/ai/azureaigateway/azureaigateway_test.go:538
Function
TestConfigureInvalidURL
(t *testing.T)
internal/plugins/ai/azureaigateway/azureaigateway_test.go:860
Function
TestConfigureMissingBaseURL
(t *testing.T)
internal/plugins/ai/azure_entra/azure_entra_test.go:67
Function
TestConfigureRequiresGatewayURL
(t *testing.T)
internal/plugins/ai/azureaigateway/azureaigateway_test.go:459
Function
TestConfigureRequiresHTTPS
(t *testing.T)
internal/plugins/ai/azureaigateway/azureaigateway_test.go:470
Function
TestConfigureRequiresSubscriptionKey
(t *testing.T)
internal/plugins/ai/azureaigateway/azureaigateway_test.go:484
Function
TestConfigure_BearerTokenPriority
(t *testing.T)
internal/plugins/ai/bedrock/bedrock_test.go:116
Function
TestConfigure_EmptyRegion_ReturnsError
(t *testing.T)
internal/plugins/ai/bedrock/bedrock_test.go:59
Function
TestConfigure_InvalidRegion_ReturnsError
(t *testing.T)
internal/plugins/ai/bedrock/bedrock_test.go:67
Function
TestConfigure_ValidRegion_BearerToken
(t *testing.T)
internal/plugins/ai/bedrock/bedrock_test.go:75
Function
TestConfigure_ValidRegion_DefaultChain
(t *testing.T)
internal/plugins/ai/bedrock/bedrock_test.go:103
Function
TestConfigure_ValidRegion_StaticCredentials
(t *testing.T)
internal/plugins/ai/bedrock/bedrock_test.go:89
Function
TestContexts_GetContext
(t *testing.T)
internal/plugins/db/fsdb/contexts_test.go:9
Function
TestConvertMessagesRoles
Test convertMessages handles role mapping correctly
internal/plugins/ai/gemini/gemini_test.go:187
Function
TestCopyToClipboard
(t *testing.T)
internal/cli/output_test.go:8
Function
TestCreateClient
(t *testing.T)
internal/plugins/ai/openai_compatible/providers_config_test.go:7
Function
TestCreateOutputFile
(t *testing.T)
internal/cli/output_test.go:18
Function
TestCreateOutputFileMessageWithTrailingNewline
(t *testing.T)
internal/cli/output_test.go:40
Function
TestCustomPatterns_Configure
(t *testing.T)
internal/tools/custom_patterns/custom_patterns_test.go:20
Function
TestCustomPatterns_ConfigureWithTempDir
(t *testing.T)
internal/tools/custom_patterns/custom_patterns_test.go:42
Function
TestCustomPatterns_IsConfigured
(t *testing.T)
internal/tools/custom_patterns/custom_patterns_test.go:66
Function
TestDateTimePlugin
(t *testing.T)
internal/plugins/template/datetime_test.go:11
Function
TestDb_Configure
(t *testing.T)
internal/plugins/db/fsdb/db_test.go:13
Function
TestDb_LoadEnvFile
(t *testing.T)
internal/plugins/db/fsdb/db_test.go:35
Function
TestDb_SaveEnv
(t *testing.T)
internal/plugins/db/fsdb/db_test.go:49
Function
TestDb_UpdateEnvVars
(t *testing.T)
internal/plugins/db/fsdb/db_test.go:63
Function
TestDb_UpdateEnvVars_Concurrent
(t *testing.T)
internal/plugins/db/fsdb/db_test.go:153
Function
TestDb_UpdateEnvVars_CorruptFile
(t *testing.T)
internal/plugins/db/fsdb/db_test.go:111
Function
TestDb_UpdateEnvVars_MissingFile
(t *testing.T)
internal/plugins/db/fsdb/db_test.go:93
Function
TestDb_UpdateEnvVars_SkipEmpty
(t *testing.T)
internal/plugins/db/fsdb/db_test.go:124
Function
TestDefaultBedrockModels_NotEmpty
(t *testing.T)
internal/plugins/ai/bedrock/bedrock_test.go:198
Function
TestDetectSystemLocale
(t *testing.T)
internal/i18n/locale_test.go:8
Function
TestDetectVersion
(t *testing.T)
cmd/generate_changelog/internal/changelog/processing_test.go:12
Function
TestDetectVersionFromNix
(t *testing.T)
cmd/generate_changelog/internal/changelog/generator_test.go:12
Function
TestEnsureAccessTokenKeepsFreshTokenOverStore
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
Function
TestEnsureAccessTokenPersistError
(t *testing.T)
internal/plugins/ai/codex/codex_test.go:645
Function
TestEnsureAccessTokenPersistsRotatedRefreshToken
(t *testing.T)
internal/plugins/ai/codex/codex_test.go:599
Function
TestEnsureAccessTokenReloadsStoreBeforeRefresh
(t *testing.T)
internal/plugins/ai/codex/codex_test.go:684
Function
TestEnsureIncomingDir
(t *testing.T)
cmd/generate_changelog/internal/changelog/generator_test.go:42
Function
TestEnsureIncomingDirCreation
(t *testing.T)
cmd/generate_changelog/internal/changelog/processing_test.go:244
Function
TestEnvPrefix
(t *testing.T)
internal/plugins/ai/azure_entra/azure_entra_test.go:34
Function
TestExtensionExecutor
(t *testing.T)
internal/plugins/template/extension_executor_test.go:10
Function
TestExtensionManager
TestExtensionManager is the main test suite for ExtensionManager
internal/plugins/template/extension_manager_test.go:10
Function
TestExtensionManagerErrors
TestExtensionManagerErrors tests error cases
internal/plugins/template/extension_manager_test.go:95
Function
TestExtensionManagerWithInvalidConfig
TestExtensionManagerWithInvalidConfig tests handling of invalid configurations
internal/plugins/template/extension_manager_test.go:127
Function
TestExtensionValueMixedInputAndVariable
TestExtensionValueMixedInputAndVariable ensures an extension value mixing {{input}} and another template variable is processed.
internal/plugins/template/template_extension_mixed_test.go:11
Function
TestExtensionValueWithSentinel
TestExtensionValueWithSentinel specifically tests the extension value sentinel replacement logic
internal/plugins/template/template_sentinel_test.go:196
Function
TestExtractAndValidateVideoId
(t *testing.T)
internal/tools/youtube/youtube_test.go:83
Function
TestExtractDeploymentFromBody
(t *testing.T)
internal/plugins/ai/azurecommon/azurecommon_test.go:107
Function
TestExtractDeploymentFromBodyNilBody
(t *testing.T)
internal/plugins/ai/azurecommon/azurecommon_test.go:137
Function
TestExtractFlag
(t *testing.T)
internal/cli/flags_test.go:459
Function
TestExtractModelName
(t *testing.T)
internal/plugins/ai/vertexai/vertexai_test.go:14
Function
TestExtractTextFromResponse
Test ExtractTextWithCitations from geminicommon
internal/plugins/ai/gemini/gemini_test.go:35
Function
TestExtractTextFromResponse_EmptyGroundingChunks
(t *testing.T)
internal/plugins/ai/gemini/gemini_test.go:63
Function
TestExtractTextFromResponse_Nil
(t *testing.T)
internal/plugins/ai/gemini/gemini_test.go:57
Function
TestFabricChatClient_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
Function
TestFallbackRegions_NotEmpty
(t *testing.T)
internal/plugins/ai/bedrock/bedrock_test.go:432
Function
TestFetchBedrockRegions_EmptyEndpoints_ReturnsFallback
(t *testing.T)
internal/plugins/ai/bedrock/bedrock_test.go:405
Function
TestFetchBedrockRegions_HTTPError_ReturnsFallback
(t *testing.T)
internal/plugins/ai/bedrock/bedrock_test.go:362
Function
TestFetchBedrockRegions_InvalidJSON_ReturnsFallback
(t *testing.T)
internal/plugins/ai/bedrock/bedrock_test.go:374
Function
TestFetchBedrockRegions_NoBedrock_ReturnsFallback
(t *testing.T)
internal/plugins/ai/bedrock/bedrock_test.go:386
Function
TestFetchBedrockRegions_ResultsSorted
(t *testing.T)
internal/plugins/ai/bedrock/bedrock_test.go:417
Function
TestFetchBedrockRegions_Unreachable_ReturnsFallback
(t *testing.T)
internal/plugins/ai/bedrock/bedrock_test.go:398
Function
TestFetchBedrockRegions_ValidJSON
(t *testing.T)
internal/plugins/ai/bedrock/bedrock_test.go:344
Function
TestFetchModelsDirectly_429NoCacheCleanError
A 429 with no cache yields a concise message, not the raw HTML body.
internal/plugins/ai/openai/models_cache_test.go:125
Function
TestFetchModelsDirectly_429ServesStaleCache
A 429 with a stale cache present returns the stale list rather than erroring.
internal/plugins/ai/openai/models_cache_test.go:107
Function
TestFetchModelsDirectly_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
Function
TestFetchModelsDirectly_EmptyArray
Ensures we handle empty model lists correctly
internal/plugins/ai/openai/openai_models_test.go:95
Function
TestFetchModelsDirectly_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
Function
TestFetchModelsDirectly_NoGitHubHeaderForOtherHosts
Ensures non-GitHub hosts do not receive the GitHub-specific API version header.
internal/plugins/ai/openai/openai_models_test.go:50
← previous
next →
1,001–1,100 of 1,442, ranked by callers