Documentation
¶
Index ¶
- Variables
- type AgentRunStore
- type AppConfigStore
- type LadybugStore
- func (store *LadybugStore) AppendAgentStep(ctx context.Context, runID string, step model.AgentStep) (model.AgentRun, error)
- func (store *LadybugStore) CompleteAgentRun(ctx context.Context, run model.AgentRun) (model.AgentRun, error)
- func (store *LadybugStore) CreateAgentRun(ctx context.Context, run model.AgentRun) (model.AgentRun, error)
- func (store *LadybugStore) CreateResearchRun(ctx context.Context, run model.ResearchRun) (model.ResearchRun, error)
- func (store *LadybugStore) CreateTask(ctx context.Context, task model.Task) (model.Task, error)
- func (store *LadybugStore) GetAgentRun(ctx context.Context, id string) (model.AgentRun, error)
- func (store *LadybugStore) GetResearchRun(ctx context.Context, id string) (model.ResearchRun, error)
- func (store *LadybugStore) GetTask(ctx context.Context, id string) (model.Task, error)
- func (store *LadybugStore) PromoteAgentArtifact(ctx context.Context, runID string, promotion model.AgentPromotion) (model.AgentRun, error)
- func (store *LadybugStore) UpdateTask(ctx context.Context, task model.Task) (model.Task, error)
- type MemoryStore
- func (store *MemoryStore) AppendAgentStep(_ context.Context, runID string, step model.AgentStep) (model.AgentRun, error)
- func (store *MemoryStore) CompleteAgentRun(_ context.Context, run model.AgentRun) (model.AgentRun, error)
- func (store *MemoryStore) CreateAgentRun(_ context.Context, run model.AgentRun) (model.AgentRun, error)
- func (store *MemoryStore) CreateResearchRun(_ context.Context, run model.ResearchRun) (model.ResearchRun, error)
- func (store *MemoryStore) CreateTask(_ context.Context, task model.Task) (model.Task, error)
- func (store *MemoryStore) GetAgentRun(_ context.Context, id string) (model.AgentRun, error)
- func (store *MemoryStore) GetResearchRun(_ context.Context, id string) (model.ResearchRun, error)
- func (store *MemoryStore) GetTask(_ context.Context, id string) (model.Task, error)
- func (store *MemoryStore) PromoteAgentArtifact(_ context.Context, runID string, promotion model.AgentPromotion) (model.AgentRun, error)
- func (store *MemoryStore) UpdateTask(_ context.Context, task model.Task) (model.Task, error)
- type ResearchRunStore
- type SQLiteConfigStore
- func (store *SQLiteConfigStore) GetAppSetting(ctx context.Context, key string) (string, string, error)
- func (store *SQLiteConfigStore) GetRuntimeFlag(ctx context.Context, key string) (bool, string, error)
- func (store *SQLiteConfigStore) SetAppSetting(ctx context.Context, key string, value string, valueType string) error
- func (store *SQLiteConfigStore) SetRuntimeFlag(ctx context.Context, key string, enabled bool, description string) error
- type TaskStore
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNotFound = errors.New("not found")
Functions ¶
This section is empty.
Types ¶
type AgentRunStore ¶
type AgentRunStore interface {
CreateAgentRun(context.Context, model.AgentRun) (model.AgentRun, error)
AppendAgentStep(context.Context, string, model.AgentStep) (model.AgentRun, error)
PromoteAgentArtifact(context.Context, string, model.AgentPromotion) (model.AgentRun, error)
CompleteAgentRun(context.Context, model.AgentRun) (model.AgentRun, error)
GetAgentRun(context.Context, string) (model.AgentRun, error)
}
type AppConfigStore ¶
type LadybugStore ¶
type LadybugStore struct {
// contains filtered or unexported fields
}
func NewLadybugStore ¶
func NewLadybugStore(graph ladybug.Graph) *LadybugStore
func (*LadybugStore) AppendAgentStep ¶
func (*LadybugStore) CompleteAgentRun ¶
func (*LadybugStore) CreateAgentRun ¶
func (*LadybugStore) CreateResearchRun ¶
func (store *LadybugStore) CreateResearchRun(ctx context.Context, run model.ResearchRun) (model.ResearchRun, error)
func (*LadybugStore) CreateTask ¶
func (*LadybugStore) GetAgentRun ¶
func (*LadybugStore) GetResearchRun ¶
func (store *LadybugStore) GetResearchRun(ctx context.Context, id string) (model.ResearchRun, error)
func (*LadybugStore) PromoteAgentArtifact ¶ added in v0.1.1
func (store *LadybugStore) PromoteAgentArtifact(ctx context.Context, runID string, promotion model.AgentPromotion) (model.AgentRun, error)
func (*LadybugStore) UpdateTask ¶
type MemoryStore ¶
type MemoryStore struct {
// contains filtered or unexported fields
}
func NewMemoryStore ¶
func NewMemoryStore() *MemoryStore
func (*MemoryStore) AppendAgentStep ¶
func (*MemoryStore) CompleteAgentRun ¶
func (*MemoryStore) CreateAgentRun ¶
func (*MemoryStore) CreateResearchRun ¶
func (store *MemoryStore) CreateResearchRun(_ context.Context, run model.ResearchRun) (model.ResearchRun, error)
func (*MemoryStore) CreateTask ¶
func (*MemoryStore) GetAgentRun ¶
func (*MemoryStore) GetResearchRun ¶
func (store *MemoryStore) GetResearchRun(_ context.Context, id string) (model.ResearchRun, error)
func (*MemoryStore) PromoteAgentArtifact ¶ added in v0.1.1
func (store *MemoryStore) PromoteAgentArtifact(_ context.Context, runID string, promotion model.AgentPromotion) (model.AgentRun, error)
func (*MemoryStore) UpdateTask ¶
type ResearchRunStore ¶
type ResearchRunStore interface {
CreateResearchRun(context.Context, model.ResearchRun) (model.ResearchRun, error)
GetResearchRun(context.Context, string) (model.ResearchRun, error)
}
type SQLiteConfigStore ¶
type SQLiteConfigStore struct {
// contains filtered or unexported fields
}
func NewSQLiteConfigStore ¶
func NewSQLiteConfigStore(db *sql.DB) *SQLiteConfigStore
func (*SQLiteConfigStore) GetAppSetting ¶
func (*SQLiteConfigStore) GetRuntimeFlag ¶
func (*SQLiteConfigStore) SetAppSetting ¶
func (*SQLiteConfigStore) SetRuntimeFlag ¶
Click to show internal directories.
Click to hide internal directories.