Skip to content

Fix empty chat history when switching agents#78

Merged
rogerchappel merged 2 commits into
mainfrom
fix/chat-thread-per-agent
Apr 10, 2026
Merged

Fix empty chat history when switching agents#78
rogerchappel merged 2 commits into
mainfrom
fix/chat-thread-per-agent

Conversation

@rogerchappel
Copy link
Copy Markdown
Owner

Summary

  • load agent thread history from the OpenClaw gateway session instead of the app DB when switching agents
  • keep each agent thread scoped to its own session key so superior/child conversations appear in the correct thread
  • scope chat session reuse by company when persisting new messages

Testing

  • pnpm build
  • pre-push hooks: pnpm typecheck, pnpm build

@rogerchappel rogerchappel merged commit a544b59 into main Apr 10, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant