MCPcopy
hub / github.com/danielmiessler/Fabric / WriteOutput

Function WriteOutput

internal/cli/cli.go:179–185  ·  view source on GitHub ↗
(message string, outputFile string)

Source from the content-addressed store, hash-verified

177}
178
179func WriteOutput(message string, outputFile string) (err error) {
180 fmt.Println(message)
181 if outputFile != "" {
182 err = CreateOutputFile(message, outputFile)
183 }
184 return
185}
186
187// configureOpenAIResponsesAPI configures the OpenAI client's Responses API setting based on the CLI flag
188func configureOpenAIResponsesAPI(registry *core.PluginRegistry, disableResponsesAPI bool) {

Callers 1

handleToolProcessingFunction · 0.85

Calls 1

CreateOutputFileFunction · 0.85

Tested by

no test coverage detected