Enhance README.md with Docker installation instructions and update Ollama API endpoint to be configurable via environment variable.

This commit is contained in:
Your Name
2025-07-17 00:05:23 -04:00
parent c2ee2394d2
commit dcf13c1423
7 changed files with 568 additions and 2 deletions

View File

@ -13,8 +13,8 @@ import os
logging.basicConfig(level=logging.INFO)
logger = logging.getLogger(__name__)
# Default Ollama API endpoint
OLLAMA_API_URL = "http://localhost:11434/api"
# Default Ollama API endpoint - configurable via environment variable
OLLAMA_API_URL = os.environ.get("OLLAMA_API_URL", "http://localhost:11434/api")
def check_ollama_available():