Documentation
¶
Index ¶
- func GetKeyAuthConfig(apiKeys []string) (*v2keyauth.Config, error)
- func Reverse[T any](original []T) (reversed []T)
- type AgentRole
- type App
- func (a *App) Chat(pool *state.AgentPool) func(c *fiber.Ctx) error
- func (a *App) Create(pool *state.AgentPool) func(c *fiber.Ctx) error
- func (a *App) CreateGroup(pool *state.AgentPool) func(c *fiber.Ctx) error
- func (a *App) Delete(pool *state.AgentPool) func(c *fiber.Ctx) error
- func (app *App) ExecuteAction(pool *state.AgentPool) func(c *fiber.Ctx) error
- func (a *App) ExportAgent(pool *state.AgentPool) func(c *fiber.Ctx) error
- func (a *App) GenerateGroupProfiles(pool *state.AgentPool) func(c *fiber.Ctx) error
- func (a *App) GetActionDefinition(pool *state.AgentPool) func(c *fiber.Ctx) error
- func (a *App) GetAgentConfig(pool *state.AgentPool) func(c *fiber.Ctx) error
- func (a *App) GetAgentConfigMeta() func(c *fiber.Ctx) error
- func (a *App) ImportAgent(pool *state.AgentPool) func(c *fiber.Ctx) error
- func (a *App) ListActions() func(c *fiber.Ctx) error
- func (a *App) Notify(pool *state.AgentPool) func(c *fiber.Ctx) error
- func (a *App) OldChat(pool *state.AgentPool) func(c *fiber.Ctx) error
- func (a *App) Pause(pool *state.AgentPool) func(c *fiber.Ctx) error
- func (a *App) Responses(pool *state.AgentPool, tracker *conversations.ConversationTracker[string]) func(c *fiber.Ctx) error
- func (a *App) Start(pool *state.AgentPool) func(c *fiber.Ctx) error
- func (a *App) UpdateAgentConfig(pool *state.AgentPool) func(c *fiber.Ctx) error
- type Config
- type Option
- func WithApiKeys(keys ...string) Option
- func WithConversationStoreduration(duration string) Option
- func WithDefaultChunkSize(size int) Option
- func WithLLMAPIKey(key string) Option
- func WithLLMAPIUrl(url string) Option
- func WithLLMModel(model string) Option
- func WithPool(pool *state.AgentPool) Option
- func WithStateDir(dir string) Option
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type App ¶
func (*App) Chat ¶
Chat provides a JSON-based API for chat functionality This is designed to work better with the React UI
func (*App) ExecuteAction ¶
func (*App) GenerateGroupProfiles ¶
func (*App) GetActionDefinition ¶
func (*App) GetAgentConfig ¶
NEW FUNCTION: Get agent configuration
func (*App) GetAgentConfigMeta ¶
GetAgentConfigMeta returns the metadata for agent configuration fields
type Config ¶
type Option ¶
type Option func(*Config)
func WithApiKeys ¶
func WithDefaultChunkSize ¶
func WithLLMAPIKey ¶
func WithLLMAPIUrl ¶
func WithLLMModel ¶
func WithStateDir ¶
Click to show internal directories.
Click to hide internal directories.