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. --- IDEAS.md | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) (limited to 'IDEAS.md') diff --git a/IDEAS.md b/IDEAS.md index de47d6e..d7ef0d0 100644 --- a/IDEAS.md +++ b/IDEAS.md @@ -15,6 +15,7 @@ ### New features +* [ ] Use hexai as a gh copilot... CLI replacemant for command line questions * [ ] Resolve diagnostics code action feature * [X] LSP server to be used with the Helix text editor * [X] Code completion using LLMs @@ -64,15 +65,5 @@ command = "hexai" ## Prompting -* Write a new function: `` -* In-place code add: `` - -# Summary: -# - Refactor and modularize code, add unit tests -# - Address TODOs and improve diagnostics/code actions -# - Integrate LLM-based code/text completion, code generation, and inline chat -# - Support multiple LLMs (Ollama, OpenAI, Claude, Gemini) -# - Enable code block actions (commenting, refactoring) -# - Provide Helix LSP server integration and usage notes -# - Facilitate prompting for code generation and actions:w - +* Write a new function: `;Implement a function that adds two numbers;` +* Replace a whole line: `some other text here ;Implement a function that adds two numbers;` -- cgit v1.2.3