From c83acd3f5749fe240464283a43f8b03797a1b544 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Sun, 17 Aug 2025 22:46:25 +0300 Subject: refactor as per manual code reviews --- internal/appconfig/config.go | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'internal/appconfig') 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"` -- cgit v1.2.3