From be23f2ed6b962cd45dd5e7d22c73cde94a4a8262 Mon Sep 17 00:00:00 2001 From: Adil Hafeez Date: Wed, 7 Jan 2026 12:13:35 -0800 Subject: [PATCH] release 0.4.2 --- .github/workflows/e2e_plano_tests.yml | 2 +- .github/workflows/e2e_test_currency_convert.yml | 2 +- .github/workflows/e2e_test_preference_based_routing.yml | 2 +- .github/workflows/validate_arch_config.yml | 2 +- build_filter_image.sh | 2 +- cli/planoai/__init__.py | 2 +- cli/planoai/consts.py | 2 +- cli/pyproject.toml | 2 +- config/validate_plano_config.sh | 2 +- demos/use_cases/README.md | 2 +- .../use_cases/model_choice_with_test_harness/pyproject.toml | 2 +- demos/use_cases/preference_based_routing/README.md | 4 ++-- docs/source/conf.py | 2 +- docs/source/get_started/quickstart.rst | 6 +++--- docs/source/resources/deployment.rst | 2 +- 15 files changed, 18 insertions(+), 18 deletions(-) diff --git a/.github/workflows/e2e_plano_tests.yml b/.github/workflows/e2e_plano_tests.yml index 4039e170..fe7f6420 100644 --- a/.github/workflows/e2e_plano_tests.yml +++ b/.github/workflows/e2e_plano_tests.yml @@ -30,7 +30,7 @@ jobs: - name: build arch docker image run: | - cd ../../ && docker build -f Dockerfile . -t katanemo/plano -t katanemo/plano:0.4.1 -t katanemo/plano:latest + cd ../../ && docker build -f Dockerfile . -t katanemo/plano -t katanemo/plano:0.4.2 -t katanemo/plano:latest - name: start plano env: diff --git a/.github/workflows/e2e_test_currency_convert.yml b/.github/workflows/e2e_test_currency_convert.yml index 380e440c..7470aaeb 100644 --- a/.github/workflows/e2e_test_currency_convert.yml +++ b/.github/workflows/e2e_test_currency_convert.yml @@ -24,7 +24,7 @@ jobs: - name: build plano docker image run: | - docker build -f Dockerfile . -t katanemo/plano -t katanemo/plano:0.4.1 + docker build -f Dockerfile . -t katanemo/plano -t katanemo/plano:0.4.2 - name: install uv run: curl -LsSf https://astral.sh/uv/install.sh | sh diff --git a/.github/workflows/e2e_test_preference_based_routing.yml b/.github/workflows/e2e_test_preference_based_routing.yml index 0c4bfade..8024220b 100644 --- a/.github/workflows/e2e_test_preference_based_routing.yml +++ b/.github/workflows/e2e_test_preference_based_routing.yml @@ -24,7 +24,7 @@ jobs: - name: build arch docker image run: | - docker build -f Dockerfile . -t katanemo/plano -t katanemo/plano:0.4.1 + docker build -f Dockerfile . -t katanemo/plano -t katanemo/plano:0.4.2 - name: install uv run: curl -LsSf https://astral.sh/uv/install.sh | sh diff --git a/.github/workflows/validate_arch_config.yml b/.github/workflows/validate_arch_config.yml index 4614b94c..d711d74f 100644 --- a/.github/workflows/validate_arch_config.yml +++ b/.github/workflows/validate_arch_config.yml @@ -24,7 +24,7 @@ jobs: - name: build arch docker image run: | - docker build -f Dockerfile . -t katanemo/plano -t katanemo/plano:0.4.1 + docker build -f Dockerfile . -t katanemo/plano -t katanemo/plano:0.4.2 - name: validate arch config run: | diff --git a/build_filter_image.sh b/build_filter_image.sh index 617477b0..26058c91 100644 --- a/build_filter_image.sh +++ b/build_filter_image.sh @@ -1 +1 @@ -docker build -f Dockerfile . -t katanemo/plano -t katanemo/plano:0.4.1 +docker build -f Dockerfile . -t katanemo/plano -t katanemo/plano:0.4.2 diff --git a/cli/planoai/__init__.py b/cli/planoai/__init__.py index dbefac1c..8eecc0d7 100644 --- a/cli/planoai/__init__.py +++ b/cli/planoai/__init__.py @@ -1,3 +1,3 @@ """Plano CLI - Intelligent Prompt Gateway.""" -__version__ = "0.4.1" +__version__ = "0.4.2" diff --git a/cli/planoai/consts.py b/cli/planoai/consts.py index ba381a47..5b137fa6 100644 --- a/cli/planoai/consts.py +++ b/cli/planoai/consts.py @@ -2,4 +2,4 @@ import os SERVICE_NAME_ARCHGW = "plano" PLANO_DOCKER_NAME = "plano" -PLANO_DOCKER_IMAGE = os.getenv("PLANO_DOCKER_IMAGE", "katanemo/plano:0.4.1") +PLANO_DOCKER_IMAGE = os.getenv("PLANO_DOCKER_IMAGE", "katanemo/plano:0.4.2") diff --git a/cli/pyproject.toml b/cli/pyproject.toml index 7ab9bea0..f9108178 100644 --- a/cli/pyproject.toml +++ b/cli/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "planoai" -version = "0.4.1" +version = "0.4.2" description = "Python-based CLI tool to manage Plano." authors = [{name = "Katanemo Labs, Inc."}] readme = "README.md" diff --git a/config/validate_plano_config.sh b/config/validate_plano_config.sh index 17a9b4f9..d20b6202 100644 --- a/config/validate_plano_config.sh +++ b/config/validate_plano_config.sh @@ -5,7 +5,7 @@ failed_files=() for file in $(find . -name config.yaml -o -name arch_config_full_reference.yaml); do echo "Validating ${file}..." touch $(pwd)/${file}_rendered - if ! docker run --rm -v "$(pwd)/${file}:/app/arch_config.yaml:ro" -v "$(pwd)/${file}_rendered:/app/arch_config_rendered.yaml:rw" --entrypoint /bin/sh katanemo/plano:0.4.1 -c "python -m planoai.config_generator" 2>&1 > /dev/null ; then + if ! docker run --rm -v "$(pwd)/${file}:/app/arch_config.yaml:ro" -v "$(pwd)/${file}_rendered:/app/arch_config_rendered.yaml:rw" --entrypoint /bin/sh katanemo/plano:0.4.2 -c "python -m planoai.config_generator" 2>&1 > /dev/null ; then echo "Validation failed for $file" failed_files+=("$file") fi diff --git a/demos/use_cases/README.md b/demos/use_cases/README.md index 387bcbe4..d433fea2 100644 --- a/demos/use_cases/README.md +++ b/demos/use_cases/README.md @@ -30,7 +30,7 @@ Start arch gateway, ``` $ planoai up config.yaml # Or if installed with uv: uvx planoai up config.yaml -2024-12-05 11:24:51,288 - planoai.main - INFO - Starting plano cli version: 0.4.1 +2024-12-05 11:24:51,288 - planoai.main - INFO - Starting plano cli version: 0.4.2 2024-12-05 11:24:51,825 - planoai.utils - INFO - Schema validation successful! 2024-12-05 11:24:51,825 - planoai.main - INFO - Starting arch model server and arch gateway ... diff --git a/demos/use_cases/model_choice_with_test_harness/pyproject.toml b/demos/use_cases/model_choice_with_test_harness/pyproject.toml index e72054fc..94cc4ae8 100644 --- a/demos/use_cases/model_choice_with_test_harness/pyproject.toml +++ b/demos/use_cases/model_choice_with_test_harness/pyproject.toml @@ -10,7 +10,7 @@ dependencies = [ "pydantic>=2.0", "openai>=1.0", "pyyaml>=6.0", - "plano>=0.4.1", + "plano>=0.4.2", ] [project.optional-dependencies] diff --git a/demos/use_cases/preference_based_routing/README.md b/demos/use_cases/preference_based_routing/README.md index 65973e67..0b851409 100644 --- a/demos/use_cases/preference_based_routing/README.md +++ b/demos/use_cases/preference_based_routing/README.md @@ -15,9 +15,9 @@ Make sure your machine is up to date with [latest version of plano]([url](https: ```bash (venv) $ planoai up --service plano --foreground # Or if installed with uv: uvx planoai up --service plano --foreground -2025-05-30 18:00:09,953 - planoai.main - INFO - Starting plano cli version: 0.4.1 +2025-05-30 18:00:09,953 - planoai.main - INFO - Starting plano cli version: 0.4.2 2025-05-30 18:00:09,953 - planoai.main - INFO - Validating /Users/adilhafeez/src/intelligent-prompt-gateway/demos/use_cases/preference_based_routing/config.yaml -2025-05-30 18:00:10,422 - cli.core - INFO - Starting arch gateway, image name: plano, tag: katanemo/plano:0.4.1 +2025-05-30 18:00:10,422 - cli.core - INFO - Starting arch gateway, image name: plano, tag: katanemo/plano:0.4.2 2025-05-30 18:00:10,662 - cli.core - INFO - plano status: running, health status: starting 2025-05-30 18:00:11,712 - cli.core - INFO - plano status: running, health status: starting 2025-05-30 18:00:12,761 - cli.core - INFO - plano is running and is healthy! diff --git a/docs/source/conf.py b/docs/source/conf.py index ac8470c0..5c8dd37a 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -17,7 +17,7 @@ from sphinxawesome_theme.postprocess import Icons project = "Plano Docs" copyright = "2025, Katanemo Labs, Inc" author = "Katanemo Labs, Inc" -release = " v0.4.1" +release = " v0.4.2" # -- General configuration --------------------------------------------------- # https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration diff --git a/docs/source/get_started/quickstart.rst b/docs/source/get_started/quickstart.rst index 19df65b4..08ca6472 100644 --- a/docs/source/get_started/quickstart.rst +++ b/docs/source/get_started/quickstart.rst @@ -37,7 +37,7 @@ Plano's CLI allows you to manage and interact with the Plano efficiently. To ins .. code-block:: console - $ uv tool install planoai==0.4.1 + $ uv tool install planoai==0.4.2 **Option 2: Install with pip (Traditional)** @@ -45,7 +45,7 @@ Plano's CLI allows you to manage and interact with the Plano efficiently. To ins $ python -m venv venv $ source venv/bin/activate # On Windows, use: venv\Scripts\activate - $ pip install planoai==0.4.1 + $ pip install planoai==0.4.2 .. _llm_routing_quickstart: @@ -90,7 +90,7 @@ Start Plano: $ planoai up plano_config.yaml # Or if installed with uv tool: uvx planoai up plano_config.yaml - 2024-12-05 11:24:51,288 - planoai.main - INFO - Starting plano cli version: 0.4.1 + 2024-12-05 11:24:51,288 - planoai.main - INFO - Starting plano cli version: 0.4.2 2024-12-05 11:24:51,825 - planoai.utils - INFO - Schema validation successful! 2024-12-05 11:24:51,825 - planoai.main - INFO - Starting plano ... diff --git a/docs/source/resources/deployment.rst b/docs/source/resources/deployment.rst index ad69d886..96167e9d 100644 --- a/docs/source/resources/deployment.rst +++ b/docs/source/resources/deployment.rst @@ -25,7 +25,7 @@ Create a ``docker-compose.yml`` file with the following configuration: # docker-compose.yml services: plano: - image: katanemo/plano:0.4.1 + image: katanemo/plano:0.4.2 container_name: plano ports: - "10000:10000" # ingress (client -> plano)