Commit Graph

3 Commits

Author SHA1 Message Date
mrhavens c711cf0156 fix: Agent/workflow bugs - CrewAI config, AutoGen revision
Team 2: Agent & Workflow Repair Crew

Fixed:
- #5: CrewAI LLM factory now properly uses provider/model params
  - Supports openai, anthropic, and minimax
  - Raises error for unknown providers instead of silently using OpenAI
  - Validates API keys are present

- #2: AutoGen critique now actually revises chapters
  - iterate_chapter() now applies revision suggestions
  - Uses Writer agent to revise based on critique feedback
  - Returns revised_content in the result
2026-03-13 18:15:24 +00:00
mrhavens 8e92e99205 Fix: Remove hardcoded paths - now fully standalone
- Changed all load_dotenv() calls to use relative path (just load_dotenv())
- No OpenClaw dependencies
- Works anywhere after pip install
2026-03-13 04:34:22 +00:00
mrhavens 4b8ae306e6 Add CrewAI integration + CLI for standalone running
- OpusCrew base class with CrewAI LLM integration
- FictionCrew: Writer, Editor, Proofreader agents
- NonfictionCrew: Researcher, Writer, Fact-Checker, Editor agents
- CLI entry point: python -m opus_orchestrator
- Commands: generate, frameworks, config
- Test: generated 282-word story with CrewAI crews

Usage:
    python -m opus_orchestrator generate --concept 'Your idea' --use-crewai
    python -m opus_orchestrator frameworks
    python -m opus_orchestrator config
2026-03-13 02:53:52 +00:00