In .env file there are ports and models defined like:
BACKEND_PORT=8000
FRONTEND_PORT=3000
RAG_API_PORT=8001
GENERATION_MODEL=qwen3:8b
ENRICHMENT_MODEL=qwen3:0.6b
EMBEDDING_MODEL=Qwen/Qwen3-Embedding-0.6B
RERANKER_MODEL=answerdotai/answerai-colbert-small-v1
However, these port numbers and model names are hardcoded in various places, e.g. in run_system.py or backend/server.py, instead of reading from environment variables. This is a huge burden when I want to change the ports or models without using Docker. Please read them from single place.
In .env file there are ports and models defined like:
However, these port numbers and model names are hardcoded in various places, e.g. in
run_system.pyorbackend/server.py, instead of reading from environment variables. This is a huge burden when I want to change the ports or models without using Docker. Please read them from single place.