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
12 changes: 6 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
python-version: "3.12"
- uses: astral-sh/setup-uv@v6
- name: Sync
run: uv sync --no-sources --group dev --extra test
run: uv sync --group dev --extra test
- name: Ruff
run: uv run ruff check .

Expand All @@ -35,7 +35,7 @@ jobs:
python-version: ${{ matrix.python-version }}
- uses: astral-sh/setup-uv@v6
- name: Sync
run: uv sync --no-sources --group dev --extra test
run: uv sync --group dev --extra test
- name: Pytest
run: uv run python -m pytest

Expand All @@ -48,7 +48,7 @@ jobs:
python-version: "3.12"
- uses: astral-sh/setup-uv@v6
- name: Sync
run: uv sync --no-sources --group dev --extra test
run: uv sync --group dev --extra test
- name: Validate tool-based-memory config
run: uv run nat validate --config_file examples/tool_based_memory/configs/config.yml
- name: Validate agent-auto-memory config
Expand All @@ -67,7 +67,7 @@ jobs:
python-version: "3.12"
- uses: astral-sh/setup-uv@v6
- name: Sync
run: uv sync --no-sources --group dev --extra test
run: uv sync --group dev --extra test
- name: Docker Info
run: docker info
- name: Integration Tests
Expand All @@ -84,7 +84,7 @@ jobs:
python-version: "3.12"
- uses: astral-sh/setup-uv@v6
- name: Sync
run: uv sync --no-sources --group dev --extra test
run: uv sync --group dev --extra test
- name: OpenAI-Backed Integration Tests
env:
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
Expand All @@ -105,7 +105,7 @@ jobs:
python-version: "3.12"
- uses: astral-sh/setup-uv@v6
- name: Build
run: uv build --no-sources
run: uv build
- uses: actions/upload-artifact@v4
with:
name: dist
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
python-version: "3.12"
- uses: astral-sh/setup-uv@v6
- name: Sync
run: uv sync --no-sources --group dev --extra test
run: uv sync --group dev --extra test
- name: Verify
run: make check
- name: Docker Info
Expand All @@ -38,7 +38,7 @@ jobs:
python-version: "3.12"
- uses: astral-sh/setup-uv@v6
- name: Build
run: uv build --no-sources
run: uv build
- uses: actions/upload-artifact@v4
with:
name: dist
Expand Down
7 changes: 0 additions & 7 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,6 @@ For a clean standalone environment:
make setup
```

If you are developing next to a sibling `NeMo-Agent-Toolkit` checkout and want
to use local editable NAT packages:

```bash
make setup-local
```

## Development Workflow

1. Create a branch for your change.
Expand Down
7 changes: 2 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
.PHONY: setup setup-local lint test test-integration test-integration-api validate build check clean
.PHONY: setup lint test test-integration test-integration-api validate build check clean

setup:
uv sync --no-sources --group dev --extra test

setup-local:
uv sync --group dev --extra test

lint:
Expand All @@ -25,7 +22,7 @@ validate:
uv run python examples/agent_auto_memory/run_agent.py --help

build:
uv build --no-sources
uv build

check: lint test validate

Expand Down
13 changes: 2 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,19 +26,10 @@ cd nvidia-nat-redis
uv sync --group dev --extra test
```

If you want a dependency-resolved install without sibling source overrides:

```bash
uv sync --no-sources --group dev --extra test
```

Local development expects a sibling `../NeMo-Agent-Toolkit` checkout because
`tool.uv.sources` points at NAT source packages directly.

## Choose A Surface

- Use `_type: redis_agent_memory_backend` when your workflow already uses NAT memory tools and you want Redis Agent Memory behind the standard `MemoryEditor` contract.
- Use `_type: redis_agent_memory_auto_memory` when you want Redis Agent Memory to own working-memory continuity, prompt hydration, and turn capture on every request. This exposes the richness of Redis Agent Memory in it's fullest form.
- Use `_type: redis_agent_memory_auto_memory` when you want Redis Agent Memory to own working-memory continuity, prompt hydration, and turn capture on every request. This exposes the richness of Redis Agent Memory in its fullest form.

## Integration Modes

Expand Down Expand Up @@ -105,7 +96,7 @@ README.
## Development

```bash
make setup-local
make setup
make lint
make test
make validate
Expand Down
4 changes: 0 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,6 @@ git_describe_command = "git describe --long --first-parent"
managed = true
package = true

[tool.uv.sources]
nvidia-nat-core = { path = "../NeMo-Agent-Toolkit/packages/nvidia_nat_core", editable = true }
nvidia-nat-langchain = { path = "../NeMo-Agent-Toolkit/packages/nvidia_nat_langchain", editable = true }

[tool.pytest.ini_options]
asyncio_mode = "auto"
testpaths = ["tests"]
Expand Down
2 changes: 1 addition & 1 deletion src/nvidia_nat_redis/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@

try:
__version__ = version("nvidia-nat-redis")
except (PackageNotFoundError, TypeError): # pragma: no cover - local editable installs can have partial metadata
except PackageNotFoundError: # pragma: no cover - source-tree usage before installation
__version__ = "0.0.0"
127 changes: 24 additions & 103 deletions uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading