MCPcopy Create free account

hub / github.com/danielmiessler/Fabric / functions

Functions1,350 in github.com/danielmiessler/Fabric

FunctionTestAzureOpenAIAPIVersionCompatibility
--- ISC-C18: API Version Compatibility Test ---
internal/plugins/ai/azureaigateway/azureaigateway_test.go:925
FunctionTestAzureOpenAIAuthHeader
(t *testing.T)
internal/plugins/ai/azureaigateway/azureaigateway_test.go:243
FunctionTestAzureOpenAIBackwardCompatibility
(t *testing.T)
internal/plugins/ai/azureaigateway/azureaigateway_test.go:957
FunctionTestAzureOpenAIBuildEndpoint
--- Azure OpenAI Backend Tests ---
internal/plugins/ai/azureaigateway/azureaigateway_test.go:233
FunctionTestAzureOpenAICustomAPIVersion
(t *testing.T)
internal/plugins/ai/azureaigateway/azureaigateway_test.go:946
FunctionTestAzureOpenAIListModels
(t *testing.T)
internal/plugins/ai/azureaigateway/azureaigateway_test.go:254
FunctionTestAzureOpenAIParseResponse
(t *testing.T)
internal/plugins/ai/azureaigateway/azureaigateway_test.go:295
FunctionTestAzureOpenAIParseResponseNoChoices
(t *testing.T)
internal/plugins/ai/azureaigateway/azureaigateway_test.go:307
FunctionTestAzureOpenAIPrepareRequest
(t *testing.T)
internal/plugins/ai/azureaigateway/azureaigateway_test.go:265
FunctionTestBackwardCompatibility
(t *testing.T)
internal/i18n/i18n_variants_test.go:152
FunctionTestBearerTokenTransport_InjectsHeader
(t *testing.T)
internal/plugins/ai/bedrock/bedrock_test.go:155
FunctionTestBearerTokenTransport_StringRedactsToken
(t *testing.T)
internal/plugins/ai/bedrock/bedrock_test.go:187
FunctionTestBedrockAuthHeader
(t *testing.T)
internal/plugins/ai/azureaigateway/azureaigateway_test.go:50
FunctionTestBedrockBuildEndpoint
--- Bedrock Backend Tests ---
internal/plugins/ai/azureaigateway/azureaigateway_test.go:31
FunctionTestBedrockBuildEndpointTrailingSlash
(t *testing.T)
internal/plugins/ai/azureaigateway/azureaigateway_test.go:41
FunctionTestBedrockListModels
(t *testing.T)
internal/plugins/ai/azureaigateway/azureaigateway_test.go:61
FunctionTestBedrockParseResponse
(t *testing.T)
internal/plugins/ai/azureaigateway/azureaigateway_test.go:187
FunctionTestBedrockParseResponseInvalid
(t *testing.T)
internal/plugins/ai/azureaigateway/azureaigateway_test.go:223
FunctionTestBedrockParseResponseMultipleBlocks
(t *testing.T)
internal/plugins/ai/azureaigateway/azureaigateway_test.go:199
FunctionTestBedrockParseResponseNoTextBlocks
(t *testing.T)
internal/plugins/ai/azureaigateway/azureaigateway_test.go:211
FunctionTestBedrockPrepareRequestMaxTokensCustom
(t *testing.T)
internal/plugins/ai/azureaigateway/azureaigateway_test.go:136
FunctionTestBedrockPrepareRequestMaxTokensDefault
(t *testing.T)
internal/plugins/ai/azureaigateway/azureaigateway_test.go:112
FunctionTestBedrockPrepareRequestSkipsEmptyMessages
(t *testing.T)
internal/plugins/ai/azureaigateway/azureaigateway_test.go:161
FunctionTestBedrockPrepareRequestSystemMessages
(t *testing.T)
internal/plugins/ai/azureaigateway/azureaigateway_test.go:72
FunctionTestBedrockTemperatureTopPMutualExclusivity
(t *testing.T)
internal/plugins/ai/azureaigateway/azureaigateway_test.go:968
FunctionTestBuildAuthorizeURLIncludesPKCE
(t *testing.T)
internal/plugins/ai/codex/codex_test.go:26
FunctionTestBuildChatOptions
(t *testing.T)
internal/cli/flags_test.go:51
FunctionTestBuildChatOptionsDefaultSeed
(t *testing.T)
internal/cli/flags_test.go:77
FunctionTestBuildChatOptionsSuppressThink
(t *testing.T)
internal/cli/flags_test.go:102
FunctionTestBuildChatOptionsWithImageFileValidation
(t *testing.T)
internal/cli/flags_test.go:241
FunctionTestBuildChatOptionsWithImageParameters
(t *testing.T)
internal/cli/flags_test.go:397
FunctionTestBuildCodexResponseParamsMovesSystemPromptToInstructions
(t *testing.T)
internal/plugins/ai/codex/codex_test.go:136
FunctionTestBuildEndpoint
(t *testing.T)
internal/plugins/ai/azurecommon/azurecommon_test.go:39
FunctionTestBuildFabricChatURL
(t *testing.T)
internal/server/ollama_test.go:10
FunctionTestBuildGeminiConfig
(t *testing.T)
internal/plugins/ai/vertexai/vertexai_test.go:399
FunctionTestBuildGenerateContentConfig_InvalidLocation
(t *testing.T)
internal/plugins/ai/gemini/gemini_test.go:106
FunctionTestBuildGenerateContentConfig_LanguageCodeNormalization
(t *testing.T)
internal/plugins/ai/gemini/gemini_test.go:116
FunctionTestBuildGenerateContentConfig_Thinking
(t *testing.T)
internal/plugins/ai/gemini/gemini_test.go:129
FunctionTestBuildGenerateContentConfig_ThinkingTokens
(t *testing.T)
internal/plugins/ai/gemini/gemini_test.go:145
FunctionTestBuildGenerateContentConfig_WithSearch
(t *testing.T)
internal/plugins/ai/gemini/gemini_test.go:77
FunctionTestBuildGenerateContentConfig_WithSearchAndLocation
(t *testing.T)
internal/plugins/ai/gemini/gemini_test.go:90
FunctionTestBuildMessageParams_DefaultValues
(t *testing.T)
internal/plugins/ai/anthropic/anthropic_test.go:335
FunctionTestBuildMessageParams_ExplicitTopP
(t *testing.T)
internal/plugins/ai/anthropic/anthropic_test.go:363
FunctionTestBuildMessageParams_Opus47OmitsSamplingParams
(t *testing.T)
internal/plugins/ai/anthropic/anthropic_test.go:210
FunctionTestBuildMessageParams_UsesChatOptionsMaxTokens
(t *testing.T)
internal/plugins/ai/anthropic/anthropic_test.go:120
FunctionTestBuildMessageParams_UsesConfiguredMaxTokensByDefault
(t *testing.T)
internal/plugins/ai/anthropic/anthropic_test.go:102
FunctionTestBuildMessageParams_WithSearch
(t *testing.T)
internal/plugins/ai/anthropic/anthropic_test.go:139
FunctionTestBuildMessageParams_WithSearchAndLocation
(t *testing.T)
internal/plugins/ai/anthropic/anthropic_test.go:176
FunctionTestBuildMessageParams_WithoutSearch
(t *testing.T)
internal/plugins/ai/anthropic/anthropic_test.go:73
FunctionTestBuildModelNameFull
Test buildModelNameFull method
internal/plugins/ai/gemini/gemini_test.go:14
FunctionTestBuildPromptChatRequest_PreservesStrategyAndUserInput
(t *testing.T)
internal/server/chat_test.go:5
FunctionTestBuildResponseParams_DefaultProvider_Unchanged
TestBuildResponseParams_DefaultProvider_Unchanged guards backwards compatibility. A client that does not set the new override fields must continue emi
internal/plugins/ai/openai/openai_test.go:167
FunctionTestBuildResponseParams_GrokAI_WithSearch
TestBuildResponseParams_GrokAI_WithSearch verifies that a client configured with a custom web search tool name and x_search enabled emits both tool en
internal/plugins/ai/openai/openai_test.go:135
FunctionTestBuildResponseParams_GrokAI_WithoutSearch
TestBuildResponseParams_GrokAI_WithoutSearch confirms that a GrokAI style client without Search enabled does not append any tools. This protects the n
internal/plugins/ai/openai/openai_test.go:194
FunctionTestBuildResponseParams_WithBothSearchAndImage
(t *testing.T)
internal/plugins/ai/openai/openai_image_test.go:87
FunctionTestBuildResponseParams_WithImageGeneration
(t *testing.T)
internal/plugins/ai/openai/openai_image_test.go:59
FunctionTestBuildResponseParams_WithSearch
(t *testing.T)
internal/plugins/ai/openai/openai_test.go:85
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
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
← previousnext →901–1,000 of 1,350, ranked by callers