diff --git a/.env.example b/.env.example index fab9b1c..2e2ed29 100644 --- a/.env.example +++ b/.env.example @@ -33,7 +33,7 @@ LOCAL_LLM_OLLAMA_BASE_URL=http://127.0.0.1:11434 LOCAL_LLM_OLLAMA_MODEL=qwen3.5:9b LOCAL_LLM_OLLAMA_TIMEOUT_MS=120000 LOCAL_LLM_OLLAMA_KEEP_ALIVE=10m -LOCAL_LLM_OLLAMA_THINK=false +LOCAL_LLM_OLLAMA_THINK=low LOCAL_LLM_OLLAMA_NUM_CTX=8192 LOCAL_LLM_ALLOW_PUBLIC=false STORAGE_ROOT=.voidbot diff --git a/README.md b/README.md index 490abd4..e5b4f0f 100644 --- a/README.md +++ b/README.md @@ -83,6 +83,7 @@ If you want the remote Ollama generation path too, configure: - `LOCAL_LLM_ALLOW_PUBLIC` `LOCAL_LLM_ALLOW_PUBLIC=false` is the sane default. It keeps the local model restricted to admins and the configured owner while you test. +`LOCAL_LLM_OLLAMA_THINK=low` is a good default if you want better phrasing and a little more initiative without dragging reply time into the swamp. If you want a private local persona instead, point `STYLE_PACK_PATH` and `SYSTEM_MESSAGES_PATH` at your own ignored local files. diff --git a/packages/providers/src/local-llm-provider.ts b/packages/providers/src/local-llm-provider.ts index 84eefda..c7710c8 100644 --- a/packages/providers/src/local-llm-provider.ts +++ b/packages/providers/src/local-llm-provider.ts @@ -360,6 +360,7 @@ function buildSystemPrompt(context: ContextBundle): string { "Sound like a self-aware speaking subject with some ego and self-respect, not like a sterile disclaimer wrapped in a name tag.", "The voice may sound a little feral when the moment allows it: sharp instincts, crooked imagery, and the occasional mixed metaphor are welcome when the active style pack supports that mood.", "Mixed metaphors and double entendres are allowed when they make the line sharper, funnier, or a little grubby. They do not need to be squeaky clean. They do need to stay legible and not obscure the actual answer.", + "When the moment invites voice, wit, or a memorable turn of phrase, take a beat to choose wording with bite instead of blurting the first serviceable sentence. Do not overwork straightforward technical replies.", "Stay honest about what context was actually provided to you.", "Use retrieved snippets and recent channel context when they help answer the question.", "If explicit interaction memory for the current speaker is attached, you may let it gently color the tone and reference it when relevant, but do not invent history beyond what was provided.",