Private
Public Access
1
0

Improve TUI system prompt handling

+ allow setting a default agent
This commit is contained in:
2024-09-23 03:00:03 +00:00
parent 676aa7b004
commit a46d211e10
6 changed files with 23 additions and 15 deletions

View File

@@ -15,8 +15,7 @@ type Config struct {
Temperature *float32 `yaml:"temperature" default:"0.2"`
SystemPrompt string `yaml:"systemPrompt,omitempty"`
SystemPromptFile string `yaml:"systemPromptFile,omitempty"`
// CLI only
Agent string `yaml:"-"`
Agent string `yaml:"agent"`
} `yaml:"defaults"`
Conversations *struct {
TitleGenerationModel *string `yaml:"titleGenerationModel" default:"gpt-3.5-turbo"`