This commit is contained in:
Mikan
2026-06-19 11:30:38 +03:00
parent 53c89829a8
commit 59b6262c70
5 changed files with 160 additions and 38 deletions

View File

@@ -20,6 +20,16 @@ DEFAULT_LLM_BASE_URL=http://host.docker.internal:1234/v1
DEFAULT_LLM_API_KEY=dummy
DEFAULT_LLM_MODEL=local-model
# === Default embeddings / RAG (overridable via admin panel) ===
# provider: "hash" (offline fallback, no semantic quality) or "openai" (real /embeddings endpoint).
# When provider=openai and base_url/api_key are empty, they fall back to the LLM settings above.
DEFAULT_EMBEDDING_PROVIDER=hash
DEFAULT_EMBEDDING_BASE_URL=
DEFAULT_EMBEDDING_API_KEY=
DEFAULT_EMBEDDING_MODEL=text-embedding-3-small
DEFAULT_EMBEDDING_DIM=0
DEFAULT_EMBEDDING_REQUEST_TIMEOUT=60
# === Frontend ===
VITE_API_URL=http://localhost:8000
FRONTEND_BUILD_TARGET=dev