diff --git a/opus_orchestrator/autogen_critique.py b/opus_orchestrator/autogen_critique.py index 72211a6..df0e319 100644 --- a/opus_orchestrator/autogen_critique.py +++ b/opus_orchestrator/autogen_critique.py @@ -9,7 +9,7 @@ from typing import Any, Optional from dotenv import load_dotenv -load_dotenv("/home/solaria/.openclaw/workspace/opus-orchestrator-ai/.env") +load_dotenv() from autogen import ConversableAgent, GroupChat, GroupChatManager diff --git a/opus_orchestrator/crews/base_crew.py b/opus_orchestrator/crews/base_crew.py index 5208a3c..50bf9ee 100644 --- a/opus_orchestrator/crews/base_crew.py +++ b/opus_orchestrator/crews/base_crew.py @@ -9,7 +9,7 @@ from typing import Any, Optional from crewai import Agent, Crew, LLM, Process, Task from dotenv import load_dotenv -load_dotenv("/home/solaria/.openclaw/workspace/opus-orchestrator-ai/.env") +load_dotenv() from opus_orchestrator.config import get_config diff --git a/opus_orchestrator/crews/fiction_crew.py b/opus_orchestrator/crews/fiction_crew.py index 5e5fa14..aaac191 100644 --- a/opus_orchestrator/crews/fiction_crew.py +++ b/opus_orchestrator/crews/fiction_crew.py @@ -8,7 +8,7 @@ from typing import Any, Optional from crewai import Agent, Process from dotenv import load_dotenv -load_dotenv("/home/solaria/.openclaw/workspace/opus-orchestrator-ai/.env") +load_dotenv() from opus_orchestrator.crews.base_crew import OpusCrew from opus_orchestrator.config import get_config diff --git a/opus_orchestrator/crews/nonfiction_crew.py b/opus_orchestrator/crews/nonfiction_crew.py index e3ad291..f4c47fb 100644 --- a/opus_orchestrator/crews/nonfiction_crew.py +++ b/opus_orchestrator/crews/nonfiction_crew.py @@ -8,7 +8,7 @@ from typing import Any, Optional from crewai import Agent, Process from dotenv import load_dotenv -load_dotenv("/home/solaria/.openclaw/workspace/opus-orchestrator-ai/.env") +load_dotenv() from opus_orchestrator.crews.base_crew import OpusCrew from opus_orchestrator.config import get_config diff --git a/opus_orchestrator/langgraph_workflow.py b/opus_orchestrator/langgraph_workflow.py index c722c7a..ab283b3 100644 --- a/opus_orchestrator/langgraph_workflow.py +++ b/opus_orchestrator/langgraph_workflow.py @@ -16,7 +16,7 @@ from typing import Any, Optional from dotenv import load_dotenv -load_dotenv("/home/solaria/.openclaw/workspace/opus-orchestrator-ai/.env") +load_dotenv() from pydantic import BaseModel, Field, ConfigDict from enum import Enum diff --git a/opus_orchestrator/orchestrator.py b/opus_orchestrator/orchestrator.py index e8e2adf..82ca4dd 100644 --- a/opus_orchestrator/orchestrator.py +++ b/opus_orchestrator/orchestrator.py @@ -10,7 +10,7 @@ from typing import Any, Optional from dotenv import load_dotenv -load_dotenv("/home/solaria/.openclaw/workspace/opus-orchestrator-ai/.env") +load_dotenv() from opus_orchestrator.agents.fiction import ( ArchitectAgent, diff --git a/opus_orchestrator/pydanticai_agent.py b/opus_orchestrator/pydanticai_agent.py index 97384f0..dde2b1b 100644 --- a/opus_orchestrator/pydanticai_agent.py +++ b/opus_orchestrator/pydanticai_agent.py @@ -10,7 +10,7 @@ from pydantic import BaseModel from pydantic_ai import Agent from dotenv import load_dotenv -load_dotenv("/home/solaria/.openclaw/workspace/opus-orchestrator-ai/.env") +load_dotenv() from opus_orchestrator.config import get_config diff --git a/opus_orchestrator/server.py b/opus_orchestrator/server.py index 42e06c1..b8f8043 100644 --- a/opus_orchestrator/server.py +++ b/opus_orchestrator/server.py @@ -12,7 +12,7 @@ from fastapi.responses import JSONResponse, RedirectResponse from pydantic import BaseModel, Field from dotenv import load_dotenv -load_dotenv("/home/solaria/.openclaw/workspace/opus-orchestrator-ai/.env") +load_dotenv() from opus_orchestrator.config import get_config from opus_orchestrator import run_opus, OpusOrchestrator diff --git a/opus_orchestrator/utils/github_ingest.py b/opus_orchestrator/utils/github_ingest.py index 1ad6400..3aca5af 100644 --- a/opus_orchestrator/utils/github_ingest.py +++ b/opus_orchestrator/utils/github_ingest.py @@ -11,7 +11,7 @@ from typing import Any, Optional import requests from dotenv import load_dotenv -load_dotenv("/home/solaria/.openclaw/workspace/opus-orchestrator-ai/.env") +load_dotenv() class GitHubIngestor: diff --git a/opus_orchestrator/utils/s3_ingest.py b/opus_orchestrator/utils/s3_ingest.py index dfb8293..125606f 100644 --- a/opus_orchestrator/utils/s3_ingest.py +++ b/opus_orchestrator/utils/s3_ingest.py @@ -12,7 +12,7 @@ import boto3 from botocore.exceptions import ClientError, NoCredentialsError from dotenv import load_dotenv -load_dotenv("/home/solaria/.openclaw/workspace/opus-orchestrator-ai/.env") +load_dotenv() class S3Ingestor: diff --git a/opus_orchestrator/web_ui.py b/opus_orchestrator/web_ui.py index 71a3f3d..ebbf356 100644 --- a/opus_orchestrator/web_ui.py +++ b/opus_orchestrator/web_ui.py @@ -14,7 +14,7 @@ from fastapi.staticfiles import StaticFiles from fastapi.templating import Jinja2Templates from dotenv import load_dotenv -load_dotenv("/home/solaria/.openclaw/workspace/opus-orchestrator-ai/.env") +load_dotenv() # HTML Template for the UI