From b2ccb9faf58e92aff6b8625e988c542ab1d9f767 Mon Sep 17 00:00:00 2001 From: Claude Date: Sun, 22 Feb 2026 14:44:38 +0000 Subject: [PATCH 1/2] fix(deps): add agno[sqlite] extra to pull in sqlalchemy agno ships sqlalchemy as an optional dependency under its `sqlite` extra. Installing bare `agno` (without the extra) left sqlalchemy absent, causing `ModuleNotFoundError: No module named 'sqlalchemy'` on `make dev`. Changing the dependency spec from `agno>=1.4.0` to `agno[sqlite]>=1.4.0` ensures sqlalchemy is installed automatically by `make install`. Also added a troubleshooting entry to README.md for this error. https://claude.ai/code/session_01W8jeKbHYNS75mPhGLYJxVq --- README.md | 3 +++ pyproject.toml | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 34b84b6..3a80e97 100644 --- a/README.md +++ b/README.md @@ -223,6 +223,9 @@ Makefile # Common dev commands **`connection refused` in chat** — run `ollama serve` in a separate terminal +**`ModuleNotFoundError: No module named 'sqlalchemy'`** — re-run install to pick up the updated `agno[sqlite]` dependency: +`make install` + **`ModuleNotFoundError: No module named 'dashboard'`** — activate the venv: `source .venv/bin/activate && pip install -e ".[dev]"` diff --git a/pyproject.toml b/pyproject.toml index 13030d9..4f88f9a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -10,7 +10,7 @@ readme = "README.md" requires-python = ">=3.11" license = { text = "MIT" } dependencies = [ - "agno>=1.4.0", + "agno[sqlite]>=1.4.0", "fastapi>=0.115.0", "uvicorn[standard]>=0.32.0", "jinja2>=3.1.0", From 78f583f3347bdb11498bee732cd543191cfb0d76 Mon Sep 17 00:00:00 2001 From: Claude Date: Sun, 22 Feb 2026 14:51:12 +0000 Subject: [PATCH 2/2] fix(deps): add ollama and openai as explicit dependencies agno's Ollama backend requires both the `ollama` and `openai` packages (it uses the OpenAI-compatible wire format under the hood), but neither was declared as a project dependency. Ran a full import walk of all src modules in a fresh venv to confirm zero missing imports after this change. https://claude.ai/code/session_01W8jeKbHYNS75mPhGLYJxVq --- pyproject.toml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index 4f88f9a..ba3eca5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -11,6 +11,8 @@ requires-python = ">=3.11" license = { text = "MIT" } dependencies = [ "agno[sqlite]>=1.4.0", + "ollama>=0.3.0", + "openai>=1.0.0", "fastapi>=0.115.0", "uvicorn[standard]>=0.32.0", "jinja2>=3.1.0",