mirror of
https://git.mirrors.martin98.com/https://github.com/mendableai/firecrawl
synced 2025-08-11 03:19:00 +08:00
Add AgentOps Monitoring
This commit is contained in:
parent
8a4f4cb9d9
commit
e3e8375c7d
@ -3,6 +3,7 @@ from firecrawl import FirecrawlApp
|
|||||||
import json
|
import json
|
||||||
from dotenv import load_dotenv
|
from dotenv import load_dotenv
|
||||||
import anthropic
|
import anthropic
|
||||||
|
import agentops
|
||||||
|
|
||||||
# ANSI color codes
|
# ANSI color codes
|
||||||
class Colors:
|
class Colors:
|
||||||
@ -161,4 +162,5 @@ def main():
|
|||||||
print(f"{Colors.RED}No relevant pages identified. Consider refining the search parameters or trying a different website.{Colors.RESET}")
|
print(f"{Colors.RED}No relevant pages identified. Consider refining the search parameters or trying a different website.{Colors.RESET}")
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
|
agentops.init(os.getenv("AGENTOPS_API_KEY"))
|
||||||
main()
|
main()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user