fleet-memory/hindsight-api/hindsight_api/engine/consolidation
Chris Bartholomew 49ae55af03
Switch Vertex AI provider to native genai SDK (#242)
Replace the OpenAI-compatible endpoint approach with the native
google-genai SDK for Vertex AI. This eliminates the custom token
refresher, TokenInjectingTransport, and async lifecycle complexity
while also removing the 8192 output token cap that the OpenAI
endpoint enforced.

Changes:
- vertexai provider now uses genai.Client(vertexai=True) instead of
  AsyncOpenAI with token-injecting transport
- Routes through existing _call_gemini/_call_with_tools_gemini paths
- Strips google/ prefix from model names (native SDK uses bare names)
- Preserves service account key auth via credentials parameter
- Delete vertexai_token_refresher.py (no longer needed)
- Strip markdown code fences in consolidator JSON parsing
- Rewrite vertexai tests for native SDK integration
2026-01-30 08:35:59 +01:00
..
__init__.py feat: revisit mental models, directives and reflections (#179) 2026-01-22 17:13:16 +01:00
consolidator.py Switch Vertex AI provider to native genai SDK (#242) 2026-01-30 08:35:59 +01:00
prompts.py feat: consolidation performance benchmark and optimization (#227) 2026-01-29 11:24:15 +01:00