- golem15_golem_models (encrypted write-only api_key) with its cabana list and form under golem15.golem.access_settings, and the Settings lookups (Models, DefaultModel with PHP's position-0 quirk, Vision, Image, File, ByName), every one Trusted - golem:import-settings copies the WinterCMS golem_settings repeater once - AnthropicAdapter; SendStream, SendFile/SendFilePath/SendFileReader, SendWithModel, SendToImageModel, SendToVisionModel, GenerateImage, Ask - PromptFactory; README documents the config keys, the environment variable, the command and the admin screen
17 lines
397 B
Go
17 lines
397 B
Go
// Package models holds the golem15.golem GORM models. It is a leaf
|
|
// package: it imports no other package of the plugin.
|
|
package models
|
|
|
|
var all []any
|
|
|
|
// Register appends GORM models, so a model file adds itself without
|
|
// editing plugin.go.
|
|
func Register(models ...any) {
|
|
all = append(all, models...)
|
|
}
|
|
|
|
// All returns every model registered by this package.
|
|
func All() []any {
|
|
return all
|
|
}
|