From d75735ecb06a8824b5e307379f221876e3185a80 Mon Sep 17 00:00:00 2001 From: martin legrand Date: Mon, 7 Apr 2025 16:56:36 +0200 Subject: [PATCH] readme update & tests add --- README.md | 3 ++- sources/browser.py | 2 +- sources/router.py | 1 + tests/test_browser_agent_parsing.py | 4 ++-- 4 files changed, 6 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index b6fe8df..ff86bcc 100644 --- a/README.md +++ b/README.md @@ -4,12 +4,13 @@ -------------------------------------------------------------------------------- English | [中文](./README_CHS.md) | [繁體中文](./README_CHT.md) | [Français](./README_FR.md) + # AgenticSeek: Manus-like AI powered by Deepseek R1 Agents. **A fully local alternative to Manus AI**, a voice-enabled AI assistant that codes, explores your filesystem, browse the web and correct it's mistakes all without sending a byte of data to the cloud. Built with reasoning models like DeepSeek R1, this autonomous agent runs entirely on your hardware, keeping your data private. -[![Visit AgenticSeek](https://img.shields.io/static/v1?label=Website&message=AgenticSeek&color=blue&style=flat-square)](https://fosowl.github.io/agenticSeek.html) ![License](https://img.shields.io/badge/license-GPL--3.0-green) [![Discord](https://img.shields.io/badge/Discord-Join%20Us-7289DA?logo=discord&logoColor=white)](https://discord.gg/4Ub2D6Fj) +[![Visit AgenticSeek](https://img.shields.io/static/v1?label=Website&message=AgenticSeek&color=blue&style=flat-square)](https://fosowl.github.io/agenticSeek.html) ![License](https://img.shields.io/badge/license-GPL--3.0-green) [![Discord](https://img.shields.io/badge/Discord-Join%20Us-7289DA?logo=discord&logoColor=white)](https://discord.gg/4Ub2D6Fj) [![Twitter](https://img.shields.io/twitter/url/https/twitter.com/fosowl.svg?style=social&label=Update%20%40Fosowl)](https://x.com/Martin993886460) > 🛠️ **Work in Progress** – Looking for contributors! diff --git a/sources/browser.py b/sources/browser.py index 76c402d..d2bb30c 100644 --- a/sources/browser.py +++ b/sources/browser.py @@ -459,8 +459,8 @@ if __name__ == "__main__": #browser.go_to("https://github.com/Fosowl/agenticSeek") #txt = browser.get_text() #print(txt) - #time.sleep(10) #browser.go_to("https://practicetestautomation.com/practice-test-login/") + time.sleep(10) print("AntiCaptcha / Form Test") browser.go_to("https://www.google.com/recaptcha/api2/demo") inputs = browser.get_form_inputs() diff --git a/sources/router.py b/sources/router.py index 266e9fb..5681404 100644 --- a/sources/router.py +++ b/sources/router.py @@ -212,6 +212,7 @@ class AgentRouter: ("Hi, how’s your day going?", "talk"), ("Can you find a file called resume.docx on my drive?", "files"), ("Write a simple Java program to print 'Hello World'", "code"), + ("can you find the current stock of Tesla?", "web"), ("Tell me a quick joke", "talk"), ("Search online for the best coffee shops in Seattle", "web"), ("Check if ‘project_plan.pdf’ exists in my Downloads folder", "files"), diff --git a/tests/test_browser_agent_parsing.py b/tests/test_browser_agent_parsing.py index 6ec763c..8035d4e 100644 --- a/tests/test_browser_agent_parsing.py +++ b/tests/test_browser_agent_parsing.py @@ -16,11 +16,11 @@ class TestBrowserAgentParsing(unittest.TestCase): def test_extract_links(self): # Test various link formats test_text = """ - Check this out: https://example.com, and www.google.com! + Check this out: https://thriveonai.com/15-ai-startups-in-japan-to-take-note-of, and www.google.com! Also try https://test.org/about?page=1. """ expected = [ - "https://example.com", + "https://thriveonai.com/15-ai-startups-in-japan-to-take-note-of", "www.google.com", "https://test.org/about?page=1" ]