40 lines
937 B
Bash
40 lines
937 B
Bash
# AI Answers Plugin — Dev Server Config
|
|
# Copy this to .env and fill in your values
|
|
# .env is gitignored and never committed
|
|
|
|
# Ollama endpoint (required)
|
|
LLM_URL=http://localhost:11434/v1/chat/completions
|
|
|
|
# Default model
|
|
LLM_MODEL=qwen3.5:9b
|
|
|
|
# Max response tokens
|
|
LLM_MAX_TOKENS=200
|
|
|
|
# Response temperature (0.0 - 2.0)
|
|
LLM_TEMPERATURE=0.2
|
|
|
|
# Bearer token for authenticated LLM endpoints
|
|
# Leave empty if no Bearer token is needed for your server
|
|
LLM_API_KEY=
|
|
|
|
# Live SearXNG instance for real search results
|
|
# Leave empty to use mock results
|
|
SEARXNG_URL=
|
|
|
|
# Valkey for streaming (required)
|
|
# Start with: docker run -d --name dev-valkey -p 6379:6379 valkey/valkey:9-alpine
|
|
VALKEY_HOST=localhost
|
|
VALKEY_PORT=6379
|
|
|
|
# Dev server host and port
|
|
DEV_HOST=127.0.0.1
|
|
DEV_PORT=5000
|
|
|
|
# Plugin settings
|
|
LLM_INTERACTIVE=true
|
|
LLM_QUESTION_MARK_REQUIRED=false
|
|
LLM_TABS=general,science,it,news
|
|
LLM_CONTEXT_DEEP_COUNT=5
|
|
LLM_CONTEXT_SHALLOW_COUNT=15
|