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
TestFetchModelsDirectly_OpenAIFormat
Ensures we can fetch models when a provider returns the standard OpenAI format
internal/plugins/ai/openai/openai_models_test.go:33
Function
TestFetchModelsDirectly_ServesFreshCacheWithoutRequest
A fresh cache short-circuits before any network call.
internal/plugins/ai/openai/models_cache_test.go:89
Function
TestFetchModelsDirectly_WritesCacheOnSuccess
A successful fetch is cached, so a later failure is served from cache.
internal/plugins/ai/openai/models_cache_test.go:143
Function
TestFetchPlugin
(t *testing.T)
internal/plugins/template/fetch_test.go:9
Function
TestFilePlugin
(t *testing.T)
internal/plugins/template/file_test.go:11
Function
TestFileProcessing_ErrorHandling
(t *testing.T)
cmd/generate_changelog/internal/changelog/processing_test.go:194
Function
TestFilterByVendorCaseInsensitive
(t *testing.T)
internal/plugins/ai/models_test.go:58
Function
TestFilterConversationalModels
(t *testing.T)
internal/plugins/ai/vertexai/vertexai_test.go:242
Function
TestFilterConversationalModels_AllFiltered
(t *testing.T)
internal/plugins/ai/vertexai/vertexai_test.go:271
Function
TestFilterConversationalModels_EmptyInput
(t *testing.T)
internal/plugins/ai/vertexai/vertexai_test.go:266
Function
TestFindModelNameCaseInsensitive
(t *testing.T)
internal/plugins/ai/models_test.go:78
Function
TestFindVendorsByModel
(t *testing.T)
internal/plugins/ai/models_test.go:29
Function
TestFindVendorsByModelFirst
(t *testing.T)
internal/plugins/ai/models_test.go:20
Function
TestFixedFileExtensionExecutor
(t *testing.T)
internal/plugins/template/extension_executor_test.go:201
Function
TestFormatMetadataAsText_EpisodeMetadata
(t *testing.T)
internal/tools/spotify/spotify_test.go:142
Function
TestFormatMetadataAsText_NilAndUnknownTypes
(t *testing.T)
internal/tools/spotify/spotify_test.go:226
Function
TestFormatMetadataAsText_SearchResult
(t *testing.T)
internal/tools/spotify/spotify_test.go:182
Function
TestFormatMetadataAsText_ShowMetadata
(t *testing.T)
internal/tools/spotify/spotify_test.go:105
Function
TestGenerateWAVFile
Test generateWAVFile method (basic test)
internal/plugins/ai/gemini/gemini_test.go:234
Function
TestGetApplyVariables
(t *testing.T)
internal/plugins/db/fsdb/patterns_test.go:97
Function
TestGetApplyVariables_FromFile
(t *testing.T)
internal/plugins/db/fsdb/patterns_test.go:254
Function
TestGetChatter_ActivatesInactiveVendor
(t *testing.T)
internal/core/plugin_registry_test.go:243
Function
TestGetChatter_AllowsExplicitCodexManualModel
(t *testing.T)
internal/core/plugin_registry_test.go:105
Function
TestGetChatter_ParsesVendorModelPrefix
(t *testing.T)
internal/core/plugin_registry_test.go:159
Function
TestGetChatter_RejectsExplicitCodexModelFromOtherVendor
(t *testing.T)
internal/core/plugin_registry_test.go:135
Function
TestGetChatter_ReportsConfigureError
(t *testing.T)
internal/core/plugin_registry_test.go:219
Function
TestGetChatter_VendorPrefixIgnoredWhenNotAVendor
(t *testing.T)
internal/core/plugin_registry_test.go:189
Function
TestGetChatter_WarnsOnAmbiguousModel
(t *testing.T)
internal/core/plugin_registry_test.go:59
Function
TestGetFromDB_AllowsDotsWithinName
A ".." in a name without separators is one safe path element. ValidateStorageName accepts it, and getFromDB also accepts it.
internal/plugins/db/fsdb/patterns_test.go:440
Function
TestGetFromDB_PathTraversal
(t *testing.T)
internal/plugins/db/fsdb/patterns_test.go:419
Function
TestGetLocaleCandidates
(t *testing.T)
internal/i18n/i18n_variants_test.go:49
Function
TestGetMaxTokens
(t *testing.T)
internal/plugins/ai/vertexai/vertexai_test.go:306
Function
TestGetOutputFormatFromExtension
(t *testing.T)
internal/plugins/ai/openai/openai_image_test.go:121
Function
TestGetPreferredLocale
(t *testing.T)
internal/i18n/locale_test.go:187
Function
TestGetShowOrEpisodeId
(t *testing.T)
internal/tools/spotify/spotify_test.go:8
Function
TestGetWithoutVariables
(t *testing.T)
internal/plugins/db/fsdb/patterns_test.go:150
Function
TestHandleSetupAndServerCommands_ServeOllamaWiring
The --serveOllama path must pass the address, version, and API key flags through to ServeOllama unchanged.
internal/cli/setup_server_test.go:12
Function
TestHashConsistency
TestHashConsistency ensures both hash functions produce same results for same content
internal/plugins/template/hash_test.go:93
Function
TestHtmlReadability
(t *testing.T)
internal/tools/converter/html_readability_test.go:9
Function
TestImageGenerationCompatibilityWarning
(t *testing.T)
internal/cli/chat_test.go:169
Function
TestImageGenerationIntegrationScenarios
(t *testing.T)
internal/cli/chat_test.go:271
Function
TestInit
(t *testing.T)
internal/cli/flags_test.go:15
Function
TestInitWithYAMLConfig
(t *testing.T)
internal/cli/flags_test.go:116
Function
TestInsertVersionAtTop
(t *testing.T)
cmd/generate_changelog/internal/changelog/generator_test.go:62
Function
TestInsertVersionAtTop_ImprovedRobustness
(t *testing.T)
cmd/generate_changelog/internal/changelog/processing_test.go:66
Function
TestIntegrationWithInit
(t *testing.T)
internal/i18n/locale_test.go:253
Function
TestIntegration_FormatMetadataAsText
(t *testing.T)
internal/tools/spotify/spotify_integration_test.go:179
Function
TestIntegration_GetEpisodeMetadata
(t *testing.T)
internal/tools/spotify/spotify_integration_test.go:74
Function
TestIntegration_GetEpisodeMetadata_InvalidID
(t *testing.T)
internal/tools/spotify/spotify_integration_test.go:207
Function
TestIntegration_GetShowEpisodes
(t *testing.T)
internal/tools/spotify/spotify_integration_test.go:122
Function
TestIntegration_GetShowMetadata
(t *testing.T)
internal/tools/spotify/spotify_integration_test.go:47
Function
TestIntegration_GetShowMetadata_InvalidID
(t *testing.T)
internal/tools/spotify/spotify_integration_test.go:197
Function
TestIntegration_GrabMetadataForURL_Episode
(t *testing.T)
internal/tools/spotify/spotify_integration_test.go:159
Function
TestIntegration_GrabMetadataForURL_Show
(t *testing.T)
internal/tools/spotify/spotify_integration_test.go:139
Function
TestIntegration_SearchShows
(t *testing.T)
internal/tools/spotify/spotify_integration_test.go:101
Function
TestIntegration_SearchShows_NoResults
(t *testing.T)
internal/tools/spotify/spotify_integration_test.go:217
Function
TestInvalidStorageNameError_DefaultMessage
(t *testing.T)
internal/plugins/db/fsdb/storage_test.go:126
Function
TestIsConfigured
(t *testing.T)
internal/plugins/ai/azureaigateway/azureaigateway_test.go:558
Function
TestIsConversationalModel
(t *testing.T)
internal/plugins/ai/vertexai/vertexai_test.go:200
Function
TestIsGeminiModel
(t *testing.T)
internal/plugins/ai/vertexai/vertexai_test.go:282
Function
TestIsMergeCommit
(t *testing.T)
cmd/generate_changelog/internal/changelog/merge_detection_test.go:10
Function
TestIsTTSModel
Test isTTSModel method
internal/plugins/ai/gemini/gemini_test.go:210
Function
TestIsValidAWSRegion
(t *testing.T)
internal/plugins/ai/bedrock/bedrock_test.go:133
Function
TestIsValidLocale
(t *testing.T)
internal/i18n/locale_test.go:152
Function
TestJoinPromptSections
(t *testing.T)
internal/core/chatter_test.go:74
Function
TestLevelFromInt
(t *testing.T)
internal/log/log_test.go:5
Function
TestListModels
Test generated using Keploy
internal/plugins/ai/azure/azure_test.go:78
Function
TestListModels
(t *testing.T)
internal/plugins/ai/azure_entra/azure_entra_test.go:47
Function
TestListModelsDoesNotSendBearerForWhitespaceOnlyKey
(t *testing.T)
internal/plugins/ai/lmstudio/lmstudio_test.go:74
Function
TestListModelsFiltersSupportedVisibleModels
(t *testing.T)
internal/plugins/ai/codex/codex_test.go:157
Function
TestListModelsUsesBearerTokenWhenConfigured
(t *testing.T)
internal/plugins/ai/lmstudio/lmstudio_test.go:14
Function
TestListModelsWithoutInit
(t *testing.T)
internal/plugins/ai/azureaigateway/azureaigateway_test.go:550
Function
TestListModels_NilClient_NoApiKey_ReturnsError
(t *testing.T)
internal/plugins/ai/bedrock/bedrock_test.go:215
Function
TestListModels_NilClient_WithApiKey_ReturnsFallback
(t *testing.T)
internal/plugins/ai/bedrock/bedrock_test.go:205
Function
TestListModels_ReturnsExpectedModel
Test generated using Keploy
internal/plugins/ai/dryrun/dryrun_test.go:13
Function
TestListPublisherModels_ErrorResponse
(t *testing.T)
internal/plugins/ai/vertexai/vertexai_test.go:169
Function
TestListPublisherModels_Pagination
(t *testing.T)
internal/plugins/ai/vertexai/vertexai_test.go:129
Function
TestListPublisherModels_Success
(t *testing.T)
internal/plugins/ai/vertexai/vertexai_test.go:98
Function
TestLoadImageBytes_DataURLSuccess
(t *testing.T)
internal/plugins/ai/ollama/ollama_test.go:55
Function
TestLoadImageBytes_DataURLValidationErrorsAreLocalized
(t *testing.T)
internal/plugins/ai/ollama/ollama_test.go:21
Function
TestLoadImageBytes_HTTPFetchErrorIsLocalized
(t *testing.T)
internal/plugins/ai/ollama/ollama_test.go:36
Function
TestLoadStrategy_EmptyName
(t *testing.T)
internal/plugins/strategy/strategy_test.go:36
Function
TestLoadStrategy_InvalidJSON
(t *testing.T)
internal/plugins/strategy/strategy_test.go:123
Function
TestLoadStrategy_NotFound
(t *testing.T)
internal/plugins/strategy/strategy_test.go:143
Function
TestLoadStrategy_PathTraversal
(t *testing.T)
internal/plugins/strategy/strategy_test.go:46
Function
TestLoadStrategy_ValidName
(t *testing.T)
internal/plugins/strategy/strategy_test.go:10
Function
TestLoadStrategy_WithoutExtension
(t *testing.T)
internal/plugins/strategy/strategy_test.go:96
Function
TestLooksLikePatternFilePath
(t *testing.T)
internal/plugins/db/fsdb/patterns_test.go:451
Function
TestMain
TestMain pins the locale to English so that i18n.T() assertions are deterministic regardless of the CI machine's system locale.
internal/plugins/ai/azureaigateway/azureaigateway_test.go:21
Function
TestMapRequestErrorPreservesCodexAPIErrorMessage
(t *testing.T)
internal/plugins/ai/codex/codex_test.go:214
Function
TestMapRequestErrorReadsAPIErrorResponseBodyWhenRawJSONMissing
(t *testing.T)
internal/plugins/ai/codex/codex_test.go:238
Function
TestMaskSecret
(t *testing.T)
internal/plugins/ai/bedrock/bedrock_test.go:245
Function
TestMiddlewareChatCompletionsRoute
(t *testing.T)
internal/plugins/ai/azure/azure_test.go:152
Function
TestMiddlewareResponsesRoute
(t *testing.T)
internal/plugins/ai/azure/azure_test.go:127
Function
TestModelBetasConfiguration
(t *testing.T)
internal/plugins/ai/anthropic/anthropic_test.go:233
Function
TestModelPriority
(t *testing.T)
internal/plugins/ai/vertexai/vertexai_test.go:78
Function
TestModelValidationLogic
(t *testing.T)
internal/plugins/ai/openai/openai_image_test.go:318
Function
TestModelsCache_DifferentURLDoesNotCollide
(t *testing.T)
internal/plugins/ai/openai/models_cache_test.go:80
Function
TestModelsCache_EmptyListNotCached
(t *testing.T)
internal/plugins/ai/openai/models_cache_test.go:57
Function
TestModelsCache_ExpiredMissesWithTTLButHitsWithoutAgeLimit
(t *testing.T)
internal/plugins/ai/openai/models_cache_test.go:67
← previous
next →
1,101–1,200 of 1,442, ranked by callers