Documentation
¶
Overview ¶
Package image is the module that generates images through a configured provider's OpenAI-compatible images endpoint, or through an external agent that draws with its own tools.
Index ¶
- Constants
- type Module
- func (m *Module) Apply(_ context.Context, cfg setup.Config) error
- func (m *Module) Change(_ context.Context, path []string, value string) (modules.Change, error)
- func (m *Module) Close() error
- func (m *Module) ID() string
- func (m *Module) SetChoiceSaver(save func(context.Context, string, string) error)
- func (m *Module) Settings(ctx context.Context) []modules.Item
- func (m *Module) Status(ctx context.Context) modules.Status
- func (m *Module) Tools() []tools.Executor
Constants ¶
View Source
const (
GenerateToolID = "generate_image"
)
View Source
const ModuleID = "image"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.