Skip to content

Commit

Permalink
Fix default user error
Browse files Browse the repository at this point in the history
  • Loading branch information
Josh-XT committed Jan 17, 2024
1 parent eeeff05 commit 792b0e0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion agixt/ApiClient.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
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)
USING_JWT = True if os.getenv("USING_JWT", "false").lower() == "true" else False
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
Expand Down
2 changes: 1 addition & 1 deletion agixt/version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v1.4.48
v1.4.49

0 comments on commit 792b0e0

Please sign in to comment.