🛠️ fix: Tool Filtering in PluginsClient (#3266)

* feat(plugins): implement tool filtering in PluginsClient

Add functionality to filter tools based on filteredTools and includedTools
arrays in the request's app locals. This allows for dynamic tool selection
on a per-request basis, enhancing the flexibility of the plugin system.

* test(plugins): add unit tests for tool filtering in PluginsClient

Introduce comprehensive test suite for the new tool filtering feature
in PluginsClient. Cover scenarios including filtering out tools,
including specific tools, prioritization of includedTools over
filteredTools, and behavior when no filters are provided.

* chore: Remove unused legacy Conversation component and update imports
This commit is contained in:
Danny Avila 2024-07-04 10:34:28 -04:00 committed by GitHub
parent 04654014b2
commit 5d985746cb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 102 additions and 157 deletions

View file

@ -1,5 +1,4 @@
export { default as Fork } from './Fork';
export { default as Pages } from './Pages';
export { default as Conversation } from './Conversation';
export { default as RenameButton } from './RenameButton';
export { default as Conversations } from './Conversations';