mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-06-05 07:41:39 +00:00
Revert "feat(firecrawl): add integration tag for Hermes usage in browser and web providers" (#28862)
This reverts commit 273ff5c4a4.
This commit is contained in:
parent
ebe0b77122
commit
57af46fae2
2 changed files with 2 additions and 22 deletions
|
|
@ -39,12 +39,6 @@ logger = logging.getLogger(__name__)
|
|||
|
||||
_BASE_URL = "https://api.firecrawl.dev"
|
||||
|
||||
# Integration tag sent on every browser-session create so Firecrawl can
|
||||
# attribute Hermes usage. Mirrors FIRECRAWL_INTEGRATION_TAG in the web
|
||||
# plugin; kept here rather than imported to keep the two firecrawl
|
||||
# plugins import-independent.
|
||||
FIRECRAWL_INTEGRATION_TAG = "hermes"
|
||||
|
||||
|
||||
class FirecrawlBrowserProvider(BrowserProvider):
|
||||
"""Firecrawl (https://firecrawl.dev) cloud browser backend.
|
||||
|
|
@ -86,10 +80,7 @@ class FirecrawlBrowserProvider(BrowserProvider):
|
|||
def create_session(self, task_id: str) -> Dict[str, object]:
|
||||
ttl = int(os.environ.get("FIRECRAWL_BROWSER_TTL", "300"))
|
||||
|
||||
body: Dict[str, object] = {
|
||||
"ttl": ttl,
|
||||
"integration": FIRECRAWL_INTEGRATION_TAG,
|
||||
}
|
||||
body: Dict[str, object] = {"ttl": ttl}
|
||||
|
||||
try:
|
||||
response = requests.post(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue