small-hackathon-trainer / .env.example
Lucas
Fix llama.cpp parser hang: compact prompt + minified JSON grammar
56f7955
Raw
History Blame Contribute Delete
852 Bytes
# Local development defaults.
HISTORY_STORE=local_json
LOCAL_HISTORY_PATH=data/completed_sessions.json
PARSER_BACKEND=ollama
OLLAMA_MODEL=qwen3:1.7B
# Private parser trace logs. These can include check-in text, so leave them off
# unless debugging parser failures.
PARSER_LOG_MESSAGES=0
PARSER_LOG_RESPONSES=0
PARSER_LOG_PARSED_JSON=0
# Hugging Face Space parser runtime.
# PARSER_BACKEND=llama_cpp
# LLAMA_CPP_MODEL_REPO=unsloth/Qwen3-1.7B-GGUF
# LLAMA_CPP_MODEL_FILE=Qwen3-1.7B-Q4_K_M.gguf
# LLAMA_CPP_MAX_TOKENS=512
# LLAMA_CPP_N_CTX=2048
# LLAMA_CPP_N_THREADS=8
# Optional Hugging Face Dataset storage.
# Keep real tokens in your local .env or Hugging Face Space secrets.
# HISTORY_STORE=hf_dataset
# HF_HISTORY_DATASET_REPO=your-username/training-coach-history
# HF_HISTORY_FILE=completed_sessions.json
# HF_HISTORY_PRIVATE=1
# HF_TOKEN=hf_...