Fixed: Now listens to model selection in job.json file

main
PeninsulaInd 2025-10-22 16:03:44 -05:00
parent a8393cdd96
commit 3649e88f44
3 changed files with 29 additions and 3 deletions

28
.gitignore vendored
View File

@ -19,4 +19,30 @@ __pycache__/
*.xlsx
# Debug output
debug_output/
debug_output/
# Generated content and temporary files
*.json
*.html
*.txt
*.backup
*.backup_before_fresh_start
# Generated databases
content_automation.db*
# Generated job files
jobs/*.json
# Generated content files
*_project*.html
*_project*.json
*_project*.txt
outline_*.json
outline_raw_*.txt
title_*.txt
content_*.html
augmented_*.html
# Temporary files
temp_*

View File

@ -208,7 +208,7 @@ uv run python main.py generate-batch \
--model gpt-4o-mini
```
Available models: `gpt-4o-mini`, `claude-sonnet-4.5`
Available models: `gpt-4o-mini`, `claude-sonnet-4.5`, - anything at openrouter
**Note:** If your job file contains a `models` config, it will override the `--model` flag and use different models for title, outline, and content generation stages.

View File

@ -4,7 +4,7 @@ DATABASE_URL=sqlite:///./content_automation.db
# AI Service Configuration (OpenRouter)
OPENROUTER_API_KEY=your_openrouter_api_key_here
AI_API_BASE_URL=https://openrouter.ai/api/v1
AI_MODEL=anthropic/claude-3.5-sonnet
# AWS S3 Configuration
AWS_ACCESS_KEY_ID=your_aws_access_key_here