feat(prompts): load system prompts and defaults from Docker volume; set runtime system prompt; add BACKBEAT standards
This commit is contained in:
22
pkg/prompt/types.go
Normal file
22
pkg/prompt/types.go
Normal file
@@ -0,0 +1,22 @@
|
||||
package prompt
|
||||
|
||||
// RoleDefinition represents a single agent role loaded from YAML.
|
||||
type RoleDefinition struct {
|
||||
ID string `yaml:"id"`
|
||||
Name string `yaml:"name"`
|
||||
Description string `yaml:"description"`
|
||||
Tags []string `yaml:"tags"`
|
||||
SystemPrompt string `yaml:"system_prompt"`
|
||||
Defaults struct {
|
||||
Models []string `yaml:"models"`
|
||||
Capabilities []string `yaml:"capabilities"`
|
||||
Expertise []string `yaml:"expertise"`
|
||||
MaxTasks int `yaml:"max_tasks"`
|
||||
} `yaml:"defaults"`
|
||||
}
|
||||
|
||||
// RolesFile is the top-level structure for a roles YAML file.
|
||||
type RolesFile struct {
|
||||
Roles map[string]RoleDefinition `yaml:"roles"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user