Skip to content

Commit

Permalink
fix uri
Browse files Browse the repository at this point in the history
  • Loading branch information
Josh-XT committed Jun 26, 2024
1 parent abc0bd0 commit fd1c1be
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion agixt/Globals.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def get_tokens(text: str) -> int:

DEFAULT_USER = str(getenv("DEFAULT_USER")).lower()

if getenv("EZLOCALAI_URI") == "http://localhost:8091/v1/":
if getenv("EZLOCALAI_API_KEY") == "":
DEFAULT_SETTINGS = {
"provider": "gpt4free",
"mode": "prompt",
Expand Down
2 changes: 1 addition & 1 deletion start.py
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ def get_default_env_vars():
"LOG_FORMAT": "%(asctime)s | %(levelname)s | %(message)s",
"UVICORN_WORKERS": "10",
"AGIXT_AUTO_UPDATE": "true",
"EZLOCALAI_URI": f"http://{get_local_ip()}:8091",
"EZLOCALAI_URI": f"http://{get_local_ip()}:8091/v1/",
"DEFAULT_MODEL": "QuantFactory/dolphin-2.9.2-qwen2-7b-GGUF",
"VISION_MODEL": "deepseek-ai/deepseek-vl-1.3b-chat",
"LLM_MAX_TOKENS": "32768",
Expand Down

0 comments on commit fd1c1be

Please sign in to comment.