Task model infrastructure for cheap LLM calls (auto-naming, search rewrite, tags, summaries) via a dedicated llama-server instance at TASK_MODEL_URL, falling back to LLAMA_SWAP_URL with FAST_MODEL when unset. Replaces the inline fetch in auto_name.ts with taskModelCompletion. Adds search query rewriting: on step 0 when web tools are enabled, the user's message is summarized into a search intent hint appended to the system prompt, improving web_search relevance. Schema: tasks table for provider dispatch and arena, sessions.tags column. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
27 lines
1.2 KiB
Plaintext
27 lines
1.2 KiB
Plaintext
NODE_ENV=production
|
|
PORT=3000
|
|
DATABASE_URL=postgres://boocode:CHANGE_ME@boocode_db:5432/boochat
|
|
LLAMA_SWAP_URL=http://100.101.41.16:8401
|
|
PROJECT_ROOT_WHITELIST=/opt
|
|
BOOTSTRAP_ROOT=/opt/projects
|
|
DEFAULT_MODEL=qwen3.6-35b-a3b-mxfp4
|
|
POSTGRES_PASSWORD=CHANGE_ME
|
|
# v1.11.8: SearXNG JSON endpoint for the web_search / web_fetch tools.
|
|
# Internal Tailscale address that bypasses Authelia. Override if you
|
|
# point BooCode at a different SearXNG instance.
|
|
SEARXNG_URL=http://100.114.205.53:8888
|
|
|
|
# Task model: lightweight model for auto-naming, search rewrite, etc.
|
|
# Direct llama-server instance (NOT llama-swap). Falls back to LLAMA_SWAP_URL
|
|
# with FAST_MODEL when unset.
|
|
# TASK_MODEL_URL=http://100.90.172.55:7995
|
|
|
|
# v1.13.15-tools: BOOCODE_TOOLS narrows the tool whitelist sent to the LLM.
|
|
# Unset (default) → all tools (~21k schema). Useful primarily for single-purpose
|
|
# sessions where the model only needs read-only filesystem access.
|
|
#
|
|
# core → view_file, list_dir, grep, find_files (~2k)
|
|
# standard → core + web_*, git_status, all 8 codecontext_* tools (~10k)
|
|
# all → every tool in ALL_TOOLS (~21k)
|
|
# BOOCODE_TOOLS=all
|