summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2025-08-17 00:06:00 +0300
committerPaul Buetow <paul@buetow.org>2025-08-17 00:06:00 +0300
commitdc383b4faef881f3bb22816f42c53a79236a4152 (patch)
tree7c6a48487fc1d51fed72ea5d15618d133132cdaa /README.md
parent6a1d48036105e92193aef11a15a77a569eeb1562 (diff)
lsp/config: make completion trigger characters configurable
- Add trigger_characters to JSON config and ServerOptions - Store on server and advertise in initialize - Update README and example config - Preserve previous defaults when unset
Diffstat (limited to 'README.md')
-rw-r--r--README.md5
1 files changed, 2 insertions, 3 deletions
diff --git a/README.md b/README.md
index 9aeebca..07e916c 100644
--- a/README.md
+++ b/README.md
@@ -8,9 +8,7 @@ At the moment this project is only in the proof of PoC phase.
## LLM provider
-Hexai exposes a simple LLM provider interface. It supports OpenAI and a local
-Ollama server. Provider selection and models are configured via a JSON
-configuration file.
+Hexai exposes a simple LLM provider interface. It supports OpenAI and a local Ollama server. Provider selection and models are configured via a JSON configuration file.
### Selecting a provider
@@ -71,6 +69,7 @@ except for `OPENAI_API_KEY`.
"max_context_tokens": 4000,
"log_preview_limit": 100,
"no_disk_io": true,
+ "trigger_characters": [".", ":", "/", "_", ";"],
"provider": "ollama", // or "openai"
// OpenAI-only options
"openai_model": "gpt-4.1",