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
Method
SendStream
(_ context.Context, messages []*chat.ChatCompletionMessage, opts *domain.ChatOptions, responseChan chan domain
internal/core/chatter_test.go:51
Method
SendStream
(context.Context, []*chat.ChatCompletionMessage, *domain.ChatOptions, chan domain.StreamUpdate)
internal/core/plugin_registry_test.go:51
Method
SendStream
(context.Context, []*chat.ChatCompletionMessage, *domain.ChatOptions, chan domain.StreamUpdate)
internal/plugins/ai/vendors_test.go:23
Method
SendStream
(_ context.Context, msgs []*chat.ChatCompletionMessage, opts *domain.ChatOptions, channel chan domain.StreamUp
internal/plugins/ai/lmstudio/lmstudio.go:92
Method
SendStream
(_ context.Context, msgs []*chat.ChatCompletionMessage, opts *domain.ChatOptions, channel chan domain.StreamUp
internal/plugins/ai/gemini/gemini.go:128
Method
SendStream
SendStream sends the messages to the Bedrock ConverseStream API
internal/plugins/ai/bedrock/bedrock.go:491
Method
SendStream
( ctx context.Context, msgs []*chat.ChatCompletionMessage, opts *domain.ChatOptions, channel chan domain.Stre
internal/plugins/ai/anthropic/anthropic.go:173
Method
SendStream
SendStream sends a message to Copilot and streams the response.
internal/plugins/ai/copilot/copilot.go:190
Method
SendStream
( ctx context.Context, msgs []*chat.ChatCompletionMessage, opts *domain.ChatOptions, channel chan domain.Stre
internal/plugins/ai/openai/openai.go:140
Method
SendStream
(_ context.Context, msgs []*chat.ChatCompletionMessage, opts *domain.ChatOptions, channel chan domain.StreamUp
internal/plugins/ai/perplexity/perplexity.go:122
Method
SendStream
(_ context.Context, msgs []*chat.ChatCompletionMessage, opts *domain.ChatOptions, channel chan domain.StreamUp
internal/plugins/ai/vertexai/vertexai.go:182
Function
SetLevel
SetLevel sets the global debug level.
internal/log/log.go:33
Function
SetOutput
SetOutput allows overriding the output destination for debug logs.
internal/log/log.go:78
Method
Setup
()
internal/tools/patterns_loader.go:82
Method
Setup
()
internal/tools/defaults.go:45
Method
Setup
()
internal/core/plugin_registry.go:182
Method
Setup
()
internal/core/chatter_test.go:40
Method
Setup
()
internal/core/plugin_registry_test.go:48
Method
Setup
()
internal/plugins/strategy/strategy.go:101
Method
Setup
()
internal/plugins/ai/vendors.go:130
Method
Setup
()
internal/plugins/ai/vendors_test.go:20
Method
Setup
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
Method
Setup
()
internal/plugins/ai/anthropic/anthropic.go:127
Method
Setup
Setup is called by the fabric CLI framework to guide the user through configuration.
internal/plugins/ai/perplexity/perplexity.go:239
Method
Setup
Setup runs interactive Codex configuration, including browser-based OAuth.
internal/plugins/ai/codex/codex.go:100
Method
SetupFillEnvFileContent
(*bytes.Buffer)
internal/core/chatter_test.go:44
Method
SetupFillEnvFileContent
(*bytes.Buffer)
internal/core/plugin_registry_test.go:49
Method
SetupFillEnvFileContent
(fileEnvFileContent *bytes.Buffer)
internal/plugins/plugin.go:132
Method
SetupFillEnvFileContent
(envFileContent *bytes.Buffer)
internal/plugins/ai/vendors.go:46
Method
SetupFillEnvFileContent
(*bytes.Buffer)
internal/plugins/ai/vendors_test.go:21
Method
SetupFillEnvFileContent
(_ *bytes.Buffer)
internal/plugins/ai/dryrun/dryrun.go:148
Method
SetupOrSkip
()
internal/plugins/plugin.go:125
Method
SetupVendor
(vendorName string)
internal/core/plugin_registry.go:436
Method
SetupVendor
(vendorName string, configuredVendors map[string]Vendor)
internal/plugins/ai/vendors.go:139
Function
TestAPIKeyMiddleware
(t *testing.T)
internal/server/path_traversal_test.go:296
Function
TestAddImageGenerationTool
(t *testing.T)
internal/plugins/ai/openai/openai_image_test.go:33
Function
TestAddImageGenerationToolWithDynamicFormat
(t *testing.T)
internal/plugins/ai/openai/openai_image_test.go:182
Function
TestAddImageGenerationToolWithUserParameters
(t *testing.T)
internal/plugins/ai/openai/openai_image_test.go:360
Function
TestApplyFileChanges
(t *testing.T)
internal/domain/file_manager_test.go:119
Function
TestApplyTemplate
(t *testing.T)
internal/plugins/template/template_test.go:8
Function
TestApplyVariables
(t *testing.T)
internal/plugins/db/fsdb/patterns_test.go:46
Function
TestAzureDeploymentMiddlewareChatCompletions
(t *testing.T)
internal/plugins/ai/azurecommon/azurecommon_test.go:59
Function
TestAzureDeploymentMiddlewareResponses
(t *testing.T)
internal/plugins/ai/azurecommon/azurecommon_test.go:83
Function
TestAzureOpenAIAPIVersionCompatibility
--- ISC-C18: API Version Compatibility Test ---
internal/plugins/ai/azureaigateway/azureaigateway_test.go:925
Function
TestAzureOpenAIAuthHeader
(t *testing.T)
internal/plugins/ai/azureaigateway/azureaigateway_test.go:243
Function
TestAzureOpenAIBackwardCompatibility
(t *testing.T)
internal/plugins/ai/azureaigateway/azureaigateway_test.go:957
Function
TestAzureOpenAIBuildEndpoint
--- Azure OpenAI Backend Tests ---
internal/plugins/ai/azureaigateway/azureaigateway_test.go:233
Function
TestAzureOpenAICustomAPIVersion
(t *testing.T)
internal/plugins/ai/azureaigateway/azureaigateway_test.go:946
Function
TestAzureOpenAIListModels
(t *testing.T)
internal/plugins/ai/azureaigateway/azureaigateway_test.go:254
Function
TestAzureOpenAIParseResponse
(t *testing.T)
internal/plugins/ai/azureaigateway/azureaigateway_test.go:295
Function
TestAzureOpenAIParseResponseNoChoices
(t *testing.T)
internal/plugins/ai/azureaigateway/azureaigateway_test.go:307
Function
TestAzureOpenAIPrepareRequest
(t *testing.T)
internal/plugins/ai/azureaigateway/azureaigateway_test.go:265
Function
TestBackwardCompatibility
(t *testing.T)
internal/i18n/i18n_variants_test.go:152
Function
TestBearerTokenTransport_InjectsHeader
(t *testing.T)
internal/plugins/ai/bedrock/bedrock_test.go:155
Function
TestBearerTokenTransport_StringRedactsToken
(t *testing.T)
internal/plugins/ai/bedrock/bedrock_test.go:187
Function
TestBedrockAuthHeader
(t *testing.T)
internal/plugins/ai/azureaigateway/azureaigateway_test.go:50
Function
TestBedrockBuildEndpoint
--- Bedrock Backend Tests ---
internal/plugins/ai/azureaigateway/azureaigateway_test.go:31
Function
TestBedrockBuildEndpointTrailingSlash
(t *testing.T)
internal/plugins/ai/azureaigateway/azureaigateway_test.go:41
Function
TestBedrockListModels
(t *testing.T)
internal/plugins/ai/azureaigateway/azureaigateway_test.go:61
Function
TestBedrockParseResponse
(t *testing.T)
internal/plugins/ai/azureaigateway/azureaigateway_test.go:187
Function
TestBedrockParseResponseInvalid
(t *testing.T)
internal/plugins/ai/azureaigateway/azureaigateway_test.go:223
Function
TestBedrockParseResponseMultipleBlocks
(t *testing.T)
internal/plugins/ai/azureaigateway/azureaigateway_test.go:199
Function
TestBedrockParseResponseNoTextBlocks
(t *testing.T)
internal/plugins/ai/azureaigateway/azureaigateway_test.go:211
Function
TestBedrockPrepareRequestMaxTokensCustom
(t *testing.T)
internal/plugins/ai/azureaigateway/azureaigateway_test.go:136
Function
TestBedrockPrepareRequestMaxTokensDefault
(t *testing.T)
internal/plugins/ai/azureaigateway/azureaigateway_test.go:112
Function
TestBedrockPrepareRequestSkipsEmptyMessages
(t *testing.T)
internal/plugins/ai/azureaigateway/azureaigateway_test.go:161
Function
TestBedrockPrepareRequestSystemMessages
(t *testing.T)
internal/plugins/ai/azureaigateway/azureaigateway_test.go:72
Function
TestBedrockTemperatureTopPMutualExclusivity
(t *testing.T)
internal/plugins/ai/azureaigateway/azureaigateway_test.go:968
Function
TestBuildAuthorizeURLIncludesPKCE
(t *testing.T)
internal/plugins/ai/codex/codex_test.go:27
Function
TestBuildChatOptions
(t *testing.T)
internal/cli/flags_test.go:51
Function
TestBuildChatOptionsDefaultSeed
(t *testing.T)
internal/cli/flags_test.go:77
Function
TestBuildChatOptionsSuppressThink
(t *testing.T)
internal/cli/flags_test.go:102
Function
TestBuildChatOptionsWithImageFileValidation
(t *testing.T)
internal/cli/flags_test.go:241
Function
TestBuildChatOptionsWithImageParameters
(t *testing.T)
internal/cli/flags_test.go:397
Function
TestBuildCodexResponseParamsMovesSystemPromptToInstructions
(t *testing.T)
internal/plugins/ai/codex/codex_test.go:137
Function
TestBuildEndpoint
(t *testing.T)
internal/plugins/ai/azurecommon/azurecommon_test.go:39
Function
TestBuildFabricChatURL
(t *testing.T)
internal/server/ollama_test.go:17
Function
TestBuildGeminiConfig
(t *testing.T)
internal/plugins/ai/vertexai/vertexai_test.go:399
Function
TestBuildGenerateContentConfig_InvalidLocation
(t *testing.T)
internal/plugins/ai/gemini/gemini_test.go:106
Function
TestBuildGenerateContentConfig_LanguageCodeNormalization
(t *testing.T)
internal/plugins/ai/gemini/gemini_test.go:116
Function
TestBuildGenerateContentConfig_Thinking
(t *testing.T)
internal/plugins/ai/gemini/gemini_test.go:129
Function
TestBuildGenerateContentConfig_ThinkingTokens
(t *testing.T)
internal/plugins/ai/gemini/gemini_test.go:145
Function
TestBuildGenerateContentConfig_WithSearch
(t *testing.T)
internal/plugins/ai/gemini/gemini_test.go:77
Function
TestBuildGenerateContentConfig_WithSearchAndLocation
(t *testing.T)
internal/plugins/ai/gemini/gemini_test.go:90
Function
TestBuildMessageParams_DefaultValues
(t *testing.T)
internal/plugins/ai/anthropic/anthropic_test.go:335
Function
TestBuildMessageParams_ExplicitTopP
(t *testing.T)
internal/plugins/ai/anthropic/anthropic_test.go:363
Function
TestBuildMessageParams_Opus47OmitsSamplingParams
(t *testing.T)
internal/plugins/ai/anthropic/anthropic_test.go:210
Function
TestBuildMessageParams_UsesChatOptionsMaxTokens
(t *testing.T)
internal/plugins/ai/anthropic/anthropic_test.go:120
Function
TestBuildMessageParams_UsesConfiguredMaxTokensByDefault
(t *testing.T)
internal/plugins/ai/anthropic/anthropic_test.go:102
Function
TestBuildMessageParams_WithSearch
(t *testing.T)
internal/plugins/ai/anthropic/anthropic_test.go:139
Function
TestBuildMessageParams_WithSearchAndLocation
(t *testing.T)
internal/plugins/ai/anthropic/anthropic_test.go:176
Function
TestBuildMessageParams_WithoutSearch
(t *testing.T)
internal/plugins/ai/anthropic/anthropic_test.go:73
Function
TestBuildModelNameFull
Test buildModelNameFull method
internal/plugins/ai/gemini/gemini_test.go:14
Function
TestBuildPromptChatRequest_PreservesStrategyAndUserInput
(t *testing.T)
internal/server/chat_test.go:8
Function
TestBuildResponseParams_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
Function
TestBuildResponseParams_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
Function
TestBuildResponseParams_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
Function
TestBuildResponseParams_WithBothSearchAndImage
(t *testing.T)
internal/plugins/ai/openai/openai_image_test.go:87
Function
TestBuildResponseParams_WithImageGeneration
(t *testing.T)
internal/plugins/ai/openai/openai_image_test.go:59
Function
TestBuildResponseParams_WithSearch
(t *testing.T)
internal/plugins/ai/openai/openai_test.go:85
← previous
next →
901–1,000 of 1,442, ranked by callers