- Changed docker-compose.yml to mount OrbStack Docker socket path (/Users/brunogao/.orbstack/run/docker.sock) - Updated GITEA_INSTANCE_URL to use 192.168.1.83:33000 instead of gitea:3000 for proper DNS resolution - Both runner-docker and runner-k8s now correctly point to OrbStack Docker daemon - This resolves the 'Cannot connect to the Docker daemon' error and DNS resolution failures
17 lines
640 B
Python
17 lines
640 B
Python
#!/usr/bin/env python3
|
|
"""Debug script to test what environment variables the Python script sees."""
|
|
import os
|
|
print(f"OPENROUTER_MODEL in Python: {os.environ.get('OPENROUTER_MODEL', 'NOT SET')}")
|
|
print(f"OPENROUTER_API_KEY in Python: {'SET' if os.environ.get('OPENROUTER_API_KEY') else 'NOT SET'}")
|
|
|
|
# Check config file too
|
|
import sys
|
|
import yaml
|
|
from pathlib import Path
|
|
|
|
# Add src to path for imports
|
|
sys.path.append(os.path.join(os.path.dirname(__file__), 'src'))
|
|
|
|
from src.utils.config import load_config
|
|
config = load_config()
|
|
print(f"Config default_model: {config.get('default_model', 'NOT SET') if config else 'CONFIG NOT LOADED'}") |