diff --git a/agixt/ApiClient.py b/agixt/ApiClient.py index 642c0d4d559e..1f290cd475e0 100644 --- a/agixt/ApiClient.py +++ b/agixt/ApiClient.py @@ -3,7 +3,6 @@ from agixtsdk import AGiXTSDK from dotenv import load_dotenv from fastapi import Header, HTTPException -from Defaults import DEFAULT_USER load_dotenv() AGIXT_API_KEY = os.getenv("AGIXT_API_KEY", None) @@ -11,6 +10,7 @@ DB_CONNECTED = True if os.getenv("DB_CONNECTED", "false").lower() == "true" else False WORKERS = int(os.getenv("UVICORN_WORKERS", 10)) ApiClient = AGiXTSDK(base_uri="http://localhost:7437", api_key=AGIXT_API_KEY) +DEFAULT_USER = os.getenv("DEFAULT_USER", "USER") # Defining these here to be referenced externally. if DB_CONNECTED: from db.Agent import Agent, add_agent, delete_agent, rename_agent, get_agents diff --git a/agixt/version b/agixt/version index 5ff01e727a2b..1be99683d9d3 100644 --- a/agixt/version +++ b/agixt/version @@ -1 +1 @@ -v1.4.48 \ No newline at end of file +v1.4.49 \ No newline at end of file