Rules/model-config.json

{
    "default": {
        "provider": "github",
        "comment": "Start with free GitHub Models for testing. Change to 'azure' or 'anthropic' for production."
    },
    "providers": {
        "github": {
            "type": "github",
            "endpoint": "https://models.inference.ai.azure.com/chat/completions",
            "model": "gpt-4o",
            "auth_type": "bearer",
            "api_key_variable": "GITHUB_TOKEN",
            "max_tokens": 4000,
            "temperature": 0.1
        },
        "azure": {
            "type": "azure",
            "endpoint": "https://ifactoai.openai.azure.com",
            "deployment": "gpt-5.2-chat",
            "api_version": "2024-10-01-preview",
            "auth_type": "api-key",
            "api_key_variable": "AZURE_AI_API_KEY",
            "max_tokens": 4000,
            "temperature": 0.1,
            "comment": "iFacto Azure OpenAI endpoint"
        },
        "anthropic": {
            "type": "anthropic",
            "endpoint": "https://api.anthropic.com/v1/messages",
            "model": "claude-3-5-sonnet-20241022",
            "auth_type": "api-key",
            "api_key_variable": "ANTHROPIC_API_KEY",
            "max_tokens": 4000,
            "temperature": 0.1
        },
        "openai": {
            "type": "openai",
            "endpoint": "https://api.openai.com/v1/chat/completions",
            "model": "gpt-4o",
            "auth_type": "bearer",
            "api_key_variable": "OPENAI_API_KEY",
            "max_tokens": 4000,
            "temperature": 0.1
        }
    },
    "cost_tracking": {
        "enabled": true,
        "max_cost_per_review": 5.0,
        "comment": "Cost tracking is informational only in Phase 1"
    }
}