Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/e2e_plano_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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.0 -t katanemo/plano:latest

- name: start plano
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/e2e_test_currency_convert.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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.0

- name: install uv
run: curl -LsSf https://astral.sh/uv/install.sh | sh
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/e2e_test_preference_based_routing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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.0

- name: install uv
run: curl -LsSf https://astral.sh/uv/install.sh | sh
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/validate_arch_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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.0

- name: validate arch config
run: |
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,15 +67,15 @@ Plano's CLI allows you to manage and interact with the Plano gateway efficiently
**Option 1: Install planoai with uv (Recommended)**

```console
$ uv tool install planoai==0.4.1
$ uv tool install planoai==0.4.0
```

**Option 2: Install with pip (Traditional)**

```console
$ python3.12 -m venv venv
$ source venv/bin/activate # On Windows, use: venv\Scripts\activate
$ pip install planoai==0.4.1
$ pip install planoai==0.4.0
```

### Use Plano as a LLM Router
Expand Down Expand Up @@ -247,7 +247,7 @@ endpoints:

```sh
$ planoai up plano_config.yaml
2024-12-05 16:56:27,979 - planoai.main - INFO - Starting plano cli version: 0.4.1
2024-12-05 16:56:27,979 - planoai.main - INFO - Starting plano cli version: 0.4.0
2024-12-05 16:56:28,485 - planoai.utils - INFO - Schema validation successful!
2024-12-05 16:56:28,485 - planoai.main - INFO - Starting plano model server and plano gateway
2024-12-05 16:56:51,647 - planoai.core - INFO - Container is healthy!
Expand Down
2 changes: 1 addition & 1 deletion build_filter_image.sh
Original file line number Diff line number Diff line change
@@ -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.0
2 changes: 1 addition & 1 deletion cli/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ source venv/bin/activate

### Step 3: Run the build script
```bash
pip install planoai==0.4.1
pip install planoai==0.4.0
```

## Uninstall Instructions: plano CLI
Expand Down
2 changes: 1 addition & 1 deletion cli/planoai/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
"""Plano CLI - Intelligent Prompt Gateway."""

__version__ = "0.4.1"
__version__ = "0.4.0"
2 changes: 1 addition & 1 deletion cli/planoai/consts.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

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.0")
2 changes: 1 addition & 1 deletion cli/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "planoai"
version = "0.4.1"
version = "0.4.0"
description = "Python-based CLI tool to manage Plano."
authors = [{name = "Katanemo Labs, Inc."}]
readme = "README.md"
Expand Down
702 changes: 350 additions & 352 deletions cli/uv.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion config/validate_plano_config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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.0 -c "python -m planoai.config_generator" 2>&1 > /dev/null ; then
echo "Validation failed for $file"
failed_files+=("$file")
fi
Expand Down
2 changes: 1 addition & 1 deletion demos/use_cases/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.0
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
...
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ dependencies = [
"pydantic>=2.0",
"openai>=1.0",
"pyyaml>=6.0",
"plano>=0.4.1",
"plano>=0.4.0",
]

[project.optional-dependencies]
Expand Down
4 changes: 2 additions & 2 deletions demos/use_cases/preference_based_routing/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.0
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.0
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!
Expand Down
2 changes: 1 addition & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
project = "Plano Docs"
copyright = "2025, Katanemo Labs, Inc"
author = "Katanemo Labs, Inc"
release = " v0.4.1"
release = " v0.4.0"

# -- General configuration ---------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
Expand Down
6 changes: 3 additions & 3 deletions docs/source/get_started/quickstart.rst
Original file line number Diff line number Diff line change
Expand Up @@ -37,15 +37,15 @@ 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.0

**Option 2: Install with pip (Traditional)**

.. code-block:: console

$ 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.0


Build Agentic Apps with Plano
Expand Down Expand Up @@ -270,7 +270,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.0
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
...
Expand Down
2 changes: 1 addition & 1 deletion docs/source/resources/deployment.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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.0
container_name: plano
ports:
- "10000:10000" # ingress (client -> plano)
Expand Down