Skip to content

Conversation

urmauur
Copy link
Member

@urmauur urmauur commented Jul 28, 2025

Describe Your Changes

This pull request introduces support for experimental features in the chat application and includes updates to improve the management of MCP servers. Key changes involve conditional logic updates, test adjustments, and new server management functionality.

Experimental Features Integration:

  • Added experimentalFeatures to the useGeneralSetting hook and updated ChatInput to conditionally enable tools based on this setting. (web-app/src/containers/ChatInput.tsx: [1] [2]
  • Updated tests for ChatInput to mock the experimentalFeatures setting. (web-app/src/containers/__tests__/ChatInput.test.tsx: web-app/src/containers/tests/ChatInput.test.tsxR126)
  • Incorporated experimentalFeatures into the useChat hook to filter available tools based on this setting. (web-app/src/hooks/useChat.ts: [1] [2]

MCP Server Management Enhancements:

Miscellaneous:

Fixes Issues

https://github.com/user-attachments/assets/bcc1ad0a-dee5-4eeb-b3c3-fa4b2ff56779
https://github.com/user-attachments/assets/585b01c2-d787-4f03-b2df-1aa93d11e7bd
https://github.com/user-attachments/assets/d0aeed83-b602-4b6f-9f07-7f9f8d8d5d71

Self Checklist

  • Added relevant comments, esp in complex areas
  • Updated docs (for bug fixes / features)
  • Created issues for follow-up changes or refactoring needed

Important

Integrate experimental features and enhance MCP server management in ChatInput, useChat, and settings routes.

  • Experimental Features Integration:
    • Add experimentalFeatures to useGeneralSetting and update ChatInput to conditionally enable tools based on this setting.
    • Update ChatInput tests to mock experimentalFeatures.
    • Incorporate experimentalFeatures into useChat to filter tools.
  • MCP Server Management Enhancements:
    • Add function to stop all connected MCP servers and update configurations in general.tsx.
    • Integrate server-stopping functionality into experimental features toggle in general.tsx.
    • Update MCP server deletion to ensure servers are stopped before deletion in mcp-servers.tsx.
  • Miscellaneous:
    • Add debug log for MCP servers in mcp-servers.tsx.

This description was created by Ellipsis for bed4ac7. You can customize this summary. It will automatically update as commits are pushed.

@urmauur urmauur moved this to Needs Review in Jan Jul 28, 2025
@urmauur urmauur self-assigned this Jul 28, 2025
@urmauur urmauur added this to the v0.6.6 milestone Jul 28, 2025
@urmauur urmauur requested a review from louis-menlo July 28, 2025 12:51
Copy link
Contributor

@ellipsis-dev ellipsis-dev bot left a comment

Choose a reason for hiding this comment

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

Caution

Changes requested ❌

Reviewed everything up to bed4ac7 in 2 minutes and 24 seconds. Click for details.
  • Reviewed 166 lines of code in 5 files
  • Skipped 0 files when reviewing.
  • Skipped posting 5 draft comments. View those below.
  • Modify your settings and rules to customize what types of comments Ellipsis leaves. And don't forget to react with 👍 or 👎 to teach Ellipsis.
1. web-app/src/containers/ChatInput.tsx:97
  • Draft comment:
    Typo alert: 'handleSendMesage' should be renamed to 'handleSendMessage' for clarity.
  • Reason this comment was not posted:
    Comment was not on a location in the diff, so it can't be submitted as a review comment.
2. web-app/src/containers/__tests__/ChatInput.test.tsx:123
  • Draft comment:
    The test mock now includes the 'experimentalFeatures' flag; this ensures tests mimic the new behavior correctly.
  • Reason this comment was not posted:
    Confidence changes required: 0% <= threshold 50% None
3. web-app/src/hooks/useChat.ts:251
  • Draft comment:
    Good integration: the 'experimentalFeatures' flag is correctly used to filter available tools.
  • Reason this comment was not posted:
    Confidence changes required: 0% <= threshold 50% None
4. web-app/src/routes/settings/general.tsx:432
  • Draft comment:
    The experimental features toggle properly awaits handleStopAllMCPServers before updating state. Confirm that stopping MCP servers on every toggle change is the intended behavior.
  • Reason this comment was not posted:
    Confidence changes required: 0% <= threshold 50% None
5. web-app/src/routes/settings/mcp-servers.tsx:120
  • Draft comment:
    Before deleting a server, it is good practice to attempt deactivation via 'invoke("deactivate_mcp_server", …)'.
  • Reason this comment was not posted:
    Confidence changes required: 0% <= threshold 50% None

Workflow ID: wflow_NVnKFZLFSazcmQvV

You can customize Ellipsis by changing your verbosity settings, reacting with 👍 or 👎, replying to comments, or adding code review rules.

Copy link
Contributor

github-actions bot commented Jul 28, 2025

@urmauur urmauur requested a review from qnixsynapse July 28, 2025 13:42
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
@urmauur urmauur merged commit 1c74bfd into release/v0.6.6 Jul 28, 2025
17 of 20 checks passed
@github-project-automation github-project-automation bot moved this from Needs Review to QA in Jan Jul 28, 2025
@urmauur urmauur deleted the fix/experimental-hidden-tool-call branch July 28, 2025 14:31
@github-actions github-actions bot modified the milestones: v0.6.6, v0.6.7 Jul 28, 2025
@urmauur urmauur modified the milestones: v0.6.7, v0.6.6 Jul 30, 2025
@urmauur urmauur moved this from QA to Done in Jan Jul 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants