fleet-memory/hindsight-api/hindsight_api
Anton Evseev d57e8639c5
fix(auth): skip tenant auth for all internal background tasks (#240)
Previously, _authenticate_tenant only skipped extension auth for
internal requests when _current_schema was set to a non-public schema.
This caused async HTTP retain (document upload with async_processing=True)
to fail with AuthenticationError because the worker had no API key and
the schema was "public".

Remove the public-schema guard since internal tasks were already
authenticated at submission time. The worker sets _current_schema from
the task's _schema field for tenant schemas, and it defaults to "public"
for public schema tasks — both are valid.
2026-01-30 09:07:23 +01:00
..
admin feat: new 'worker' service (#176) 2026-01-20 10:17:56 +01:00
alembic fix: misc fixes for observations and mental models (#209) 2026-01-27 15:37:57 +01:00
api fix: /version endpoint return wrong version (#224) 2026-01-29 08:40:01 +01:00
engine fix(auth): skip tenant auth for all internal background tasks (#240) 2026-01-30 09:07:23 +01:00
extensions feat: support different default pg schema (#222) 2026-01-28 18:14:44 +01:00
worker fix: run migrations on tenant schemas at startup and harden worker poller (#237) 2026-01-29 15:03:20 -05:00
__init__.py Release v0.4.2 2026-01-29 17:54:19 +01:00
banner.py fix: doc build and lint files (#34) 2025-12-16 13:49:09 +01:00
config.py feat: support vertex as llm provider (#233) 2026-01-29 16:13:57 -05:00
daemon.py fix: hindsight-embed on macos crashes (#228) 2026-01-29 16:57:51 +01:00
main.py feat: support vertex as llm provider (#233) 2026-01-29 16:13:57 -05:00
mcp_local.py feat(mcp): add timestamp to retain (#190) 2026-01-23 16:00:43 +01:00
mcp_tools.py feat(mcp): add timestamp to retain (#190) 2026-01-23 16:00:43 +01:00
metrics.py feat: add tenant to metrics labels (#151) 2026-01-13 15:31:58 +01:00
migrations.py fix: batch queries on recall (#149) 2026-01-13 13:20:22 +01:00
models.py chore: drop unused access_count column (#178) 2026-01-20 10:36:02 +01:00
pg0.py feat: support vertex as llm provider (#233) 2026-01-29 16:13:57 -05:00
server.py Fix: Load extensions in server.py for multi-worker deployments (#155) 2026-01-13 17:55:33 +01:00