fleet-memory/hindsight-embed/hindsight_embed
Octopus 9e2890ba81
fix(embed): skip profile .env overwrite when config has no HINDSIGHT_API_* keys (#896)
When the daemon is already running, ensure_running() calls _register_profile()
with a config dict using short keys (llm_api_key, llm_provider, etc.) that do
not match the HINDSIGHT_API_* prefix filter. This caused api_config to always
be empty, and create_profile() would overwrite the existing .env with an empty
file on every CLI command.

Add an early return guard so _register_profile() skips the create_profile()
call when api_config is empty, preserving any existing profile configuration.

Fixes #894
2026-04-07 09:28:53 +02:00
..
__init__.py Release v0.4.22 2026-03-31 18:14:59 +02:00
cli.py feat(embed): add programmatic UI (control plane) management (#683) 2026-03-25 14:38:32 +01:00
daemon_client.py feat(embed): add programmatic UI (control plane) management (#683) 2026-03-25 14:38:32 +01:00
daemon_embed_manager.py fix(embed): skip profile .env overwrite when config has no HINDSIGHT_API_* keys (#896) 2026-04-07 09:28:53 +02:00
embed_manager.py feat: HindsightEmbedded python SDK (#293) 2026-02-04 14:41:19 +01:00
profile_manager.py fix: Windows compatibility for hindsight-embed (#867) 2026-04-07 09:15:59 +02:00