fleet-memory/skills/hindsight-docs/references/changelog/integrations/litellm.md
Nicolò Boschi a9e6d9f731
test: add unit tests for pg_trgm auto-detection and ValidationResult.accept_with() enrichment (#650)
* test: add unit tests for pg_trgm auto-detection and ValidationResult.accept_with() enrichment

Two recent PRs landed without dedicated tests:
- #626/#649 (pg_trgm fallback in EntityResolver): add 5 mocked unit tests
  covering the trigram→full fallback, single-check guarantee, and sticky
  downgrade behaviour.
- #639 (accept_with() enrichment): add 7 pure unit tests for the factory
  method plus 5 integration tests verifying the engine applies enriched
  contents (retain) and tags/tag_groups (recall) returned by validators.
  Also verifies RecallContext carries tag filter state.

* fix: remove 504 from reflect OpenAPI spec to fix progenitor Rust client build

progenitor-impl-0.11.2 panics with `assertion failed: response_types.len() <= 1`
when an endpoint declares more than one response type. PR #643 added
`responses={504: ...}` to the reflect decorator, which injected a second
response type into the generated OpenAPI spec and broke the Rust client build.

Remove the `responses=` kwarg — the 504 is still raised at runtime via
JSONResponse(status_code=504), it just won't appear in the OpenAPI schema.
Regenerate openapi.json accordingly.

* chore: sync generated files and ruff formatting (lint + docs skill)
2026-03-23 10:33:09 +01:00

1.4 KiB

hide_table_of_contents
true

import PageHero from '@site/src/components/PageHero';

← LiteLLM integration

0.5.0

Features

  • Add streaming support when using the LiteLLM wrapper integration. (665877bb)
  • Add async retain and reflect support, along with a cleaned-up LiteLLM integration API. (1d4879a2)
  • Initial release of the Hindsight LiteLLM integration implementation. (dfccbf29)

Improvements

  • Support sending tags and mission metadata through the LiteLLM integration to improve memory organization and retrieval. (f3c5a9c1)

Bug Fixes

  • When no explicit Hindsight query is provided, the integration now uses the most recent user message as the query to avoid missing/empty memory lookups. (5e8952c5)
  • Fix API key handling by passing the configured api_key through to the Hindsight client in the LiteLLM integration. (c0ca9b02)