diff --git a/examples/ag-ui-research/README.md b/examples/ag-ui-research/README.md index 3925fba1..8d9f0284 100644 --- a/examples/ag-ui-research/README.md +++ b/examples/ag-ui-research/README.md @@ -61,12 +61,17 @@ Research assistant powered by [haiku.rag](https://ggozad.github.io/haiku.rag/), DB_PATH=/path/to/your/existing/haiku_rag.lancedb # If using an existing db. ``` -4. **Start the application** +4. **Pull the base image** + ```bash + docker pull ghcr.io/ggozad/haiku.rag-slim:latest + ``` + +5. **Start the application** ```bash docker compose up --build ``` -5. **Access the interface** +6. **Access the interface** - Frontend: http://localhost:3000 - Backend health: http://localhost:8000/health diff --git a/examples/ag-ui-research/backend/Dockerfile b/examples/ag-ui-research/backend/Dockerfile index e35af656..09647d52 100644 --- a/examples/ag-ui-research/backend/Dockerfile +++ b/examples/ag-ui-research/backend/Dockerfile @@ -7,11 +7,10 @@ COPY main.py agent.py ./ # Install additional dependencies for the example RUN pip install --no-cache-dir \ - starlette>=0.45.2 \ - uvicorn[standard]>=0.34.2 \ - python-dotenv>=1.0.1 + starlette>=0.50.0 \ + uvicorn[standard]>=0.40.0 \ + python-dotenv>=1.2.1 EXPOSE 8000 -# Run with uvicorn CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8000", "--reload"] diff --git a/examples/ag-ui-research/backend/pyproject.toml b/examples/ag-ui-research/backend/pyproject.toml index 1e25ee00..238a5704 100644 --- a/examples/ag-ui-research/backend/pyproject.toml +++ b/examples/ag-ui-research/backend/pyproject.toml @@ -5,15 +5,15 @@ description = "Haiku.rag research assistant with AG-UI protocol support" readme = "README.md" requires-python = ">=3.13" dependencies = [ - "starlette>=0.45.2", - "uvicorn[standard]>=0.34.2", - "pydantic-ai-slim[ag-ui,openai]>=1.17.0", - "python-dotenv>=1.0.1", - "haiku.rag-slim[agui]>=0.20.0", + "starlette>=0.50.0", + "uvicorn[standard]>=0.40.0", + "pydantic-ai-slim[ag-ui,openai]>=1.39.0", + "python-dotenv>=1.2.1", + "haiku.rag-slim[agui]>=0.23.1", ] [dependency-groups] -dev = ["pyright>=1.1.406", "ruff>=0.13.0"] +dev = ["pyright>=1.1.407", "ruff>=0.14.10"] [tool.hatch.metadata] allow-direct-references = true