MCPcopy Create free account

hub / github.com/danielmiessler/Fabric / functions

Functions1,442 in github.com/danielmiessler/Fabric

MethodSendStream
(_ context.Context, messages []*chat.ChatCompletionMessage, opts *domain.ChatOptions, responseChan chan domain
internal/core/chatter_test.go:51
MethodSendStream
(context.Context, []*chat.ChatCompletionMessage, *domain.ChatOptions, chan domain.StreamUpdate)
internal/core/plugin_registry_test.go:51
MethodSendStream
(context.Context, []*chat.ChatCompletionMessage, *domain.ChatOptions, chan domain.StreamUpdate)
internal/plugins/ai/vendors_test.go:23
MethodSendStream
(_ context.Context, msgs []*chat.ChatCompletionMessage, opts *domain.ChatOptions, channel chan domain.StreamUp
internal/plugins/ai/lmstudio/lmstudio.go:92
MethodSendStream
(_ context.Context, msgs []*chat.ChatCompletionMessage, opts *domain.ChatOptions, channel chan domain.StreamUp
internal/plugins/ai/gemini/gemini.go:128
MethodSendStream
SendStream sends the messages to the Bedrock ConverseStream API
internal/plugins/ai/bedrock/bedrock.go:491
MethodSendStream
( ctx context.Context, msgs []*chat.ChatCompletionMessage, opts *domain.ChatOptions, channel chan domain.Stre
internal/plugins/ai/anthropic/anthropic.go:173
MethodSendStream
SendStream sends a message to Copilot and streams the response.
internal/plugins/ai/copilot/copilot.go:190
MethodSendStream
( ctx context.Context, msgs []*chat.ChatCompletionMessage, opts *domain.ChatOptions, channel chan domain.Stre
internal/plugins/ai/openai/openai.go:140
MethodSendStream
(_ context.Context, msgs []*chat.ChatCompletionMessage, opts *domain.ChatOptions, channel chan domain.StreamUp
internal/plugins/ai/perplexity/perplexity.go:122
MethodSendStream
(_ context.Context, msgs []*chat.ChatCompletionMessage, opts *domain.ChatOptions, channel chan domain.StreamUp
internal/plugins/ai/vertexai/vertexai.go:182
FunctionSetLevel
SetLevel sets the global debug level.
internal/log/log.go:33
FunctionSetOutput
SetOutput allows overriding the output destination for debug logs.
internal/log/log.go:78
MethodSetup
()
internal/tools/patterns_loader.go:82
MethodSetup
()
internal/tools/defaults.go:45
MethodSetup
()
internal/core/plugin_registry.go:182
MethodSetup
()
internal/core/chatter_test.go:40
MethodSetup
()
internal/core/plugin_registry_test.go:48
MethodSetup
()
internal/plugins/strategy/strategy.go:101
MethodSetup
()
internal/plugins/ai/vendors.go:130
MethodSetup
()
internal/plugins/ai/vendors_test.go:20
MethodSetup
Setup overrides the default plugin Setup to provide a guided auth flow: 1. Choose auth method: API Key (ABSK) or AWS Access Key + Secret 2. Based on c
internal/plugins/ai/bedrock/bedrock.go:218
MethodSetup
()
internal/plugins/ai/anthropic/anthropic.go:127
MethodSetup
Setup is called by the fabric CLI framework to guide the user through configuration.
internal/plugins/ai/perplexity/perplexity.go:239
MethodSetup
Setup runs interactive Codex configuration, including browser-based OAuth.
internal/plugins/ai/codex/codex.go:100
MethodSetupFillEnvFileContent
(*bytes.Buffer)
internal/core/chatter_test.go:44
MethodSetupFillEnvFileContent
(*bytes.Buffer)
internal/core/plugin_registry_test.go:49
MethodSetupFillEnvFileContent
(fileEnvFileContent *bytes.Buffer)
internal/plugins/plugin.go:132
MethodSetupFillEnvFileContent
(envFileContent *bytes.Buffer)
internal/plugins/ai/vendors.go:46
MethodSetupFillEnvFileContent
(*bytes.Buffer)
internal/plugins/ai/vendors_test.go:21
MethodSetupFillEnvFileContent
(_ *bytes.Buffer)
internal/plugins/ai/dryrun/dryrun.go:148
MethodSetupOrSkip
()
internal/plugins/plugin.go:125
MethodSetupVendor
(vendorName string)
internal/core/plugin_registry.go:436
MethodSetupVendor
(vendorName string, configuredVendors map[string]Vendor)
internal/plugins/ai/vendors.go:139
FunctionTestAPIKeyMiddleware
(t *testing.T)
internal/server/path_traversal_test.go:296
FunctionTestAddImageGenerationTool
(t *testing.T)
internal/plugins/ai/openai/openai_image_test.go:33
FunctionTestAddImageGenerationToolWithDynamicFormat
(t *testing.T)
internal/plugins/ai/openai/openai_image_test.go:182
FunctionTestAddImageGenerationToolWithUserParameters
(t *testing.T)
internal/plugins/ai/openai/openai_image_test.go:360
FunctionTestApplyFileChanges
(t *testing.T)
internal/domain/file_manager_test.go:119
FunctionTestApplyTemplate
(t *testing.T)
internal/plugins/template/template_test.go:8
FunctionTestApplyVariables
(t *testing.T)
internal/plugins/db/fsdb/patterns_test.go:46
FunctionTestAzureDeploymentMiddlewareChatCompletions
(t *testing.T)
internal/plugins/ai/azurecommon/azurecommon_test.go:59
FunctionTestAzureDeploymentMiddlewareResponses
(t *testing.T)
internal/plugins/ai/azurecommon/azurecommon_test.go:83
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:27
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:137
FunctionTestBuildEndpoint
(t *testing.T)
internal/plugins/ai/azurecommon/azurecommon_test.go:39
FunctionTestBuildFabricChatURL
(t *testing.T)
internal/server/ollama_test.go:17
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:8
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
← previousnext →901–1,000 of 1,442, ranked by callers