-
Notifications
You must be signed in to change notification settings - Fork 518
Revert " feat: Add internal builtin tools (read_file, list_files) with compact shimmer rendering" #1899
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
+5
−338
Merged
Revert " feat: Add internal builtin tools (read_file, list_files) with compact shimmer rendering" #1899
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 changes: 0 additions & 24 deletions
24
...on/src/components/markdown/plugins/tool-call/internal-tool-renderers/default-renderer.tsx
This file was deleted.
Oops, something went wrong.
23 changes: 0 additions & 23 deletions
23
...space-common/src/components/markdown/plugins/tool-call/internal-tool-renderers/index.scss
This file was deleted.
Oops, something went wrong.
33 changes: 0 additions & 33 deletions
33
...kspace-common/src/components/markdown/plugins/tool-call/internal-tool-renderers/index.tsx
This file was deleted.
Oops, something went wrong.
22 changes: 0 additions & 22 deletions
22
...src/components/markdown/plugins/tool-call/internal-tool-renderers/list-files-renderer.tsx
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🧩 Analysis chain
🏁 Script executed:
Repository: refly-ai/refly
Length of output: 3883
🏁 Script executed:
Repository: refly-ai/refly
Length of output: 3135
🏁 Script executed:
Repository: refly-ai/refly
Length of output: 1374
🏁 Script executed:
Repository: refly-ai/refly
Length of output: 1225
🏁 Script executed:
Repository: refly-ai/refly
Length of output: 1025
🏁 Script executed:
Repository: refly-ai/refly
Length of output: 5495
🏁 Script executed:
Repository: refly-ai/refly
Length of output: 2868
🏁 Script executed:
Repository: refly-ai/refly
Length of output: 1864
🏁 Script executed:
Repository: refly-ai/refly
Length of output: 2706
🏁 Script executed:
Repository: refly-ai/refly
Length of output: 2653
🏁 Script executed:
Repository: refly-ai/refly
Length of output: 1210
🏁 Script executed:
Repository: refly-ai/refly
Length of output: 2500
🏁 Script executed:
Repository: refly-ai/refly
Length of output: 1413
Clean up or restore
internalflag usage in builtin tools.This is a revert of the internal toolset filtering feature. However, the three builtin tools (
get_time,read_file,execute_code) remain marked withinternal: truein their definitions, while theshouldExposeToolset()method no longer checks this property. Theinternalfield is still defined inToolsetDefinition(in the generated types) but has no runtime effect.Either remove the
internal: trueflags from the tool definitions inpackages/agent-tools/src/builtin/index.ts, or restore the filtering logic inshouldExposeToolset()to respect them. This prevents leaving orphaned metadata that suggests functionality that no longer exists.🤖 Prompt for AI Agents