#[0.12.1] - 2026-03-25
Patch release addressing three bugs found during a routine audit.
#Fixed
-
Settings.get_llm_api_key()ignored environment variables set after importSettingsis instantiated as a module-level singleton at import time.get_llm_api_key()previously returned only the field values cached during__init__, so API keys set in environment variables after the module was imported (e.g. in tests, or via dynamic configuration) were silently ignored.get_llm_api_key()now callsos.getenv()at invocation time and uses the result as the primary source, falling back to the cached field value. Affected providers:openai,anthropic,google/gemini,xai/grok. -
LineagePlugin.visualize_lineage()raisedKeyErrorwhen using a graph backendThe Mermaid and DOT diagram exporters accessed lineage item dictionaries with
item["entity_id"]directly. Items returned by the graph backend's BFS traversal carry anode_idkey rather thanentity_id, causing aKeyErrorfor any user of the persistent graph backend path. The in-memory fallback was unaffected.Both exporters now resolve the node identifier with
item.get("node_id") or item.get("entity_id", "unknown"), handling both sources correctly. -
MCP missing-package error logged an incorrect install command
When the MCP SDK was not installed, the error logged
pip install mcpinstead of the correctpip install 'daita-agents[mcp]'. Following the wrong hint installs only the raw SDK without going through daita-agents' extra resolution, which can result in version mismatches.