feat(captain): align scenario and tool payloads
This commit is contained in:
@@ -232,6 +232,8 @@ type CaptainScenario struct {
|
||||
Instruction string `gorm:"type:text" json:"instruction,omitempty"`
|
||||
Enabled bool `gorm:"default:true;not null;index" json:"enabled"`
|
||||
Tools json.RawMessage `gorm:"type:jsonb;serializer:json" json:"tools,omitempty"` // array of tool names
|
||||
|
||||
Assistant CaptainAssistant `gorm:"foreignKey:AssistantID" json:"assistant,omitempty"`
|
||||
}
|
||||
|
||||
func (CaptainScenario) TableName() string { return "captain_scenarios" }
|
||||
|
||||
Reference in New Issue
Block a user