Documentation
¶
Overview ¶
Package noninteractive provides utilities for detecting and handling provider-not-configured errors in non-interactive environments (daemons, CI, piped stdin).
Index ¶
Constants ¶
View Source
const HelpHint = "Set SPROUT_PROVIDER / configure ~/.config/sprout/config.json, or run `sprout agent` interactively"
HelpHint is the canonical guidance shown when a provider is not configured in non-interactive environments (daemons, CI, piped stdin).
Variables ¶
This section is empty.
Functions ¶
func IsNonInteractiveHint ¶
IsNonInteractiveHint checks if an error message contains the HelpHint text. This is a sentinel check for callers to detect provider-not-configured-in-non-interactive errors.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.