From 8e38a568efbeb4352a51719ed1ff1286ffb3da17 Mon Sep 17 00:00:00 2001 From: Jeroen Schweitzer Date: Sun, 14 Dec 2025 14:56:32 +0100 Subject: [PATCH] fix(memory): add biographer to delegation wrappers (v1.3.1) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Add delegate_to_biographer to household registry delegation map - Was returning raw tools which caused Ollama "invalid message content type: nil" - Add Qdrant host/port to .env.example 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- .env.example | 4 ++++ CHANGELOG.md | 7 +++++++ README.md | 2 +- pyproject.toml | 2 +- src/core/household_registry.py | 4 ++-- 5 files changed, 15 insertions(+), 4 deletions(-) diff --git a/.env.example b/.env.example index 82d9abd..b915aed 100644 --- a/.env.example +++ b/.env.example @@ -25,6 +25,10 @@ REDIS_MEMORY_DB=1 REDIS_BENCHMARK_DB=6 REDIS_TIMEOUT=5 +# Qdrant Configuraton +QDRANT_HOST=qdrant +QDRANT_PORT=6333 + # Logging LOG_LEVEL=INFO ENABLE_BENCHMARKS=true diff --git a/CHANGELOG.md b/CHANGELOG.md index d8ca146..0674617 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [1.3.1] - 2025-12-14 + +### Fixed + +- **Memory**: Add biographer to delegation wrappers (was returning raw tools causing Ollama error) +- **Config**: Add Qdrant host/port to .env.example + ## [1.3.0] - 2025-12-14 ### Fixed diff --git a/README.md b/README.md index 300c68d..e3bd330 100644 --- a/README.md +++ b/README.md @@ -432,7 +432,7 @@ For LLM agent development guidelines and architectural decisions, see [AGENTS.md ## Version -Current version: **1.3.0** - Memory system fixes and Redis config cleanup +Current version: **1.3.1** - Biographer delegation fix --- diff --git a/pyproject.toml b/pyproject.toml index 7000841..22e7925 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "tatlock" -version = "1.3.0" +version = "1.3.1" description = "OpenAI-compatible API with Ollama backend" requires-python = ">=3.12" dependencies = [] diff --git a/src/core/household_registry.py b/src/core/household_registry.py index e0ac085..9373ac2 100644 --- a/src/core/household_registry.py +++ b/src/core/household_registry.py @@ -223,12 +223,12 @@ class HouseholdRegistry: >>> # Returns: [delegate_to_librarian, calculate, datetime, ...] >>> # Instead of: [hybrid_search, search_wiki, create_wiki_page, ... (16 tools)] """ - from src.agents.delegation import delegate_to_librarian + from src.agents.delegation import delegate_to_librarian, delegate_to_biographer # Map of expert names to their delegation wrappers delegation_wrappers = { "librarian": delegate_to_librarian, - # Future: "memory": delegate_to_memory, + "biographer": delegate_to_biographer, # Future: "home_automation": delegate_to_home_automation, }