mirror of
				https://github.com/mendableai/firecrawl.git
				synced 2025-10-31 10:02:55 +00: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
	 Eric Ciarla
						Eric Ciarla