fleet-memory/hindsight-docs/docs/sdks/integrations
DK09876 d93dfea8ce
fix(llamaindex): document_id, memory API, and ReAct trace fixes (#777)
* fix(llamaindex): use uuid for document_id and sync version metadata

- Replace timestamp-based document_id with uuid4 hex to prevent
  collisions on rapid retains (timestamp_ms can duplicate in tight loops)
- Sync __version__ in __init__.py to match pyproject.toml (0.1.2)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* fix(docs): pass memory to run() instead of ReActAgent constructor

LlamaIndex 0.14.x ReActAgent does not accept a memory parameter in
its constructor — it's silently dropped via **kwargs. Memory must be
passed to agent.run(memory=...) where AgentWorkflow picks it up.

Also fixes the undefined `tools` variable (now `tools=[]`).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* fix(llamaindex): strip ReAct reasoning traces from retained assistant messages

HindsightMemory.put/aput now extracts only the final Answer: text from
assistant messages containing ReAct reasoning (Thought:/Action:/Observation:
prefixes), preventing internal reasoning traces from polluting long-term memory.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* fix(llamaindex): fix docstring example to pass memory to run()

The HindsightMemory class docstring showed the broken pattern of passing
memory= to the ReActAgent constructor, which silently drops it. Updated
to show the correct pattern: pass memory to agent.run().

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-30 18:33:03 +02:00
..
ag2.md docs: add AG2 integration page (#723) 2026-03-27 10:58:42 +01:00
agno.md docs: add 0.4.19 release blog post, Agno and Hermes integration pages (#608) 2026-03-18 17:35:54 +01:00
ai-sdk.mdx doc: add langgraph and nemoclaw (#633) 2026-03-20 16:18:05 +01:00
chat.md doc: add langgraph and nemoclaw (#633) 2026-03-20 16:18:05 +01:00
claude-code.md docs(claude-code): tidy configuration reference and sync README (#706) 2026-03-26 14:07:35 +01:00
codex.md refactor(llamaindex): merge into single hindsight-llamaindex package (#760) 2026-03-30 14:30:48 +02:00
crewai.md doc: add langgraph and nemoclaw (#633) 2026-03-20 16:18:05 +01:00
hermes.md feat(hermes): file-based config + updated docs (#686) 2026-03-25 16:11:38 +01:00
langgraph.md doc: add langgraph and nemoclaw (#633) 2026-03-20 16:18:05 +01:00
litellm.md doc: add langgraph and nemoclaw (#633) 2026-03-20 16:18:05 +01:00
llamaindex.md fix(llamaindex): document_id, memory API, and ReAct trace fixes (#777) 2026-03-30 18:33:03 +02:00
local-mcp.md feat: expand MCP tool surface area with 18 new tools and enhanced parameters (#435) 2026-02-25 10:26:46 +01:00
nemoclaw.md doc: add langgraph and nemoclaw (#633) 2026-03-20 16:18:05 +01:00
openclaw.md feat(openclaw): add recallInjectionPosition config to preserve prompt cache (#710) 2026-03-26 16:09:25 +01:00
pydantic-ai.md doc: add langgraph and nemoclaw (#633) 2026-03-20 16:18:05 +01:00
skills.md Replace waitlist links with direct Hindsight Cloud signup URL (#349) 2026-02-11 20:51:32 +01:00
strands.md feat: add Strands Agents SDK integration with Hindsight memory tools (#659) 2026-03-24 17:21:30 +01:00