From 765eda955eb811d08d867ff4d3914fc6d60c22dd Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Sat, 16 Aug 2025 23:16:54 +0300 Subject: refactor(config): drop env-based config (except OPENAI_API_KEY) - Switch to config-file-only; only OPENAI_API_KEY read from env.\n- llm: replace env autodetect with Config + NewFromConfig; add newOpenAI/newOllama.\n- lsp: NewServer now accepts injected llm.Client.\n- cli: remove env overrides; extend appConfig with provider-specific fields; build client from config + OPENAI_API_KEY.\n- docs: update README (config-only, defaults to OpenAI, minimal example); simplify flags table.\n- add config.json.example.\n- prompts: enforce ;text; (no spaces) and add ;;text; to remove entire line; tests added. --- .gitignore | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) (limited to '.gitignore') diff --git a/.gitignore b/.gitignore index 237ce54..f73b447 100644 --- a/.gitignore +++ b/.gitignore @@ -1,17 +1 @@ -# Build artifacts and caches -bin/ -.gocache/ -.gomodcache/ - -# Local binaries and logs -hexai -*.log - -# OS/editor files -.DS_Store -Thumbs.db -*.swp -*.swo -.idea/ -.vscode/ - +./hexai -- cgit v1.2.3