Skip to content

feat(agentchat): add BaseGroupChat.get_thread() for message history#7579

Open
Abdeltoto wants to merge 1 commit intomicrosoft:mainfrom
Abdeltoto:feat/base-group-chat-get-thread-6085
Open

feat(agentchat): add BaseGroupChat.get_thread() for message history#7579
Abdeltoto wants to merge 1 commit intomicrosoft:mainfrom
Abdeltoto:feat/base-group-chat-get-thread-6085

Conversation

@Abdeltoto
Copy link
Copy Markdown

Summary

Implements retrieval of the group chat manager message thread via RPC (fixes / closes #6085).

Changes

  • Add \GroupChatGetThread\ / \GroupChatThreadResponse\ and \handle_get_thread\ on \BaseGroupChatManager\ (FIFO-ordered with other manager messages).
  • Add \BaseGroupChat.get_thread(); with the embedded runtime, temporarily start/stop the runtime when needed so the call works after
    un\ completes.
  • Tests: empty thread before run; thread after run (embedded + external runtime fixtures).

Testing

  • \pytest\ on the new tests (4 parametrized cases) passed locally.

Made with Cursor

…icrosoft#6085)

- Add GroupChatGetThread RPC and GroupChatThreadResponse with manager handler
- Serialize get_thread with FIFO alongside other group chat manager messages
- Start embedded runtime temporarily when needed for RPC after run stops
- Add tests for empty thread before run and thread after run (embedded + external runtime)

Made-with: Cursor
@Abdeltoto
Copy link
Copy Markdown
Author

@microsoft-github-policy-service agree [company="{ta mere l'ia}"]

@Abdeltoto
Copy link
Copy Markdown
Author

@microsoft-github-policy-service agree

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.

Get current message thread from a group chat team.

1 participant