MCPcopy Create free account

hub / github.com/danielmiessler/Fabric / functions

Functions1,885 in github.com/danielmiessler/Fabric

MethodSendStream
(_ context.Context, messages []*chat.ChatCompletionMessage, opts *domain.ChatOptions, responseChan chan domain
internal/core/chatter_test.go:57
MethodSendStream
(context.Context, []*chat.ChatCompletionMessage, *domain.ChatOptions, chan domain.StreamUpdate)
internal/core/plugin_registry_test.go:52
MethodSendStream
(context.Context, []*chat.ChatCompletionMessage, *domain.ChatOptions, chan domain.StreamUpdate)
internal/server/chat_test.go:147
MethodSendStream
(_ context.Context, _ []*chat.ChatCompletionMessage, _ *domain.ChatOptions, ch chan domain.StreamUpdate)
internal/server/chat_test.go:219
MethodSendStream
(_ context.Context, _ []*chat.ChatCompletionMessage, _ *domain.ChatOptions, ch chan domain.StreamUpdate)
internal/server/provider_error_test.go:36
MethodSendStream
(context.Context, []*chat.ChatCompletionMessage, *domain.ChatOptions, chan domain.StreamUpdate)
internal/plugins/ai/vendors_test.go:29
MethodSendStream
(context.Context, []*chat.ChatCompletionMessage, *domain.ChatOptions, chan domain.StreamUpdate)
internal/plugins/ai/vendors_race_test.go:26
MethodSendStream
(ctx context.Context, msgs []*chat.ChatCompletionMessage, opts *domain.ChatOptions, channel chan domain.Stream
internal/plugins/ai/gemini/gemini.go:123
MethodSendStream
SendStream sends the messages to the Bedrock ConverseStream API
internal/plugins/ai/bedrock/bedrock.go:467
MethodSendStream
(ctx context.Context, msgs []*chat.ChatCompletionMessage, opts *domain.ChatOptions, channel chan domain.Stream
internal/plugins/ai/claudecode/claudecode.go:62
FunctionSetLevel
SetLevel sets the global debug level.
internal/log/log.go:33
MethodSetup
()
internal/tools/patterns_loader.go:75
MethodSetup
()
internal/tools/defaults.go:45
MethodSetup
()
internal/core/plugin_registry.go:203
MethodSetup
()
internal/core/chatter_test.go:46
MethodSetup
()
internal/core/plugin_registry_test.go:49
MethodSetup
()
internal/server/chat_test.go:144
MethodSetup
()
internal/plugins/strategy/strategy.go:110
MethodSetup
()
internal/plugins/ai/vendors.go:147
MethodSetup
()
internal/plugins/ai/vendors_test.go:23
MethodSetup
()
internal/plugins/ai/vendors_race_test.go:21
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:213
MethodSetup
()
internal/plugins/ai/anthropic/anthropic.go:231
MethodSetupFillEnvFileContent
(*bytes.Buffer)
internal/core/chatter_test.go:50
MethodSetupFillEnvFileContent
(*bytes.Buffer)
internal/core/plugin_registry_test.go:50
MethodSetupFillEnvFileContent
(*bytes.Buffer)
internal/server/chat_test.go:145
MethodSetupFillEnvFileContent
(fileEnvFileContent *bytes.Buffer)
internal/plugins/plugin.go:136
MethodSetupFillEnvFileContent
(envFileContent *bytes.Buffer)
internal/plugins/ai/vendors.go:53
MethodSetupFillEnvFileContent
(*bytes.Buffer)
internal/plugins/ai/vendors_test.go:24
MethodSetupFillEnvFileContent
(*bytes.Buffer)
internal/plugins/ai/vendors_race_test.go:22
MethodSetupFillEnvFileContent
(_ *bytes.Buffer)
internal/plugins/ai/dryrun/dryrun.go:108
MethodSetupOrSkip
()
internal/plugins/plugin.go:129
MethodSetupVendor
(vendorName string)
internal/core/plugin_registry.go:441
MethodSetupVendor
(vendorName string, configuredVendors map[string]Vendor)
internal/plugins/ai/vendors.go:156
FunctionTestAPIKeyMiddleware
(t *testing.T)
internal/server/path_traversal_test.go:299
FunctionTestAPIKeyMiddlewareForgetsOldFailures
(t *testing.T)
internal/server/auth_limit_test.go:66
FunctionTestAPIKeyMiddlewareLocksOutAClientAfterRepeatedWrongKeys
(t *testing.T)
internal/server/auth_limit_test.go:35
FunctionTestAPIKeyMiddlewareMissingKeyDoesNotCountAsAGuess
(t *testing.T)
internal/server/auth_limit_test.go:82
FunctionTestAPIKeyPassedAsArg
TestAPIKeyPassedAsArg makes sure that only an API key on the command line gives the warning.
internal/cli/setup_server_test.go:86
FunctionTestAddImageGenerationTool
(t *testing.T)
internal/plugins/ai/openai/openai_image_test.go:31
FunctionTestAddImageGenerationToolWithDynamicFormat
(t *testing.T)
internal/plugins/ai/openai/openai_image_test.go:177
FunctionTestAddImageGenerationToolWithUserParameters
(t *testing.T)
internal/plugins/ai/openai/openai_image_test.go:352
FunctionTestAddVendorsInvalidatesCachedModels
TestAddVendorsInvalidatesCachedModels validates that registering a new vendor after warming the cache includes the new vendor's models.
internal/plugins/ai/vendors_test.go:39
FunctionTestAgentParams
(t *testing.T)
internal/plugins/ai/perplexity/perplexity_test.go:23
FunctionTestApplyFileChanges
(t *testing.T)
internal/domain/file_manager_test.go:133
FunctionTestApplyFileChanges_NoWriteBeforeBadPath
TestApplyFileChanges_NoWriteBeforeBadPath checks that a bad path stops the change set before the first write.
internal/domain/file_manager_test.go:273
FunctionTestApplyFileChanges_RejectsGitAndSymlinks
TestApplyFileChanges_RejectsGitAndSymlinks makes sure that ApplyFileChanges does not write into .git or through a symlink.
internal/domain/file_manager_test.go:200
FunctionTestApplyFileChanges_RejectsGitShortName
TestApplyFileChanges_RejectsGitShortName makes sure that ApplyFileChanges does not write into .git through its Windows 8.3 short name.
internal/domain/file_manager_test.go:246
FunctionTestApplyTemplate
(t *testing.T)
internal/plugins/template/template_test.go:9
FunctionTestApplyTemplateInput
TestApplyTemplateInput checks that ApplyTemplateInput replaces variables, but gives plugin and extension tokens back as literal text. This is also tru
internal/plugins/template/template_test.go:223
FunctionTestApplyTemplateLongBraceRun
TestApplyTemplateLongBraceRun checks that the time of the scan increases linearly with the length of the content. ApplyTemplate must give 1 MiB of "{"
internal/plugins/template/template_test.go:190
FunctionTestApplyVariables
(t *testing.T)
internal/plugins/db/fsdb/patterns_test.go:43
FunctionTestAuditLog
(t *testing.T)
internal/server/audit_test.go:16
FunctionTestAuthFailureLimiterTableStaysBounded
(t *testing.T)
internal/server/auth_limit_test.go:96
FunctionTestAzureOpenAIAPIVersionCompatibility
(t *testing.T)
internal/plugins/ai/azureaigateway/azureaigateway_test.go:915
FunctionTestAzureOpenAIAuthHeader
(t *testing.T)
internal/plugins/ai/azureaigateway/azureaigateway_test.go:248
FunctionTestAzureOpenAIBackwardCompatibility
(t *testing.T)
internal/plugins/ai/azureaigateway/azureaigateway_test.go:941
FunctionTestAzureOpenAIBuildEndpoint
(t *testing.T)
internal/plugins/ai/azureaigateway/azureaigateway_test.go:239
FunctionTestAzureOpenAICustomAPIVersion
(t *testing.T)
internal/plugins/ai/azureaigateway/azureaigateway_test.go:931
FunctionTestAzureOpenAIListModels
(t *testing.T)
internal/plugins/ai/azureaigateway/azureaigateway_test.go:259
FunctionTestAzureOpenAIParseResponse
(t *testing.T)
internal/plugins/ai/azureaigateway/azureaigateway_test.go:299
FunctionTestAzureOpenAIParseResponseNoChoices
(t *testing.T)
internal/plugins/ai/azureaigateway/azureaigateway_test.go:311
FunctionTestAzureOpenAIPrepareRequest
(t *testing.T)
internal/plugins/ai/azureaigateway/azureaigateway_test.go:270
FunctionTestBackwardCompatibility
(t *testing.T)
internal/i18n/i18n_variants_test.go:149
FunctionTestBearerTokenTransport_InjectsHeader
(t *testing.T)
internal/plugins/ai/bedrock/bedrock_test.go:148
FunctionTestBearerTokenTransport_StringRedactsToken
(t *testing.T)
internal/plugins/ai/bedrock/bedrock_test.go:176
FunctionTestBedrockAuthHeader
(t *testing.T)
internal/plugins/ai/azureaigateway/azureaigateway_test.go:48
FunctionTestBedrockBuildEndpoint
(t *testing.T)
internal/plugins/ai/azureaigateway/azureaigateway_test.go:29
FunctionTestBedrockBuildEndpointTrailingSlash
(t *testing.T)
internal/plugins/ai/azureaigateway/azureaigateway_test.go:39
FunctionTestBedrockListModels
(t *testing.T)
internal/plugins/ai/azureaigateway/azureaigateway_test.go:59
FunctionTestBedrockParseResponse
(t *testing.T)
internal/plugins/ai/azureaigateway/azureaigateway_test.go:195
FunctionTestBedrockParseResponseInvalid
(t *testing.T)
internal/plugins/ai/azureaigateway/azureaigateway_test.go:231
FunctionTestBedrockParseResponseMultipleBlocks
(t *testing.T)
internal/plugins/ai/azureaigateway/azureaigateway_test.go:207
FunctionTestBedrockParseResponseNoTextBlocks
(t *testing.T)
internal/plugins/ai/azureaigateway/azureaigateway_test.go:219
FunctionTestBedrockPrepareRequestKeepsSamplingForOtherModels
(t *testing.T)
internal/plugins/ai/azureaigateway/backend_bedrock_sampling_test.go:44
FunctionTestBedrockPrepareRequestMaxTokensCustom
(t *testing.T)
internal/plugins/ai/azureaigateway/azureaigateway_test.go:144
FunctionTestBedrockPrepareRequestMaxTokensDefault
(t *testing.T)
internal/plugins/ai/azureaigateway/azureaigateway_test.go:120
FunctionTestBedrockPrepareRequestOmitsSamplingForModelsThatRejectIt
Claude Opus 4.7 and later, and the Claude 5 models, reject temperature and top_p with a 400. A model that is not in the allowlist, such as a future on
internal/plugins/ai/azureaigateway/backend_bedrock_sampling_test.go:27
FunctionTestBedrockPrepareRequestSkipsEmptyMessages
(t *testing.T)
internal/plugins/ai/azureaigateway/azureaigateway_test.go:169
FunctionTestBedrockPrepareRequestSystemMessages
(t *testing.T)
internal/plugins/ai/azureaigateway/azureaigateway_test.go:81
FunctionTestBedrockTemperatureTopPMutualExclusivity
(t *testing.T)
internal/plugins/ai/azureaigateway/azureaigateway_test.go:950
FunctionTestBlockedError
(t *testing.T)
internal/plugins/ai/geminicommon/geminicommon_test.go:35
FunctionTestBodyLimitAfterAuth
The engine rejects a request with a wrong API key or a cross-site Origin before it reads the body.
internal/server/bodylimit_test.go:82
FunctionTestBodyLimitOnEngine
The engine answers 413 for a body above MaxRequestBodyBytes, before the handler runs. A normal request still gets to the handler.
internal/server/bodylimit_test.go:18
FunctionTestBodyLimitWithoutContentLength
A body with no Content-Length cannot be read past the limit.
internal/server/bodylimit_test.go:51
FunctionTestBuildAuthorizeURLIncludesPKCE
(t *testing.T)
internal/plugins/ai/codex/codex_test.go:37
FunctionTestBuildChatOptions
(t *testing.T)
internal/cli/flags_test.go:64
FunctionTestBuildChatOptionsDefaultSeed
(t *testing.T)
internal/cli/flags_test.go:95
FunctionTestBuildChatOptionsExtractBuffersStream
(t *testing.T)
internal/cli/flags_test.go:134
FunctionTestBuildChatOptionsSuppressThink
(t *testing.T)
internal/cli/flags_test.go:120
FunctionTestBuildChatOptionsWithImageFileValidation
(t *testing.T)
internal/cli/flags_test.go:310
FunctionTestBuildChatOptionsWithImageParameters
(t *testing.T)
internal/cli/flags_test.go:465
FunctionTestBuildCodexResponseParamsMovesSystemPromptToInstructions
(t *testing.T)
internal/plugins/ai/codex/codex_test.go:149
FunctionTestBuildFabricChatURL
(t *testing.T)
internal/server/ollama_test.go:20
FunctionTestBuildGeminiConfig
(t *testing.T)
internal/plugins/ai/vertexai/vertexai_test.go:401
FunctionTestBuildGenerateContentConfig_InvalidLocation
(t *testing.T)
internal/plugins/ai/gemini/gemini_test.go:112
FunctionTestBuildGenerateContentConfig_LanguageCodeNormalization
(t *testing.T)
internal/plugins/ai/gemini/gemini_test.go:122
FunctionTestBuildGenerateContentConfig_Thinking
(t *testing.T)
internal/plugins/ai/gemini/gemini_test.go:135
FunctionTestBuildGenerateContentConfig_ThinkingTokens
(t *testing.T)
internal/plugins/ai/gemini/gemini_test.go:151
FunctionTestBuildGenerateContentConfig_WithSearch
(t *testing.T)
internal/plugins/ai/gemini/gemini_test.go:83
← previousnext →1,101–1,200 of 1,885, ranked by callers