Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppState ¶
type AppState struct {
Repositories map[string]*repository.Repository `json:"repositories"`
Settings settings.Settings `json:"settings"`
Scheduler *scheduler.Scheduler
Mu sync.RWMutex
Logger logr.Logger
GenAI map[string]*genai.Provider
Remote *RemoteProviders
Agents map[int]*agent.Agent
RAG *rag.Store
Workflows map[string]*agent.Workflow
Integrations map[string]types.Integration
}
var State *AppState
func (*AppState) ReloadSettings ¶ added in v0.0.6
ReloadSettings reloads settings, agents and workflows
func (*AppState) UpdateAgents ¶ added in v0.0.6
UpdateAgents re-initializes the agents based on the new settings.
func (*AppState) UpdateWorkflows ¶ added in v0.0.6
UpdateWorkflows re-initializes the workflows based on the new settings.
Click to show internal directories.
Click to hide internal directories.