From 21b16cf96bc4456ca4470f179a1f5f3dd9376189 Mon Sep 17 00:00:00 2001 From: Davor Runje Date: Thu, 21 Nov 2024 13:01:18 +0000 Subject: [PATCH] fixes --- fastagency/__about__.py | 2 +- pyproject.toml | 13 +------------ scripts/build-docs-pre-commit.sh | 2 +- scripts/lint-pre-commit.sh | 2 +- scripts/test-no-llm-pre-commit.sh | 2 +- 5 files changed, 5 insertions(+), 16 deletions(-) diff --git a/fastagency/__about__.py b/fastagency/__about__.py index 9fbdc3e7f..85f5ddc6e 100644 --- a/fastagency/__about__.py +++ b/fastagency/__about__.py @@ -1,3 +1,3 @@ """The fastest way to bring multi-agent workflows to production.""" -__version__ = "0.3.4" +__version__ = "0.4.0-dev0" diff --git a/pyproject.toml b/pyproject.toml index fa4f79eaa..bfd1ecf62 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -61,7 +61,7 @@ autogen-04dev = [ ] ag2 = [ - "ag2[anthropic,together]>=0.3.0,<0.4", + "ag2[anthropic,together,websurfer]>=0.3.0,<0.4", "together>=1.2.11,<1.3", # ToDo: together 1.3.0 has issues with our dev dependencies "markdownify==0.13.1", # Needed by autogen.WebSurferAgent but not included ] @@ -158,12 +158,6 @@ testing = [ ] -dev-autogen = [ - "fastagency[autogen,submodules,lint,testing,devdocs]", - "pre-commit==4.0.1", - "detect-secrets==1.5.0", -] - dev-ag2 = [ "fastagency[ag2,submodules,lint,testing,devdocs]", "pre-commit==4.0.1", @@ -176,11 +170,6 @@ dev-autogen-04dev = [ "detect-secrets==1.5.0", ] -dev = [ - "fastagency[dev-autogen]", -] - - [project.urls] Homepage = "https://github.com/airtai/fastagency" Documentation = "https://fastagency.ai/latest/" diff --git a/scripts/build-docs-pre-commit.sh b/scripts/build-docs-pre-commit.sh index 23ac81cea..c189c4fb0 100755 --- a/scripts/build-docs-pre-commit.sh +++ b/scripts/build-docs-pre-commit.sh @@ -15,7 +15,7 @@ cd "$(dirname "$0")"/.. # In my case, I need to use a custom index URL. # Avoid pip spending time quietly retrying since # likely cause of failure is lack of VPN connection. -pip install --editable ".[dev]" \ +pip install --editable ".[dev-ag2]" \ --retries 1 \ --no-input \ --quiet diff --git a/scripts/lint-pre-commit.sh b/scripts/lint-pre-commit.sh index 37747f312..8ec2ca29c 100755 --- a/scripts/lint-pre-commit.sh +++ b/scripts/lint-pre-commit.sh @@ -15,7 +15,7 @@ cd "$(dirname "$0")"/.. # In my case, I need to use a custom index URL. # Avoid pip spending time quietly retrying since # likely cause of failure is lack of VPN connection. -pip install --editable ".[dev]" \ +pip install --editable ".[dev-ag2]" \ --retries 1 \ --no-input \ --quiet diff --git a/scripts/test-no-llm-pre-commit.sh b/scripts/test-no-llm-pre-commit.sh index c86add112..56bc276fe 100755 --- a/scripts/test-no-llm-pre-commit.sh +++ b/scripts/test-no-llm-pre-commit.sh @@ -15,7 +15,7 @@ cd "$(dirname "$0")"/.. # In my case, I need to use a custom index URL. # Avoid pip spending time quietly retrying since # likely cause of failure is lack of VPN connection. -pip install --editable ".[dev]" \ +pip install --editable ".[dev-ag2]" \ --retries 1 \ --no-input \ --quiet