Documentation
¶
Overview ¶
Package aigeneration asks, during gtb init, whether gtb may call a model while generating projects whose manifest does not say (spec 0211 D5). The question is gtb's own, so it lives here rather than in pkg/setup/ai, which every tool built on GTB inherits.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Initialiser ¶
type Initialiser struct{}
Initialiser records the person's default for AI generation as generator.ai.
func (Initialiser) Configure ¶
Configure asks the question and writes the answer, No included, so the person can see the setting in their config.
func (Initialiser) IsConfigured ¶
func (Initialiser) IsConfigured(cfg config.Reader) bool
IsConfigured reports whether generator.ai has been answered already.
func (Initialiser) Name ¶
func (Initialiser) Name() string
Name returns the human-readable name for this initialiser.
Click to show internal directories.
Click to hide internal directories.