restructure cli

- move /arch/tools => /cli
- rename /arch -> /config
- update all refs in tests to use /config
- update planoai code with new references
This commit is contained in:
Adil Hafeez 2025-12-25 00:46:13 -08:00
parent a56bb9d190
commit 425acecccc
No known key found for this signature in database
GPG key ID: 9B18EF7691369645
45 changed files with 137 additions and 102 deletions

View file

@ -29,11 +29,11 @@ Start arch gateway,
```
$ planoai up config.yaml
2024-12-05 11:24:51,288 - cli.main - INFO - Starting plano cli version: 0.4.0
2024-12-05 11:24:51,825 - cli.utils - INFO - Schema validation successful!
2024-12-05 11:24:51,825 - cli.main - INFO - Starting arch model server and arch gateway
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
...
2024-12-05 11:25:16,131 - cli.core - INFO - Container is healthy!
2024-12-05 11:25:16,131 - planoai.core - INFO - Container is healthy!
```
### Step 3: Interact with LLM

View file

@ -14,7 +14,7 @@ services:
plano:
build:
context: ../../../
dockerfile: arch/Dockerfile
dockerfile: Dockerfile
ports:
- "12000:12000"
- "8001:8001"

View file

@ -14,8 +14,8 @@ Make sure your machine is up to date with [latest version of plano]([url](https:
2. start plano in the foreground
```bash
(venv) $ planoai up --service plano --foreground
2025-05-30 18:00:09,953 - cli.main - INFO - Starting plano cli version: 0.4.0
2025-05-30 18:00:09,953 - cli.main - INFO - Validating /Users/adilhafeez/src/intelligent-prompt-gateway/demos/use_cases/preference_based_routing/config.yaml
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.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

View file

@ -3,7 +3,7 @@ services:
plano:
build:
context: ../../../
dockerfile: arch/Dockerfile
dockerfile: Dockerfile
ports:
- "12000:12000"
- "8001:8001"