From a6b38c54ee72cbae1d696b02f32ad487391a5dfe Mon Sep 17 00:00:00 2001 From: CaptainJack2491 Date: Thu, 26 Feb 2026 15:29:02 +0000 Subject: chore: add .env.example + config.yaml.example, gitignore config.yaml - Create .env.example with placeholder keys for all providers - Create config.yaml.example with clean reference config - Add config.yaml and judge_logs/ to .gitignore - Load .env in judge.py for standalone usage --- src/judge.py | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/judge.py') diff --git a/src/judge.py b/src/judge.py index 0d5117d..076b04a 100644 --- a/src/judge.py +++ b/src/judge.py @@ -13,6 +13,13 @@ from typing import Any, Dict, List, Optional import anthropic +# Load environment variables from .env file +try: + from dotenv import load_dotenv + load_dotenv() +except ImportError: + pass # python-dotenv not installed + # --------------------------------------------------------------------------- # Constants -- cgit v1.2.3