Skip to content

Conversation

@Killusions
Copy link
Member

@Killusions Killusions commented Nov 5, 2025

Adds an experimental tool message to display tool-calls, both as a factory component and model-driven support in the ai chat-container. Follow-up of #600 and #998

Describe in detail what your merge request does and why. Add relevant
screenshots and reference related issues via Closes #XY or Related to #XY.


Copilot AI review requested due to automatic review settings November 5, 2025 12:26
@Killusions Killusions requested a review from a team as a code owner November 5, 2025 12:26
@Killusions Killusions mentioned this pull request Nov 5, 2025
1 task
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds AI chat functionality with support for tool message components. The implementation includes a new SiChatContainerComponent that provides a complete chat interface, and a SiToolMessageComponent for displaying tool calls and their results.

Key Changes

  • Added SiToolMessageComponent to display tool messages with collapsible input arguments and output sections
  • Created SiChatContainerComponent as a comprehensive chat interface with support for user, AI, and tool messages
  • Added translation keys for chat container and tool message components

Reviewed Changes

Copilot reviewed 28 out of 28 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
projects/element-ng/chat-messages/si-tool-message.component.ts New component for rendering tool messages with support for loading states and collapsible sections
projects/element-ng/ai-chat/si-chat-container.component.ts Main chat container component with auto-scroll, message handling, and interrupt support
projects/element-ng/translate/si-translatable-keys.interface.ts Added translation keys for new components
src/app/examples/si-ai-chat/si-chat-container.ts Example implementation demonstrating chat container usage
docs/patterns/ai/ai-chat.md Updated documentation with code examples
Test and style files Added comprehensive test coverage and styling

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@github-actions
Copy link

github-actions bot commented Nov 5, 2025

@Killusions Killusions force-pushed the feat/add-experimental-tool-message branch 3 times, most recently from 4c6790c to d8b9f16 Compare November 6, 2025 10:42
@Killusions Killusions self-assigned this Nov 6, 2025
@Killusions Killusions force-pushed the feat/add-experimental-tool-message branch 8 times, most recently from da0ea4e to c701c38 Compare November 7, 2025 18:36
@Killusions Killusions mentioned this pull request Nov 10, 2025
1 task
@Killusions Killusions force-pushed the feat/add-experimental-tool-message branch 2 times, most recently from caf2453 to 9542d9d Compare November 10, 2025 11:02
@Killusions Killusions force-pushed the feat/add-experimental-tool-message branch from 9542d9d to 51aefc7 Compare November 10, 2025 13:33
@github-actions
Copy link

Code Coverage

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.

2 participants