Documentation
¶
Index ¶
- func Dir() string
- func DirFor(name string) string
- func SaveTUI(dir string, toolsExpanded, showThinking bool) error
- type AgentConfig
- type Config
- type MemoryConfig
- type ModelConfig
- type ProviderConfig
- type ScheduleConfig
- type ScheduledJob
- type Secrets
- type SessionConfig
- type SlackConfig
- type SubagentConfig
- type TUIConfig
- type TelegramConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AgentConfig ¶
type Config ¶
type Config struct {
Providers []ProviderConfig `toml:"providers"`
Models []ModelConfig `toml:"models"`
Agent AgentConfig `toml:"agent"`
Subagents []SubagentConfig `toml:"subagents"`
Session SessionConfig `toml:"session"`
Slack SlackConfig
Telegram TelegramConfig
Services map[string]map[string]any
Memory MemoryConfig `toml:"memory"`
TUI TUIConfig `toml:"tui"`
Schedule ScheduleConfig `toml:"schedule"`
}
func DefaultFor ¶
type MemoryConfig ¶ added in v0.1.2
type MemoryConfig struct {
Enabled bool `toml:"enabled"`
SubconsciousModel string `toml:"subconscious_model"`
MaxRecall int `toml:"max_recall"`
RecallThreshold float64 `toml:"recall_threshold"`
DedupThreshold float64 `toml:"dedup_threshold"`
MaxIngest int `toml:"max_ingest"`
ConfidenceThreshold float64 `toml:"confidence_threshold"`
}
type ModelConfig ¶
type ModelConfig struct {
ID string `toml:"id"`
Provider string `toml:"provider"`
Name string `toml:"name"`
Description string `toml:"description"`
ContextWindow int `toml:"context_window"`
MaxOutputTokens int `toml:"max_output_tokens"`
ThinkingType string `toml:"thinking_type"`
ReasoningEffort string `toml:"reasoning_effort"`
ReasoningMaxTokens int `toml:"reasoning_max_tokens"`
InputPrice float64 `toml:"input_price"`
CachedInputPrice float64 `toml:"cached_input_price"`
OutputPrice float64 `toml:"output_price"`
PromptCache bool `toml:"prompt_cache"`
PromptCacheTTL string `toml:"prompt_cache_ttl"`
FallbackModels []string `toml:"fallback_models"`
Route string `toml:"route"`
ProviderSort string `toml:"provider_sort"`
}
type ProviderConfig ¶
type ScheduleConfig ¶ added in v0.1.1
type ScheduleConfig struct {
Jobs []ScheduledJob `toml:"jobs"`
}
type ScheduledJob ¶ added in v0.1.1
type SessionConfig ¶
type SessionConfig struct {
Dir string `toml:"dir"`
}
type SlackConfig ¶
type SubagentConfig ¶
type TelegramConfig ¶ added in v0.1.1
Click to show internal directories.
Click to hide internal directories.