Skip to content

Commit

Permalink
improve web scraping extension (#1286)
Browse files Browse the repository at this point in the history
  • Loading branch information
Josh-XT authored Nov 29, 2024
1 parent 618d380 commit 46babb5
Show file tree
Hide file tree
Showing 3 changed files with 818 additions and 120 deletions.
6 changes: 6 additions & 0 deletions agixt/Globals.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,5 +173,11 @@ def get_agixt_training_urls():
]


def get_output_url(path: str):
agixt_uri = getenv("AGIXT_URI")
new_path = path.split("/WORKSPACE/")[-1]
return f"{agixt_uri}/{new_path}"


DEFAULT_USER = str(getenv("DEFAULT_USER")).lower()
DEFAULT_SETTINGS = get_default_agent_settings()
120 changes: 0 additions & 120 deletions agixt/extensions/web_playwright.py

This file was deleted.

Loading

0 comments on commit 46babb5

Please sign in to comment.