diff options
| author | Paul Buetow <paul@buetow.org> | 2025-08-17 22:46:25 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2025-08-17 22:46:25 +0300 |
| commit | c83acd3f5749fe240464283a43f8b03797a1b544 (patch) | |
| tree | 97f32c7853af6255bdb430b2670f5d53e8158ac7 /internal/appconfig | |
| parent | 95ecff336b2f8315ad37daeb006d1639d1710ed0 (diff) | |
refactor as per manual code reviews
Diffstat (limited to 'internal/appconfig')
| -rw-r--r-- | internal/appconfig/config.go | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/internal/appconfig/config.go b/internal/appconfig/config.go index 7076862..c5166a0 100644 --- a/internal/appconfig/config.go +++ b/internal/appconfig/config.go @@ -13,14 +13,14 @@ import ( // App holds user-configurable settings read from ~/.config/hexai/config.json. type App struct { - MaxTokens int `json:"max_tokens"` - ContextMode string `json:"context_mode"` - ContextWindowLines int `json:"context_window_lines"` - MaxContextTokens int `json:"max_context_tokens"` - LogPreviewLimit int `json:"log_preview_limit"` - - TriggerCharacters []string `json:"trigger_characters"` - Provider string `json:"provider"` + MaxTokens int `json:"max_tokens"` + ContextMode string `json:"context_mode"` + ContextWindowLines int `json:"context_window_lines"` + MaxContextTokens int `json:"max_context_tokens"` + LogPreviewLimit int `json:"log_preview_limit"` + + TriggerCharacters []string `json:"trigger_characters"` + Provider string `json:"provider"` // Provider-specific options OpenAIBaseURL string `json:"openai_base_url"` |
